489
Command: ip igmp access-group {<acl_num | acl_name>}
no ip igmp access-group
Function: Set the filter criteria for IGMP group on the interface; the “no ip igmp
access-group” command cancels the filter criteria.
Parameter: {<acl_num | acl_name>} is the sequence number of name of the access list,
where the range of acl_num is 1 to 99.
Default: No filter criteria set by default
Command mode: Interface Mode
Usage Guide: This command can be sued to filter the groups on the interface to allow or
deny the participant of some groups.
Example: Specify interface vlan1 to permit 224.1.1.1 and deny 224.1.1.2.
Switch (Config)#access-list 1 permit 224.1.1.1 0.0.0.0
Switch (Config)#access-list 1 deny 224.1.1.2 0.0.0.0
Switch (Config)#interface vlan 1
Switch(Config-If-Vlan1)#ip igmp access-group 1
Command: ip igmp join-group <A.B.C.D >
no ip igmp join-group <A.B.C.D >
Function: Join the interface to an IGMP group; the “no ip igmp join-group” command
cancels the join.
Parameter: <A.B.C.D> are the IP addresses for multicast groups.
Default: Do not join groups.
Command mode: Interface Mode
Usage Guide: When a switch is used as a host, this command is used to any the host to a
group; Suppose the local interface is to be added to group 224.1.1.1, then
the switch will send a IGMP member report containing group 224.1.1.1 on
receiving IGMP group query from the other switches. Note the difference
between this command and the “ip igmp static-group” command.
Example: Specify interface vlan1 to join group 224.1.1.1.
Switch (Config)#interface vlan 1
Switch(Config-If-Vlan1)#ip igmp join-group 224.1.1.1