mld enable

Function

The mld enable command enables Multicast Listener Discovery (MLD) on an interface.

The undo mld enable command disables MLD on an interface.

By default, MLD is disabled on an interface.

Format

mld enable

undo mld 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, VE sub-interface view, VLANIF interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
igmp write

Usage Guidelines

Usage Scenario

On an IPv6 multicast network segment connected to users, MLD needs to be run on the device and the hosts connected to the device. After MLD is enabled on the interface that connects the device to the user network segment, the device can communicate with user hosts and process IPv6 protocol packets sent by the user hosts.

Prerequisites

The multicast ipv6 routing-enable command is run in the public network instance view.

The pim ipv6 sm command is run on the interface.

Configuration Impact

The other MLD parameters configured on the interface before MLD is enabled on this interface take effect only after the mld enable command is run on the interface.

Precautions

  • If the mld enable command is run on the interface connected to the user, PIM IPv6 also needs to be enabled. Otherwise, multicast traffic cannot be forwarded.
  • The command fails to be run in the VLANIF interface view if VLAN aggregation is enabled in the corresponding VLAN.

Example

# Enable MLD on GE 0/1/0.
<HUAWEI> system-view
[~HUAWEI] multicast ipv6 routing-enable
[*HUAWEI] interface GigabitEthernet 0/1/0
[*HUAWEI-GigabitEthernet0/1/0] ipv6 enable
[*HUAWEI-GigabitEthernet0/1/0] pim ipv6 sm
[*HUAWEI-GigabitEthernet0/1/0] mld enable
Copyright ? Huawei Technologies Co., Ltd.
Copyright ? Huawei Technologies Co., Ltd.
< Previous topic Next topic >