28-7
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
 
Chapter 28      Configuring IGMP Snooping and Filtering, and MVR
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 methods:
• Configuring PIM/DVMRP Learning, page 28-7
• Configuring CGMP Learning, page 28-7
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# configure terminal
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.