715
Configuring IP Multicast Routing
Configuring Optional IGMP Features
DETAILED STEPS
To disable groups on an interface, use the no ip igmp access-group interface configuration command.
EXAMPLE
This example shows how to configure hosts attached to a port as able to join only group 255.2.2.2:
Switch(config)# access-list 1 255.2.2.2 0.0.0.0
Switch(config-if)# interface gigabitethernet0/1
Switch(config-if)# ip igmp access-group 1
Changing the IGMP Version
By default, the switch uses IGMP Version 2, which provides features such as the IGMP query timeout and the maximum
query response time.
Command Purpose
1. configure terminal Enter global configuration mode.
2. interface interface-id Specify the interface to be configured, and enter interface
configuration mode.
3. no shutdown Enable the port, if necessary. By default, UNIs and ENIs are
disabled, and NNIs are enabled.
4. ip igmp access-group
access-list-number
Specify the multicast groups that hosts on the subnet
serviced by an interface can join.
By default, all groups are allowed on an interface.
For access-list-number, specify an IP standard access list
number. The range is 1 to 99.
5. exit Return to global configuration mode.
6. access-list access-list-number {deny
| permit} source [source-wildcard]
Create a standard access list.
For access-list-number, specify the access list created
in Step 3.
The deny keyword denies access if the conditions are
matched. The permit keyword permits access if the
conditions are matched.
For source, specify the multicast group that hosts on the
subnet can join.
(Optional) For source-wildcard, enter the wildcard bits in
dotted decimal notation to be applied to the source.
Place ones in the bit positions that you want to ignore.
Recall that the access list is always terminated by an implicit
deny statement for everything.
7. end Return to privileged EXEC mode.
8. show ip igmp interface [interface-id] Verify your entries.
9. copy running-config startup-config (Optional) Save your entries in the configuration file.