6-25
Catalyst 2900 Series XL and Catalyst 3500 Series XL Software Configuration Guide
78-6511-08
Chapter 6 Configuring the System
Configuring IGMP Filtering
Applying IGMP Filters
To control access as defined in an IGMP profile, you apply the profile to the appropriate interfaces.
IGMP profiles can be applied to Layer 2 ports only. A profile can be applied to multiple interfaces, but
each interface can only have one profile applied to it.
Beginning in privileged EXEC mode, follow these steps to apply an IGMP profile to a switch port:
To remove a filter profile from an interface, use the no ip igmp filter profile number interface
configuration command.
This example shows how to apply IGMP profile 22 to an interface and verify the configuration.
Switch # config t
Switch(config)# interface fastethernet 0/12
Switch(config-if)# ip igmp filter 22
Switch(config-if)# end
Switch# show running-config interface fastethernet 0/12
Building configuration...
Current configuration : 124 bytes
!
interface FastEthernet0/12
no ip address
shutdown
snmp trap link-status
ip igmp filter 22
end
Command
Purpose
Step 1
configure terminal
Enter global configuration mode.
Step 2
interface interface-id
Enter interface configuration mode, and enter the physical interface to
configure, for example fastethernet 0/3. The interface must be a Layer 2
port.
Step 3
ip igmp filter profile number
Apply the specified IGMP filter profile to the interface. The profile number
can be from 1 to 4294967295.
Step 4
end
Return to privileged EXEC mode.
Step 5
show running configuration
interface interface-id
Verify the configuration.
Step 6
copy running-config startup-config
(Optional) Save your entries in the configuration file.