Allied Telesis AT-9900 用户手册

下载
页码 232
60
Internet Group Management Protocol (IGMP) Enhancements
Release Note
Software Version 2.8.1
C613-10477-00 REV B
Command Reference Updates
This section describes each new command and the changed portions of 
modified commands and output screens. For modified commands and output, 
the new parameters, options, and fields are shown in bold.
add igmp filter
Syntax
ADD IGMP FILter=filter-id GROupaddress={ipadd|ipadd-ipadd
[MSGType={QUEry|REPort|LEAVe}]
 
[ACtion={INCLude|EXCLude}] [ENTry=1..65535]
where:
filter-id is a decimal number from 1 to 99.
ipadd is an IP address in dotted decimal notation.
Description
The new msgtype parameter specifies the type of incoming IGMP message to 
match. If you specify query, the filter will match IGMP general and 
group-specific query messages. If you specify report, the filter will match 
IGMP report messages. If you specify leave, the filter will match IGMP leave 
messages. The default is report.
The groupaddress parameter specifies an IP multicast group address or a 
range of IP multicast group addresses to match. Set groupaddress to:
0.0.0.0 to filter IGMP general query messages
a multicast address or a range of multicast addresses to filter IGMP 
group-specific query messages, report messages, and leave messages.
The action parameter specifies the action to take when an IGMP message with 
a message type matching msgtype and a group address matching 
groupaddress
 is received. If you specify include, the message is processed as 
normal by IGMP. If you specify exclude, the message is excluded from 
processing by IGMP, and the packet is discarded. The default is include.
If an IGMP filter contains at least one entry for a particular IGMP message 
type, then messages of the same type for group addresses that do not match 
any entries in the filter are implicitly excluded and the packets are discarded.
Examples
To add an entry to filter 6 to accept Membership Reports for multicast group 
addresses in the range 229.1.1.2 to 230.1.2.3, use the command:
add igmp fil=6 msgt=rep gro=229.1.1.2-230.1.2.3
To add an entry to filter 1 to exclude all general queries, use the command:
add igmp fil=1 msgt=que gro=0.0.0.0 ac=excl