17-17
Software Configuration Guide—Release 12.2(25)SG
OL-7659-03
Chapter17 Configuring IGMP Snooping and Filtering
Configuring IGMP Filtering
Default IGMP Filtering Configuration
Table17-2 shows the default IGMP filtering configuration.
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 the se commands:
deny: Specifies that matching addresses are denied; this is 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 nei ther 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:
Table17-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
Step1 Switch# configure terminal Enters global configuration mode.
Step2 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.
Step3 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.
Step4 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.
You can use the range command multiple times to enter
multiple addresses or ranges of addresses.
Step5 Switch(config-igmp-profile)# end Returns to privileged EXEC mode.