ip igmp version

Syntax

ip igmp version <VERSION>

Description

Configures the IGMP version on an interface, depending on the command context you are in.

Command context

config-if-vlan

config-if

config-lag-if

Parameters

<VERSION>

Specifies the IGMP version on the interface. Select 2 for IGMPv2 (RFC2236). Select 3 for IGMPv3 (RFC3376). Values: 2 or 3.

Authority

Administrators

Examples

Configuring an IGMP version on interface VLAN 2:

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

Configuring an IGMP version on interface 1/1/1:

switch# configure terminal
switch(config)# interface 1/1/1
switch(config-if)# ip igmp version 2