26-25
Catalyst 3750-X and 3560-X Switch Software Configuration Guide
OL-21521-01
Chapter 26 Configuring IGMP Snooping and MVR Configuring IGMP Filtering and Throttling
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 IGMP profiles to routed ports or SVIs. 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.
Beginning in privileged EXEC mode, follow these steps to apply an IGMP profile to a switch port:
To remove a profile from an interface, use the no ip igmp filter profile number interface configuration
command.
This example shows how to apply IGMP profile 4 to a port:
Switch(config)# interface gigabitethernet0/2
Switch(config-if)# ip igmp filter 4
Switch(config-if)# end
Command Purpose
Step 1 configure terminal Enter global configuration mode.
Step 2 interface interface-id Specify the physical interface, and enter interface configuration mode.
The interface must be a Layer 2 port that does not belong to an
EtherChannel port group.
Step 3 ip igmp filter profile number Apply the specified IGMP profile to the interface. The range is 1 to
4294967295.
Step 4 end Return to privileged EXEC mode.
Step 5 show running-config interface
interface-id Verify the configuration.
Step 6 copy running-config startup-config (Optional) Save your entries in the configuration file.