Command Line Interface
4-204
4
IGMP Snooping Commandsip igmp snooping
This command enables IGMP snooping on this switch. Use the no form to disable it.
Syntax
[no]ip igmp snooping
Default Setting
Enabled
Command Mode
Global Configuration
Example
The following example enables IGMP snooping.
ip igmp snooping vlan static
This command adds a port to a multicast group. Use the no form to remove the port.
Syntax
[no]ip igmp snooping vlan vlan-id static ip-address interface
vlan-id - VLAN ID (Range: 1-4094)
ip-address - IP address for multicast group
interface
ethernet unit/port
-unit - This is device 1.
-port - Port number.
port-channel channel-id (Range: 1-6)
Default Setting
None
Table 4-67 IGMP Snooping Commands
Command Function Mode Page
ip igmp snooping Enables IGMP snooping GC 4-204
ip igmp snooping vlan static Adds an interface as a member of a multicast group GC 4-204
ip igmp snooping version Configures the IGMP version for snooping GC 4-205
show ip igmp snooping Shows the IGMP snooping and query configuration PE 4-205
show mac-address-table
multicast
Shows the IGMP snooping MAC multicast list PE 4-206
Console(config)#ip igmp snooping
Console(config)#