SNR S2940-8G-v2 Switch Configuration Guide
Multicast VLAN
2. Configure the IGMP Snooping
Command Explanation
Global Mode
ip igmp snooping vlan <vlan-id>
no ip igmp snooping vlan <vlan-
id>
Enable the IGMP Snooping function on the multicast VLAN.
The no form of this command disables the IGMP Snooping
on the multicast VLAN.
ip igmp snooping
no ip igmp snooping
Enable the IGMP Snooping function. The no form of this
command disables the IGMP snooping function.
42.3 Multicast VLAN Examples
Figure 42.1: Function configuration of the Multicast VLAN
As shown in the figure, WORKSTATION (multicast server) is connected to the layer 3 switch
switchA through port 1/0/1 which belongs to the VLAN10 of the switch. The layer 3 switch switchA
is connected with layer 2 switches through the port1/0/10, which configured as trunk port. On the
switchB the VLAN100 is configured set to contain port1/0/15, and VLAN101 to contain port1/0/20.
PC1 and PC2 are respectively connected to port 1/0/15 and 1/0/20. The switchB is connected with
the switchA through port1/0/10, which configured as trunk port. VLAN 20 is a multicast VLAN. By
configuring multicast vlan, the PC1 and PC2 will receives the multicast data from the multicast
VLAN.
Following configuration is based on the IP address of the switch has been configured and all
the equipment are connected correctly.
Configuration procedure
SwitchA#config
SwitchA(config)#vlan 10
SwitchA(config-vlan10)#switchport access ethernet 1/0/1
SwitchA(config-vlan10)exit
SwitchA(config)#interface vlan 10
Switch(Config-if-Vlan10)#ip pim dense-mode
Switch(Config-if-Vlan10)#exit
SwitchA(config)#vlan 20
SwitchA(config-vlan20)#exit
276