17-6
Software Configuration Guide—Release 12.2(25)SG
OL-7659-03
Chapter17 Configuring IGMP Snooping and Filtering
Configuring IGMP Snooping
This example shows how to enable IGMP snooping on VLAN 2 and verify the configuration:
Switch# configure terminal
Switch(config)# ip igmp snooping vlan 2
Switch(config)# end
Switch# show ip igmp snooping vlan 2
Global IGMP Snooping configuration:
-----------------------------------
IGMP snooping : Enabled
IGMPv3 snooping : Enabled
Report suppression : Enabled
TCN solicit query : Disabled
TCN flood query count : 2
Vlan 2:
--------
IGMP snooping : Enabled
IGMPv2 immediate leave : Disabled
Explicit host tracking : Enabled
Multicast router learning mode : pim-dvmrp
CGMP interoperability mode : IGMP_ONLY
Configuring Learning Methods
The following sections describe IGMP snooping learning metho ds:
Configuring PIM/DVMRP Learning, page 17-6
Configuring CGMP Learning, page 17-6

Configuring PIM/DVMRP Learning

To configure IGMP snooping to learn from PIM/DVMRP packets, perform this task:
This example shows how to configure IP IGMP snooping to learn from PIM/DVMRP packets:
Switch(config)# ip igmp snooping vlan 1 mrouter learn pim-dvmrp
Switch(config)# end
Switch#

Configuring CGMP Learning

To configure IGMP snooping to learn from CGMP self-join packets, perform this task:
Command Purpose
Switch(config)# ip igmp snooping vlan
vlan_ID
mrouter learn [cgmp | pim-dvmrp]
Specifies the learning method for the VLAN.
Command Purpose
Switch(config)# ip igmp snooping vlan
vlan_ID
mrouter learn [cgmp | pim-dvmrp]
Specifies the learning method for the VLAN.