2-154
Catalyst 3560 Switch Command Reference
78-16405-05
Chapter 2 Catalyst 3560 Switch Cisco IOS Commands
ip igmp filter
ip igmp filter
Use the ip igmp filter interface configuration command to control whether or not all hosts on a Layer 2
interface can join one or more IP multicast groups by applying an Internet Group Management Protocol
(IGMP) profile to the interface. Use the no form of this command to remove the specified profile from
the interface.
ip igmp filter profile number
no ip igmp filter
Syntax Description
Defaults No IGMP filters are applied.
Command Modes Interface configuration
Command History
Usage Guidelines You can apply IGMP filters only to Layer 2 physical interfaces; you cannot apply IGMP filters to routed
ports, switch virtual interfaces (SVIs), or ports that belong to an EtherChannel group.
An IGMP profile can be applied to one or more switch port interfaces, but one port can have only one
profile applied to it.
Examples This example shows how to apply IGMP profile 22 to a port:
Switch(config)# interface gigabitethernet0/2
Switch(config-if)# ip igmp filter 22
You can verify your setting by using the show running-config privileged EXEC command and by
specifying an interface.
Related Commands
profile number The IGMP profile number to be applied. The range is 1 to 4294967295.
Release Modification
12.1(19)EA1 This command was introduced.
Command Description
ip igmp profile Configures the specified IGMP profile number.
show ip igmp profile Displays the characteristics of the specified IGMP profile.
show running-config interface
interface-id
Displays the running configuration on the switch interface, including
the IGMP profile (if any) that is applied to an interface. For syntax
information, select Cisco IOS Configuration Fundamentals
Command Reference, Release 12.2 > File Management Commands
> Configuration File Management Commands.