System information

Command Line Interface
4-206
4
IGMP Snooping Commands
This section describes commands used to configure IGMP snooping on the switch.
ip 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-4093)
ip-address - IP address for multicast group
interface
ethernet unit/port
- unit - Stack unit. (Range: 1-8)
- port - Port number. (Range: 1-26)
port-channel channel-id (Range: 1-32)
Default Setting
None
Table 4-69 IGMP Snooping Commands
Command Function Mode Page
ip igmp snooping Enables IGMP snooping GC 4-206
ip igmp snooping vlan static Adds an interface as a member of a multicast group GC 4-206
ip igmp snooping version Configures the IGMP version for snooping GC 4-207
show ip igmp snooping Shows the IGMP snooping and query configuration PE 4-207
show mac-address-table
multicast
Shows the IGMP snooping MAC multicast list PE 4-208
Console(config)#ip igmp snooping
Console(config)#