443
Configuring IGMP Snooping and MVR
Configuration Examples for IGMP Snooping
Enabling IGMP Immediate Leave: Example
This example shows how to enable IGMP Immediate Leave on VLAN 130:
Switch# configure terminal
Switch(config)# ip igmp snooping vlan 130 immediate-leave
Switch(config)# end
Setting the IGMP Snoopng Querier Parameters: Examples
This example shows how to set the IGMP snooping querier source address to 10.0.0.64:
Switch# configure terminal
Switch(config)# ip igmp snooping querier 10.0.0.64
Switch(config)# end
This example shows how to set the IGMP snooping querier maximum response time to 25 seconds:
Switch# configure terminal
Switch(config)# ip igmp snooping querier query-interval 25
Switch(config)# end
This example shows how to set the IGMP snooping querier timeout to 60 seconds:
Switch# configure terminal
Switch(config)# ip igmp snooping querier timeout expiry 60
Switch(config)# end
This example shows how to set the IGMP snooping querier feature to version 2:
Switch# configure terminal
Switch(config)# no ip igmp snooping querier version 2
Switch(config)# end
Enabling MVR: Examples
This example shows how to enable MVR, configure the group address, set the query time to 1 second (10 tenths), specify
the MVR multicast VLAN as VLAN 22, and set the MVR mode as dynamic:
Switch(config)# mvr
Switch(config)# mvr group 228.1.23.4
Switch(config)# mvr querytime 10
Switch(config)# mvr vlan 22
Switch(config)# mvr mode dynamic
Switch(config)# end
You c an use the show mvr members privileged EXEC command to verify the MVR multicast group addresses on the
switch.
This example shows how to configure a port as a receiver port, statically configure the port to receive multicast traffic
sent to the multicast group address, configure Immediate Leave on the port, and verify the results:
Switch(config)# mvr
Switch(config)# interface GigabitEthernet1/18
Switch(config-if)# mvr type receiver
Switch(config-if)# mvr vlan 22 group 228.1.23.4
Switch(config-if)# mvr immediate
Switch(config)# end
Switch# show mvr interface
Port Type Status Immediate Leave