PurposeCommand or Action
Enters the global configuration mode.configure terminal
Example:
Device# configure terminal
Step 2
Specifies the physical interface, and enters interface
configuration mode. The interface must be a Layer 2 port that
does not belong to an EtherChannel port group.
interface interface-id
Example:
Device(config)# interface
Step 3
gigabitethernet1/0/1
Applies the specified IGMP profile to the interface. The range
is 1 to 4294967295.
ip igmp filter profile number
Example:
Device(config-if)# ip igmp filter 321
Step 4
To remove a profile from an interface, use the no ip
igmp filter profile number interface configuration
command.
Note
Returns to privileged EXEC mode.end
Example:
Device(config-if)# end
Step 5
Verifies your entries.show running-config
Example:
Device# show running-config
Step 6
(Optional) Saves your entries in the configuration file.copy running-config startup-config
Example:
Device# copy running-config startup-config
Step 7
Setting the Maximum Number of IGMP Groups (CLI)
Follow these steps to set the maximum number of IGMP groups that a Layer 2 interface can join:
Before You Begin
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.
IP Multicast Routing Configuration Guide, Cisco IOS XE Release 3.6E (Catalyst 3850 Switches)
62 OL-32598-01
Configuring IGMP
Setting the Maximum Number of IGMP Groups (CLI)