Chapter 18
Configuring IGMP Snooping and MVR
To return to the default learning method, use the no ip igmp snooping vlan vlan-id mrouter learn cgmp
global configuration command.
This example shows how to configure IGMP snooping to use CGMP packets as the learning method:
Switch# configure terminal
Switch(config)# ip igmp snooping vlan 1 mrouter learn cgmp
Switch(config)# end
Configuring a Multicast Router Port
To add a multicast router port (add a static connection to a multicast router), use the ip igmp snooping
vlan mrouter global configuration command on the switch.
Beginning in privileged EXEC mode, follow these steps to enable a static connection to a multicast
router:
Command
Step 1
configure terminal
Step 2
ip igmp snooping vlan vlan-id mrouter
interface interface-id
Step 3
end
Step 4
show ip igmp snooping mrouter [vlan vlan-id] Verify that IGMP snooping is enabled on the VLAN interface.
Step 5
copy running-config startup-config
To remove a multicast router port from the VLAN, use the no ip igmp snooping vlan vlan-id mrouter
interface interface-id global configuration command.
This example shows how to enable a static connection to a multicast router:
Switch# configure terminal
Switch(config)# ip igmp snooping vlan 200 mrouter interface gigabitethernet0/2
Switch(config)# end
OL-8603-04
Purpose
Enter global configuration mode.
Specify the multicast router VLAN ID and the interface to the
multicast router.
The VLAN ID range is 1 to 1001 and 1006 to 4094.
•
•
The interface can be a physical interface or a port channel.
The port-channel range is 1 to 6.
Return to privileged EXEC mode.
(Optional) Save your entries in the configuration file.
Catalyst 2960 Switch Software Configuration Guide
Configuring IGMP Snooping
18-9