ip igmp version strict

Syntax

ip igmp version <VERSION> strict

no ip igmp version <VERSION> strict

Description

Configures an IGMP strict version on an interface, depending on the command context you are in. Drops packets that do not match the configured version.

The no form of the command removes the strict version configuration from the interface.

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 the IGMP strict version to 2 on interface VLAN 2:

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

Configuring the IGMP strict version to 2 on interface 1/1/1:

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

Resetting the IGMP strict version to the default (none):

switch(config-if)# no ip igmp version 2 strict