DES-7200 Configuration Guide Chapter 8 IGMP Snooping
Configuration
8-32
groups that can be joined on the port directly connected with Receiver 3 (Fa 0/4).
Enable fast leave on the device running IGMP Snooping (Switch B).
Configure IGMP Snooping report suppression on the 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
! Configure the SVI and VLAN 1 and configure multicast routing protocol on SVI.
SwitchA(config)#interface vlan 1
SwitchA(config-if-VLAN 1)#ip address 192.168.1.1 255.255.255.0
SwitchA(config-if-VLAN 1)#ip pim dense-mode
SwitchA(config-if-VLAN 1)#exit
! Configure port Gi 0/2 as a trunk port for connecting layer-2 multicast device.
SwitchA(config)#interface gigabitEthernet 0/2
SwitchA(config-if-GigabitEthernet 0/2)#switchport mode trunk
SwitchA(config-if-GigabitEthernet 0/2)#exit
Step 2: Enable IGMP Snooping on layer-2 multicast device and configure router
port.
! On Switch B, globally configure IGMP Snooping to operate in IVGL mode and
configure Fa 0/1 as the router port of VLAN 1.
SwitchB(config)#ip igmp snooping ivgl
SwitchB(config)#ip igmp snooping vlan 1 mrouter interface fastEthernet 0/1
Step 3: Configure the ports connecting with Receiver 1, Receiver 2 and Receiver
3.
! Configure port Fa 0/2 as the static member port of VLAN 1 with group address
being 224.1.1.1.
SwitchB(config)#ip igmp snooping vlan 1 static 224.1.1.1 interface fastEthernet
0/2
! Configure IGMP Profile1 to receive only the IP multicast traffic with group
address falling within 225.1.1.1-226.1.1.1 and apply to port Fa 0/3.
SwitchB(config)#ip igmp profile 1
SwitchB<config-profile>#permit
SwitchB<config-profile>#range 225.1.1.1 226.1.1.1
SwitchB<config-profile>#exit
SwitchB(config)#interface fastEthernet 0/3
SwitchB(config-if-FastEthernet 0/3)#ip igmp snooping filter 1
SwitchB(config-if-FastEthernet 0/3)#exit
! Configure that port Fa 0/4 can be joined by up to 100 multicast groups.
SwitchB(config)#interface fastEthernet 0/4
SwitchB(config-if-FastEthernet 0/4)#ip igmp snooping max-groups 100
SwitchB(config-if-FastEthernet 0/4)#exit
Step 4: On layer-2 device, configure that all access sports can quickly leave a
certain IP multicast group and enable IGMP report suppression.
! Enable fast leave on Switch B.
SwitchB(config)#ip igmp snooping fast-leave enable