< Home

version (IGMP)

Function

The version command configures a global IGMP version.

The undo version command restores the default configuration.

By default, the IGMP version is IGMPv2.

Format

version version

undo 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

IGMP view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The switch can 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 later than that running on user 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 igmp version command used in the interface 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

# Set the IGMP version to IGMPv3 globally.
<HUAWEI> system-view
[HUAWEI] multicast routing-enable
[HUAWEI] igmp
[HUAWEI-igmp] version 3
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic