4 Command Line Interface

IGMP Snooping Commands

Table 4-69 IGMP Snooping Commands

Command

Function

Mode

Page

 

 

 

 

ip igmp snooping

Enables IGMP snooping

GC

4-198

 

 

 

 

ip igmp snooping vlan static

Adds an interface as a member of a multicast group

GC

4-198

 

 

 

 

ip igmp snooping version

Configures the IGMP version for snooping

GC

4-199

 

 

 

 

show ip igmp snooping

Shows the IGMP snooping and query configuration

PE

4-199

 

 

 

 

show mac-address-table

Shows the IGMP snooping MAC multicast list

PE

4-200

multicast

 

 

 

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.

Console(config)#ip igmp snooping

Console(config)#

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-idstatic ip-address interface

vlan-id- VLAN ID (Range: 1-4094)

ip-address- IP address for multicast group

interface

ethernet unit/port

-unit - This is unit 1.

-port - Port number. (Range: 1-8)

port-channel channel-id(Range: 1-4)

Default Setting

None

Command Mode

Global Configuration

4-198