access-group (IGMP)
To set limits on an interface for multicast-group join requests by hosts, use the access-group command in the appropriate configuration mode. To return to the default behavior, use the no form of this command.
access-group access-list
no access-group access-list
Syntax Description
access-list |
Number or name of a standard IP access list. Range is 1 to 99. |
Command Default
No default behavior or values
Command Modes
IGMP interface configuration
Command History
Release |
Modification |
---|---|
Release 7.0.12 |
This command was introduced. |
Usage Guidelines
If this command is not specified in router Internet Group Management Protocol (IGMP) configuration mode, the interface accepts all multicast join requests by hosts.
Task ID
Task ID |
Operations |
---|---|
multicast |
read, write |
Examples
In the following example, hosts serviced by HundredGigE 0/0/0/24 can join only group 225.2.2.2:
Router# configure
Router(config)# ipv4 access-list mygroup permit 225.2.2.2 0.0.0.0
Router(config)# router igmp
Router(config-igmp)# interface HundredGigE 0/0/0/24
Router(config-igmp-default-if)# access-group mygroup