Configuring Optional IGMP Features
Command
Step 5
access-list access-list-number {deny |
permit} source [source-wildcard]
Step 6
end
Step 7
show ip igmp interface [interface-id]
Step 8
copy running-config startup-config
To disable groups on an interface, use the no ip igmp access-group interface configuration command.
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 gigabitethernet1/0/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.
All systems on the subnet must support the same version. The switch does not automatically detect
Version 1 systems and switch to Version 1. You can mix Version 1 and Version 2 hosts on the subnet
because Version 2 routers or switches always work correctly with IGMPv1 hosts.
Configure the switch for Version 1 if your hosts do not support Version 2.
Beginning in privileged EXEC mode, follow these steps to change the IGMP version. This procedure is
optional.
Command
Step 1
configure terminal
Step 2
interface interface-id
Step 3
ip igmp version {1 | 2}
Step 4
end
Catalyst 3750 Metro Switch Software Configuration Guide
31-28
Purpose
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.
Return to privileged EXEC mode.
Verify your entries.
(Optional) Save your entries in the configuration file.
Purpose
Enter global configuration mode.
Specify the interface to be configured, and enter interface
configuration mode.
Specify the IGMP version that the switch uses.
Note
If you change to Version 1, you cannot configure the ip igmp
query-interval or the ip igmp query-max-response-time
interface configuration commands.
Return to privileged EXEC mode.
Chapter 31
Configuring IP Multicast Routing
78-15870-01