Multicast Filtering Commands
4-225
4
IGMP Snooping Commands
ip igmp snooping
Use this command to enable 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
Use this command to add 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)
Table 4-70. IGMP Snooping Commands
Command Function Mode Page
ip igmp snooping Enables IGMP snooping GC 4-225
ip igmp snooping vlan static Adds an interface as a member of a multicast group GC 4-225
ip igmp snooping version Configures the IGMP version for snooping GC 4-226
show ip igmp snooping Shows the IGMP snooping and query configuration PE 4-227
show mac-address-table
multicast
Shows the IGMP snooping MAC multicast list PE 4-227
Console(config)#ip igmp snooping
Console(config)#