
72 set igmp filter Software Reference
set igmp filter
Syntax SET IGMP FILter=filter-id ENTry=1..65535
[GROupaddress={ipadd|ipadd-ipadd}] [MSGType={QUEry|
REPort|LEAVe}] [ACtion={INCLude|EXCLude}]
where:
■ filter-id is a decimal number from 1 to 99.
■ ipadd is an IP address in dotted decimal notation.
Description This command modifies an entry in an IGMP filter. IGMP filters control a
port’s membership of multicast groups by filtering incoming IGMP messages
from hosts attached to the port.
The filter parameter specifies the number of the filter that the entry belongs to.
A filter with the specified number must already exist.
The entry parameter specifies the entry to modify. An entry with the specified
number must already exist.
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 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 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 change the group address for entry 12 in filter 6 to the range 229.1.1.2 to
230.1.2.3, use the command:
set igmp fil=6 ent=12 gro=229.1.1.2-230.1.2.3
To change entry 1 in filter 2 to accept Membership Reports for multicast group
addresses matching the entry’s group address range, use the command:
set igmp fil=2 ent=1 ac=incl
Related Commands add igmp filter
create igmp filter
delete igmp filter
destroy igmp filter
show igmp filter
Comentarios a estos manuales