ip igmp version

Specifies the IGMP version on a device.
Syntax
ip igmp version version-number
no ip igmp version version-number
Command Default

IGMP Version 2 is enabled.

Parameters
version-number
Specifies the version number: 1, 2, or 3. Version 2 is the default.
Modes

Global configuration mode

Usage Guidelines

The no form of this command restores the default; IGMP Version 2 is enabled.

Configure the ip igmp port-version command to configure an IGMP version recognized by a physical port that is a member of a virtual routing interface.

Examples

The following example enables IGMP Version 3 globally.

device# configure terminal
device(config)# ip igmp version 3

The following example, in interface configuration mode, enables IGMP Version 3 for a physical port.

device# configure terminal
device(config)# interface ethernet 1/1/5
device(config-if-1/1/5)# ip igmp version 3

The following example, in interface configuration mode, enables IGMP Version 3 for a virtual routing interface on a physical port.

device# configure terminal
device(config)# interface ve 3
device(config-vif-1)# ip igmp version 3