16-20
Catalyst2950 Desktop Switch Software Configuration Guide
78-11380-05
Chapter16 Configuring IGMP Snooping and MVR
Configuring IGMP Filtering
Configuring IGMP Profiles
To configure an IGMP profile, use the ip igmp profile global configuration command with a profile
number to create an IGMP profile and to enter IGMP profile configuration mode. From thi s mo de , 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 by using these 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. Y o u can en ter a sing le IP addre ss or a rang e
with a start and an end address.
The default is for the switch to have no IGMP profiles configured. When a profile is configured, if
neither the permit nor deny keyword is included, the default is to deny access to the range of IP
addresses.
Beginning in privileged EXEC mode, follow these steps to create an IGMP profile:
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 configuration command.
IGMP profiles None defined
IGMP profile action Deny the range addresses
Table16-7 Default IGMP Filtering Configuration (continued)
Feature Default Setting
Command Purpose
Step1 configure terminal Enter global configuration mode.
Step2 ip igmp profile profile number Enter IGMP profile configuration mode, and assign a number to the
profile you are configuring. The range is from 1 to 4294967295.
Step3 permit | deny (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.
Step4 range ip multicast address 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.
Step5 end Return to privileged EXEC mode.
Step6 show ip igmp profile profile number Verify the profile configuration.
Step7 copy running-config startup-config (Optional) Save your entries in the configuration file.