How to Configure IGMP Snooping and MVR
Command or Action
Step 4
end
Example:
Switch(config)# end
Step 5
copy running-config startup-config
Example:
Switch# copy running-config
startup-config
Related Topics
Default IGMP Snooping Configuration, on page 122
Setting the Snooping Method
Multicast-capable router ports are added to the forwarding table for every Layer 2 multicast entry. The switch
learns of the ports through one of these methods:
• Snooping on IGMP queries, Protocol-Independent Multicast (PIM) packets, and Distance Vector Multicast
• Listening to Cisco Group Management Protocol (CGMP) packets from other routers.
• Statically connecting to a multicast router port using the ip igmp snooping mrouter global configuration
You can configure the switch either to snoop on IGMP queries and PIM/DVMRP packets or to listen to CGMP
self-join or proxy-join packets. By default, the switch snoops on PIM/DVMRP packets on all VLANs. To
learn of multicast router ports through only CGMP packets, use the ip igmp snooping vlan vlan-id mrouter
learn cgmp global configuration command. When this command is entered, the router listens to only CGMP
self-join and CGMP proxy-join packets and to no other CGMP packets. To learn of multicast router ports
through only PIM-DVMRP packets, use the ip igmp snooping vlan vlan-id mrouter learn pim-dvmrp
global configuration command.
If you want to use CGMP as the learning method and no multicast routers in the VLAN are CGMP
proxy-enabled, you must enter the ip cgmp router-only command to dynamically access the router.
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
130
Routing Protocol (DVMRP) packets.
command.
Purpose
To disable IGMP snooping on a VLAN interface, use the
Note
no ip igmp snooping vlan vlan-id global configuration
command for the specified VLAN number.
Returns to privileged EXEC mode.
(Optional) Saves your entries in the configuration file.