< Home

igmp version

Function

The igmp version command specifies an IGMP version on an interface.

The undo igmp version command restores the default IGMP version on an interface.

By default, an interface runs IGMPv2.

Format

igmp version version

undo igmp version

Parameters

Parameter Description Value
version Specifies the IGMP version running on the interface. The value is integer that ranges from 1 to 3.

Views

GE interface view, XGE interface view, MultiGE interface view, 25GE interface view, 40GE interface view, 100GE interface view, Eth-Trunk interface view, GE sub-interface view, XGE sub-interface view, MultiGE sub-interface view, 25GE sub-interface view, 40GE sub-interface view, 100GE sub-interface view, Eth-Trunk sub-interface view, VLANIF interface view, loopback interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The switch can only identify IGMP messages of a version earlier than its own IGMP version. To ensure normal IGMP operation, set on the switch an IGMP version the same as or alter than that running on member hosts.

If multiple switches exist on a shared network segment, configure the same IGMP version on all switch interfaces connected to hosts. Otherwise, errors may occur in IGMP operation because interfaces running different IGMP versions send packets with different formats.

Prerequisites

IP multicast routing has been enabled using the multicast routing-enable command.

Precautions

This command functions in the same way as the version command used in the IGMP view, except that the configuration in the IGMP view is globally valid, whereas the configuration in the interface view is valid only for the specified interface. The configuration in the interface view takes precedence over the configuration in the IGMP view. The configuration in the IGMP view is used only when the configuration in the interface view is not done.

Example

# Configure IGMPv1 on VLANIF100.

<HUAWEI> system-view
[HUAWEI] multicast routing-enable
[HUAWEI] interface vlanif 100
[HUAWEI-Vlanif100] igmp version 1
# Configure IGMPv1 on GE0/0/1.
<HUAWEI> system-view
[HUAWEI] multicast routing-enable
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] undo portswitch
[HUAWEI-GigabitEthernet0/0/1] igmp version 1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >