Switching Configuration 31
CLI Examples
The following examples show commands to use with the IGMP Snooping feature.
Example #1: Enable IGMP Snooping on the Switch
NOTE: Before you enable IGMP Snooping on the switch, you must enable the filtering of multicast addresses with
the bridge multicast filtering command.
console(config)#bridge multicast filtering
console(config)#ip igmp snooping
Example #2: Enable IGMP Snooping on an Interface
console(config)#interface ethernet 1/g1
console(config-if-1/g1)#ip igmp snooping ?
host-time-out Configure host time out parameter.
leave-time-out Configure leave time out parameter.
mrouter-time-out Configure mrouter time out parameter.
<cr> Press enter to execute the command.
console(config-if-1/g1)#ip igmp snooping
console(config-if-1/g1)#exit
Example #3: Show IGMP Snooping Information for the Switch
console#show ip igmp snooping
Admin Mode..................................... Enable
Multicast Control Frame Count.................. 0
Interfaces Enabled for IGMP Snooping........... 1/g1
Vlans enabled for IGMP snooping................ None
Example #4: Show IGMP Snooping Information for an Interface
console#show ip igmp snooping interface ethernet 1/g1
Slot/Port...................................... 1/g1
Global IGMP Snooping Admin Mode................ Enabled
IGMP Snooping Admin Mode....................... Enabled
Fast Leave Mode................................ Disabled
Group Membership Interval...................... 260
Max Response Time.............................. 10
Multicast Router Present Expiration Time....... 300