Examples:
To return the CPT system to its default settings, use the no mvr [type type| immediate | vlan vlan-id] command in the interface configuration mode.
This example shows how to configure an EFP as a receiver and receive multicast traffic sent to the multicast group address. It also shows how to enable Immediate Leave on the receiver EFP and verify the results.
Router(config)# interface TengigabitEthernet 6/3
Router(config-if)# service instance 100 ethernet
Router(config-if-srv)# encapsulation dot1q 10
Router(config-if-srv)# rewrite ingress tag pop 1 symmetric
Router(config-if-srv)# bridge-domain 100
Router(config-if-srv)# mvr type receiver bridge-domain 22 immediate
end
Router(config)#show mvr receiver
This example shows how to disable MVR on the receiver EFP.
Router(config)# interface TengigabitEthernet 6/3
Router(config-if)# service instance 100 ethernet
Router(config-if-srv)# no mvr type receiver bridge-domain 22 immediate
Router(config-if-srv)# no service instance 100 ethernet
This example shows how to configure an EFP as a receiver with encapsulation range, and receive multicast traffic sent to the multicast group address. It also shows how to enable Immediate Leave on the receiver EFP.
Router(config)# interface gi36/1
Router(config-if)# service instance 10 ethernet
Router(config-if-srv)# encapsulation dot1q 100-1000
Router(config-if-srv)# rewrite ingress tag push dot1q 100 symmetric
Router(config-if-srv)# bridge-domain 100
Router(config-if-srv)# mvr type receiver bridge-domain 22 immediate vlan 200
This example shows how to configure an EFP as a receiver with encapsulation ID, and receive multicast traffic sent to the multicast group address. It also shows how to enable Immediate Leave on the receiver EFP.
Router(config)# interface gi36/2
Router(config-if)# service instance 10 ethernet
Router(config-if-srv)# encapsulation dot1q 10
Router(config-if-srv)# rewrite ingress tag push dot1q 100 symmetric
Router(config-if-srv)# bridge-domain 100
Router(config-if-srv)# mvr type receiver bridge-domain 22 immediate
This example shows how to enable MVR on the source EFP.
Router(config)# TengigabitEthernet 6/3
Router(config-if)# service instance 100 ethernet
Router(config-if-srv)# encapsulation dot1q 12
Router(config-if-srv)# rewrite ingress tag pop 1 symmetric
Router(config-if-srv)# bridge-domain 22
Router(config-if-srv)# mvr type source
This example shows how to disable MVR on the source EFP.
Router(config)# TengigabitEthernet 6/3
Router(config-if)# service instance 100 ethernet
Router(config-if-srv)# no mvr type source
Router(config-if-srv)# no service instance 100 ethernet
This example shows how to enable MVR on the bridge domains and configure source MVR EFPs and receiver MVR EFPs.
! Enabling MVR on the bridge domain 22 and bridge domain 30.
Router(config)# bridge-domain 22
Router(config-bdomain)# mvr
Router(config-bdomain)# mvr group 225.0.0.1 5
Router(config-bdomain)# end
Router(config)# bridge-domain 30
Router(config-bdomain)# mvr
Router(config-bdomain)# mvr group 226.0.0.1 5
! Configuring source EFP on the bridge domain 22.
Router(config)# TengigabitEthernet 6/3
Router(config-if)# service instance 100 ethernet
Router(config-if-srv)# encapsulation dot1q 12
Router(config-if-srv)# rewrite ingress tag pop 1 symmetric
Router(config-if-srv)# bridge-domain 22
Router(config-if-srv)# mvr type source
! Configuring receiver EFP on the bridge domain 50.
Router(config)# interface TengigabitEthernet 5/3
Router(config-if)# service instance 100 ethernet
Router(config-if-srv)# encapsulation dot1q 10
Router(config-if-srv)# rewrite ingress tag pop 1 symmetric
Router(config-if-srv)# bridge-domain 50
Router(config-if-srv)# mvr type receiver bridge-domain 22 immediate
! Configuring source EFP on the bridge domain 30.
Router(config)# TengigabitEthernet 4/3
Router(config-if)# service instance 100 ethernet
Router(config-if-srv)# encapsulation dot1q 12
Router(config-if-srv)# rewrite ingress tag pop 1 symmetric
Router(config-if-srv)# bridge-domain 30
Router(config-if-srv)# mvr type source
! Configuring receiver EFP on the bridge domain 60.
Router(config)# interface TengigabitEthernet 2/3
Router(config-if)# service instance 100 ethernet
Router(config-if-srv)# encapsulation dot1q 10
Router(config-if-srv)# rewrite ingress tag push dot1q 100 symmetric
Router(config-if-srv)# bridge-domain 60
Router(config-if-srv)# mvr type receiver bridge-domain 30 immediate
! Configuring receiver EFP on the bridge domain 60 encapsulation range.
Router(config)# interface TengigabitEthernet 2/4
Router(config-if)# service instance 200 ethernet
Router(config-if-srv)# encapsulation dot1q 10-1000
Router(config-if-srv)# bridge-domain 60
Router(config-if-srv)# mvr type receiver bridge-domain 30 immediate vlan 20