IGMP snooping > Example

XConfigure switch 1

Switch 1 is configured with IGMP, which makes it the IGMP Querier in this network. It is best practice to make the Querier the closest switch to the multicast source, and in this example switch 1 is closest. For more information about queriers see "Multiple potential IGMP queriers" on page 15.

set system name="Switch 1"

#VLAN general configuration create vlan=vlan100 vid=100 add vlan=100 port=1-52

#IP configuration

enable

ip

add ip

int=vlan100 ip=172.31.0.254 mask=255.255.255.0

enable

ip igmp

enable

ip igmp int=vlan100

#STP general configuration enable stp=default

set stp=default mode=rapid

set stp=default port=1 edgeport=yes

XConfigure switch 2

Switch 2 is an IGMP Snooper. It forwards multicast packets and IGMP messages as required. IGMP snooping is enabled by default and does not need any configuration.

set system name="Switch 2"

#VLAN general configuration create vlan=vlan100 vid=100 add vlan=100 port=1-26

#STP general configuration enable stp=default

set stp=default mode=rapid set stp port=2 edgeport=yes

XConfigure switch 3

Switch 3 is also an IGMP Snooper. It forwards multicast packets and IGMP messages as required. IGMP snooping is enabled by default and does not need any configuration.

set system name="Switch 3"

#VLAN general configuration create vlan=vlan100 vid=100 add vlan=100 port=1-26

#STP general configuration enable stp=default

set stp=default mode=rapid set stp port=3 edgeport=yes

Page 10 AlliedWare™ OS How To Note: IGMP

Page 10
Image 10
Allied Telesis AR400 manual Configure switch, AlliedWare OS How To Note Igmp