ip igmp port-version

Configures an IGMP version recognized by a physical port that is a member of a virtual routing interface.

Syntax

ip igmp port-version version-number ethernet port-number [ to ethernet port-number[ ethernet port-number... ] ]
no ip igmp port-version version-number ethernet port-number [ to ethernet port-number[ ethernet port-number... ] ]

Command Default

IGMP Version 2 is enabled.

Parameters

version-number
Specifies the version number: 1, 2, or 3. Version 2 is the default.
ethernet port-number
Specifies the physical port within a virtual routing interface.

Modes

Interface configuration mode

Usage Guidelines

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

Examples

This example enables IGMP Version 3 on a physical port that is a member of a virtual routing interface. It first enables IGMP Version 2 globally, then enables Version 3 on ports 1/3 through 1/7 and port e2/9. All other ports in this virtual routing interface are configured with IGMP Version 2.

device(config)#interface ve 3
device(config-vif-3)# ip igmp version 2
device(config-vif-3)# ip igmp port-version 3 e1/3 to e1/7 e2/9