igmp enable

Function

The igmp enable command enables IGMP on an interface.

The undo igmp enable command disables IGMP on an interface.

By default, IGMP is disabled on an interface.

Format

igmp enable

undo igmp enable

Parameters

None

Views

100ge sub-interface view, 100GE interface view, 10GE sub-interface view, 10GE interface view, 200GE sub-interface view, 25GE sub-interface view, 25GE interface view, 400GE sub-interface view, 400GE interface view, 40GE sub-interface view, 40GE interface view, 50GE sub-interface view, 50GE interface view, Eth-Trunk sub-interface view, Eth-Trunk interface view, FlexE interface view, GE optical interface view, GE sub-interface view, GE interface view, GE electrical interface view, Global VE sub-interface view, Loopback interface view, PW-VE sub-interface view, Tunnel interface view, VBDIF interface view, VE sub-interface view, VLANIF interface view, Virtual template view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
igmp write

Usage Guidelines

Usage Scenario

To enable a Router interface that connects to user hosts to process IGMP messages, run the igmp enable command to enable IGMP on the interface. IGMP must be enabled both on user hosts and Router interfaces that connect to the user hosts.

Prerequisites

The multicast routing function has been enabled using the multicast routing-enable command in the public network instance view or VPN instance view.

Configuration Impact

IGMP parameters that are configured on an interface before IGMP is enabled on this interface take effect only after the igmp enable command is run on the interface.

Precautions

During an upgrade in CFG mode, if the igmp enable command is run on the interface connected to users, the pim sm command is automatically run on the interface to prevent traffic forwarding failures.

After the undo igmp enable command is run in the VBDIF interface view, the Layer 2 multicast configuration in the BD is also deleted.

Example

# Enable IGMP on GE 0/1/0.
<HUAWEI> system-view
[~HUAWEI] multicast routing-enable
[*HUAWEI] pim
[*HUAWEI-pim] quit
[*HUAWEI] interface GigabitEthernet 0/1/0
[*HUAWEI-GigabitEthernet0/1/0] undo portswitch
[*HUAWEI-GigabitEthernet0/1/0] pim sm
[*HUAWEI-GigabitEthernet0/1/0] igmp enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >