Chapter 11
Configuring IGMP Snooping and MVR
Beginning in privileged EXEC mode, follow these steps to alter the method in which a VLAN interface
dynamically accesses a multicast router:
Command
Step 1
configure terminal
Step 2
ip igmp snooping vlan vlan-id mrouter
learn {cgmp | pim-dvmrp}
Step 3
end
Step 4
show ip igmp snooping
Step 5
copy running-config startup-config
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
Switch# show ip igmp snooping vlan 1
vlan 1
----------
IGMP snooping is globally enabled
IGMP snooping is enabled on this Vlan
IGMP snooping immediate-leave is disabled on this Vlan
IGMP snooping mrouter learn mode is cgmp on this Vlan
IGMP snooping is running in IGMP_ONLY mode on this Vlan
To return to the default learning method, use the no ip igmp snooping vlan vlan-id mrouter learn cgmp
global configuration command.
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.
Static connections to multicast routers are supported only on switch ports.
Note
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
78-11194-03
Purpose
Enter global configuration mode.
Enable IGMP snooping on a VLAN. The VLAN ID range is 1 to 1001.
Specify the multicast router learning method:
•
cgmp—Listen for CGMP packets. This method is useful for
reducing control traffic.
pim-dvmrp—Snoop on IGMP queries and PIM-DVMRP
•
packets. This is the default.
Return to privileged EXEC mode.
Verify the configuration.
(Optional) Save your entries in the configuration file.
Purpose
Enter global configuration mode.
Specify the multicast router VLAN ID (1 to 1001), and specify
the interface to the multicast router.
Return to privileged EXEC mode.
Catalyst 3550 Multilayer Switch Software Configuration Guide
Configuring IGMP Snooping
11-7