Configuring Layer 2 Multicast
Configuration Examples
Configuration Guide
349
Figure 5-6
Enable IGMP Snooping in the VLAN
6) Click
Save Config
to save the settings.
5.1.4 Using the CLI
1) Enable IGMP Snooping globally.
Switch#configure
Switch(config)#ip igmp snooping
2) Enable IGMP Snooping on port 1/0/1-4.
Switch(config)#interface range gigabitEthernet 1/0/1-4
Switch(config-if-range)#ip igmp snooping
Switch(config-if-range)#exit
3) Create VLAN 10.
Switch(config)#vlan 10
Switch(config-vlan)#name vlan10
Switch(config-vlan)#exit
4) Add port 1/0/1-3 to VLAN 10 and set the link type as untagged. Add port 1/0/4 to VLAN
10 and set the link type as tagged.
Switch(config)#interface range gigabitEthernet 1/0/1-3
Switch(config-if-range)#switchport general allowed vlan 10 untagged