17-5
Software Configuration Guide—Release 12.2(25)SG
OL-7659-03
Chapter17 Configuring IGMP Snooping and Filtering
Configuring IGMP Snooping
Enabling IGMP Snooping
To enable IGMP snooping globally, perform this task:
This example shows how to enable IGMP snooping globally and verify the configuration:
Switch(config)# ip igmp snooping
Switch(config)# end
Switch# show ip igmp snooping
Global IGMP Snooping configuration:
-----------------------------------
IGMP snooping : Enabled
IGMPv3 snooping : Enabled
Report suppression : Enabled
TCN solicit query : Disabled
TCN flood query count : 2
Vlan 1:
--------
IGMP snooping : Enabled
IGMPv2 immediate leave : Disabled
Explicit host tracking : Enabled
Multicast router learning mode : pim-dvmrp
CGMP interoperability mode : IGMP_ONLY
Vlan 2:
--------
IGMP snooping : Enabled
IGMPv2 immediate leave : Disabled
Explicit host tracking : Enabled
Multicast router learning mode : pim-dvmrp
CGMP interoperability mode : IGMP_ONLY
To enable IGMP snooping on a VLAN, perform this task:
Command Purpose
Step1 Switch(config)# [no] ip igmp snooping Enables IGMP snooping.
Use the no keyword to disable IGMP snooping.
Step2 Switch(config)# end Exits configuration mode.
Step3 Switch# show ip igmp snooping | include Verifies the configuration.
Command Purpose
Step1 Switch(config)# [no] ip igmp snooping vlan
vlan_ID
Enables IGMP snooping.
Use the no keyword to disable IGMP snooping.
Step2 Switch(config)# end Exits configuration mode.
Step3 Switch# show ip igmp snooping vlan
vlan_ID
Verifies the configuration.