DES-7200 Configuration Guide Chapter 8 IGMP Snooping
Configuration
8-35
Achieve layer-3 multicast routing on Switch A, and on Switch B, multicast traffic
won't be broadcasted on VLAN but sent to the specified receiver.
On Switch B, specify that IP multicast traffic with multicast address falling within
224.1.1.1-226.1.1.1 can be forwarded across VLAN, while other IP multicast
traffic can only be forwarded to the member ports belonging to the same VLAN.
On Switch B, only IP multicast traffic received by the router port will be forwarded,
and IP multicast traffic received by non-router port will be blocked.
Configuration Tips
On the multicast routing device (Switch A), enable multicast routing and
forwarding and configure multicast routing protocol on the corresponding layer-3
interface (Gi 0/1 and VLAN 10, VLAN 20 and VLAN 30); on the layer-2 multicast
device (Switch B), configure IGMP Snooping to operate in IVGL-SVGL mode; the
router port can be generated dynamically or configured statically (configure port
Gi 0/1 as the static router port).
On the layer-2 multicast device (Switch B) running IGMP Snooping, specify a
VLAN as Share VLAN (VLAN 10) and configure the multicast address range
(224.1.1.1-226.1.1.1) of Share VLAN, so that IP multicast traffic falling within this
multicast address range can be forwarded across VLAN. By default, IP multicast
traffic related to other address ranges can only be forwarded within the same
VLAN.
Enable source port check on the layer-2 multicast device running IGMP Snooping
(Switch B).
Configuration Steps
Step 1: Configure multicast routing on the multicast routing device.
! Globally enable multicast routing and forwarding on Switch A.
SwitchA#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
SwitchA(config)#ip multicast-routing
! Configure port Gi 0/1 of Switch A as a router port for connecting multicast source
and configure the multicast routing protocol
SwitchA(config)#interface gigabitEthernet 0/1
SwitchA(config-if-GigabitEthernet 0/1)#no switchport
SwitchA(config-if-GigabitEthernet 0/1)#ip address 10.1.1.2 255.255.255.0
SwitchA(config-if-GigabitEthernet 0/1)#ip pim dense-mode
SwitchA(config-if-GigabitEthernet 0/1)#exit
! On Switch A, configure the SVI of VLAN 10, VLAN 20 and VLAN 30, and
configure multicast routing protocol on SVI.
SwitchA(config)#vlan 10
SwitchA(config-vlan)#exit
SwitchA(config)#interface vlan 10
SwitchA(config-if-VLAN 10)#ip address 192.168.1.1 255.255.255.0
SwitchA(config-if-VLAN 10)#ip pim dense-mode
SwitchA(config-if-VLAN 10)#exit
SwitchA(config)#vlan 20
SwitchA(config-vlan)#exit
SwitchA(config)#interface vlan 20
SwitchA(config-if-VLAN 20)#ip address 192.168.2.1 255.255.255.0
SwitchA(config-if-VLAN 20)#ip pim dense-mode
SwitchA(config-if-VLAN 20)#exit
SwitchA(config)#vlan 30
SwitchA(config-vlan)#exit
SwitchA(config)#interface vlan 30
SwitchA(config-if-VLAN 30)#ip address 192.168.3.1 255.255.255.0
SwitchA(config-if-VLAN 30)#ip pim dense-mode
SwitchA(config-if-VLAN 30)#exit