Cisco Systems 2960 Model Vehicle User Manual


  Open as PDF
of 1004
 
22-25
Catalyst 2960 and 2960-S Switch Software Configuration Guide
OL-8603-09
Chapter 22 Configuring IGMP Snooping and MVR
Configuring IGMP Filtering and Throttling
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 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.
This example shows how to create IGMP profile 4 allowing access to the single IP multicast address and
how to verify the configuration. If the action was to deny (the default), it would not appear in the show
ip igmp profile output display.
Switch(config)# ip igmp profile 4
Switch(config-igmp-profile)# permit
Switch(config-igmp-profile)# range 229.9.9.0
Switch(config-igmp-profile)# end
Switch# show ip igmp profile 4
IGMP Profile 4
permit
range 229.9.9.0 229.9.9.0
Applying IGMP Profiles
To control access as defined in an IGMP profile, use the ip igmp filter interface configuration command
to apply the profile to the appropriate interfaces. You can apply IGMP profiles only to Layer 2 access
ports. You cannot apply profiles to ports that belong to an EtherChannel port group. You can apply a
profile to multiple interfaces, but each interface can have only one profile applied to it.
Command Purpose
Step 1
configure terminal Enter global configuration mode.
Step 2
ip igmp profile profile number Assign a number to the profile you are configuring, and enter IGMP
profile configuration mode. The profile umber range is 1 to 4294967295.
Step 3
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.
Step 4
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.
Step 5
end Return to privileged EXEC mode.
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.