Configuring IGMP Filtering
Beginning in privileged EXEC mode, follow these steps to create an IGMP profile:
Command
Step 1
configure terminal
Step 2
ip igmp profile profile number
Step 3
permit | deny
Step 4
range ip multicast address
Step 5
end
Step 6
show ip igmp profile profile number Verify the profile configuration.
Step 7
copy running-config startup-config (Optional) Save your entries in the configuration file.
To delete a profile, use the no ip igmp profile profile number global configuration command.
To delete an IP multicast address or range of IP multicast addresses, use the no range ip multicast
address igmp profile command.
This example shows how to create IGMP profile 22 denying access to the single IP multicast address
and how to verify the configuration. Note that because the action was to deny (the default), it does not
appear in the show ip igmp profile profile number privileged EXEC command output.
Switch # config t
Switch(config) # ip igmp profile 22
Switch(config-igmp-profile)# deny
Switch(config-igmp-profile)# range 229.9.9.0
Switch(config-igmp-profile)# end
Switch# show ip igmp profile 22
IGMP Profile 22
Catalyst 2900 Series XL and Catalyst 3500 Series XL Software Configuration Guide
6-24
Purpose
Enter global configuration mode.
Enter IGMP profile configuration mode, and assign a number to the profile
you are configuring. The range is from 1 to 4294967294.
(Optional) Set the action to permit or deny access to the IP multicast address.
If no action is configured, the default for the profile is to deny access.
Enter the IP multicast address or range of IP multicast addresses to which
access is being controlled. If entering a range, enter the low IP multicast
address, a space, and the high IP multicast address.
You can use the range command multiple times to enter multiple addresses
or ranges of addresses.
Return to privileged EXEC mode.
range 229.9.9.0 229.9.9.0
Chapter 6
Configuring the System
78-6511-08