20-25
Cisco ME 3400 EthernetAccess Switch SoftwareConfiguration Guide
78-17058-01
Chapter20 Configuring IGMP Snooping and M VR Configuring IGMP Filtering and Throttling
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 th at
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
Setting the Maximum Number of IGMP Groups
You can set the maximum number of IGMP groups that a Layer 2 interface can join by using the ip igmp
max-groups interface configuration command. Use the no form of this command to set the maximum
back to the default, which is no limit.
This restriction can be applied to Layer 2 ports only; you cannot set a maximum number of IGMP groups
on routed ports or SVIs. You also can use this command on a logical EtherChannel interface but cannot
use it on ports that belong to an EtherChannel port group.
Command Purpose
Step1 configure terminal Enter global configuration mode.
Step2 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.
Step3 no shutdown Enable the port, if necessary. By default, UNIs are disabled, and NNIs
are enabled.
Step4 ip igmp filter profile number Apply the specified IGMP profile to the interface. The range is 1 to
4294967295.
Step5 end Return to privileged EXEC mode.
Step6 show running-config interface
interface-id Verify the configuration.
Step7 copy running-config startup-config (Optional) Save your entries in the configuration file.