21-10
Catalyst 6500 Series Switch Cisco IOS Software Configuration Guide—Release 12.1 E
78-14099-04
Chapter 21 Configuring IGMP Snooping
Configuring IGMP Snooping
Configuring IGMP Snooping Learning
To configure IGMP snooping learning, perform this task:
This example shows how to configure IP IGMP snooping to learn from PIM/DVMRP packets:
Router(config)# interface vlan 1
Router(config-if)# ip igmp snooping mrouter learn pim-dvmrp
Router(config-if)# end
Router#
This example shows how to configure IP IGMP snooping to learn from CGMP self-join packets:
Router(config)# interface vlan 1
Router(config-if)# ip igmp snooping mrouter learn cgmp
Router(config-if)# end
Router#
Configuring a Multicast Router Port Statically
To configure a static connection to a multicast router, perform this task:
With Release 12.1(11b)E2 and later releases, you can enter the disable-snooping keyword to prevent
multicast traffic addressed to the statically configured multicast MAC address from also being sent to
other multicast router ports in the same VLAN.
This example shows how to configure a static connection to a multicast router:
Router(config)# mac-address-table static 0050.3e8d.6400 vlan 12 interface fastethernet 5/7
All releases support the mac-address-table static command. The ip igmp snooping mrouter interface
command, which was available in earlier releases and which provided the same functionality as the
mac-address-table static command, is deprecated in Release 12.1(13)E and later releases.
Command Purpose
Step 1 Router(config)# interface vlan vlan_ID Selects a VLAN interface.
Step 2 Router(config-if)# ip igmp snooping mrouter learn
{cgmp | pim-dvmrp}
Configures the learning method.
Router(config-if)# no ip igmp snooping mrouter
learn {cgmp | pim-dvmrp}
Reverts to the default learning method.
Command Purpose
Step 1 Router(config)# mac-address-table static mac_addr
vlan vlan_id interface type1 slot/port
[disable-snooping]
1. type = ethernet, fastethernet, gigabitethernet, or tengigabitethernet
Configures a static connection to a multicast router.
Router(config)# no mac-address-table static
mac_addr vlan vlan_id
Clears a static connection to a multicast router.
Step 2 Router(config-if)# end Exits configuration mode.
Step 3 Router# show mac-address-table address mac_addr Verifies the configuration.