23-21
Software Configuration Guide—Release 15.0(2)SG
OL-23818-01
Chapter 23 Configuring IGMP Snooping and Filtering Configuring IGMP Filtering
Configuring IGMP Profiles
To configure an IGMP profile and to enter IGMP profile configuration mode, use the ip igmp profile
global configuration command. From the IGMP profile configuration mode, you can specify the
parameters of the IGMP profile to be used for filtering IGMP join requests from a port. When you are
in IGMP profile configuration mode, you can create the profile using these commands:
deny—Specifies that matching addresses are denied (the default condition).
exit—Exits from igmp-profile configuration mode.
no—Negates a command or sets its defaults.
permit—Specifies that matching addresses are permitted.
range—Specifies a range of IP addresses for the profile. You can enter a single IP address or a range
with starting and ending addresses.
By default, no IGMP profiles are configured. When a profile is configured with neither the permit nor
the deny keyword, the default is to deny access to the range of IP addresses.
To create an IGMP profile for a port, perform this task:
Table 23-2 Default IGMP Filtering Settings
Feature Default Setting
IGMP filters No filtering
IGMP maximum number of IGMP groups No limit
IGMP profiles None defined
Command Purpose
Step 1 Switch# configure terminal Enters global configuration mode.
Step 2 Switch(config)# ip igmp profile profile
number Enters IGMP profile configuration mode and assigns a
number to the profile you are configuring. The range is from
1 to 4,294,967,295.
Step 3 Switch(config-igmp-profile)# permit | deny (Optional) Sets 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.
Step 4 Switch(config-igmp-profile)# range ip
multicast address Enters 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.
Use the range command multiple times to enter multiple
addresses or ranges of addresses.
Step 5 Switch(config-igmp-profile)# end Returns to privileged EXEC mode.
Step 6 Switch# show ip igmp profile profile number Verifies the profile configuration.
Step 7 Switch# copy running-config startup-config (Optional) Saves your entries in the configuration file.