Allied Telesis AR400 manual X Configure switch, types command

Models: AR400

1 110
Download 110 pages 38.09 Kb
Page 36
Image 36
types command:

IGMP filtering (controlling multicast distribution) > Example

XConfigure switch 1

Switch 1—the closest switch to the multicast source—is an IGMP Querier. The filter is configured on it, as shown in bold in the script below.

Note that the order of entries in a filter is important. When IGMP tries to match a message to a filter, it performs a linear search of the filter to find a matching entry, starting with the lowest-numbered entry. It stops processing the filter at the first match it finds. Therefore, this filter has an entry with one multicast group and an action of exclude, followed by an entry with all multicast groups and an (implicit) action of include.

Different Also note that in software versions 2.8.1 and later, each entry filters only one type of IGMP message message. To control the type of message, use the msgtype parameter in the following

types command:

add igmp filter=filter-idgroupaddress={ipaddipadd-ipadd} [entry=1..65535] [action={includeexclude}] [msgtype={query reportleave}]

In software version 2.8.1, this parameter is mandatory. Since software versions 281-01 and 2.9.1, the parameter is optional with a default of report. In this example we are filtering Reports, so we do not need to specify the message type.

set system name="Switch 1"

#STP general configuration enable stp=default

set stp=default mode=rapid

set stp=default port=1 edgeport=yes

#VLAN general configuration

create vlan=vlan100 vid=100 add vlan=100 port=1-52

# Switching configuration

set switch port=1 igmpfilter=1

#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 create igmp filter=1

add igmp filter=1 entry=1 group=224.0.1.22 action=exclude add igmp filter=1 entry=2 group=224.0.0.0-239.255.255.255

Page 36 AlliedWare™ OS How To Note: IGMP

Page 36
Image 36
Allied Telesis AR400 manual X Configure switch, types command