ip igmp {enable | disable}

Syntax

ip igmp {enable | disable}

Description

Enables or disables IGMP on an interface, depending on the command context you are in. Defaults to disabled.

Command context

config-if-vlan

config-if

config-lag-if

Parameters

enable

Enable IGMP on the interface.

disable

Disable IGMP on the interface.

Authority

Administrators

Examples

Enabling or disabling IGMP on interface VLAN 2:

switch# configure terminal
switch(config)# interface vlan 2
switch(config-if-vlan)# ip igmp enable
switch(config-if-vlan)# ip igmp disable

Enabling or disabling IGMP on interface 1/1/1:

switch# configure terminal
switch(config)# interface 1/1/1
switch(config-if)# ip igmp enable
switch(config-if)# ip igmp disable