Configuring Layer 2 Multicast
Configuration Examples
Configuration Guide
361
4) Click
Save Config
to save the settings.
5.3.4 Using the CLI
1) Enable IGMP Snooping Globally.
Switch#configure
Switch(config)#ip igmp snooping
2) Configure Unknown Multicast as Discard globally.
Switch(config)#ip igmp snooping drop unknown
3) Enable IGMP Snooping on port 1/0/2 and enable Fast Leave. On port 1/0/4, enable IGMP
Snooping.
Switch(config)#interface gigabitEthernet 1/0/2
Switch(config-if)#ip igmp snooping
Switch(config-if)#ip igmp snooping immediate-leave
Switch(config-if)#exit
Switch(config)#interface gigabitEthernet 1/0/4
Switch(config-if)#ip igmp snooping
Switch(config-if)#exit
4) Enable IGMP Snooping in VLAN 10.
Switch(config)#ip igmp snooping vlan-config 10
5) Save the settings.
Switch(config)#end
Switch#copy running-config startup-config
Verify the Configurations
Show global settings of IGMP Snooping:
Switch(config)#show ip igmp snooping
IGMP Snooping :Enable
Unknown Multicast :Discard
Last Query Times :2
Last Query Interval :1
Global Member Age Time :260
Global Router Age Time :300