< Home

mld enable

Function

The mld enable command enables 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

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

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

On a shared IPv6 network segment, hosts and multicast devices must run MLD. A multicast device can process MLD messages sent from hosts only after MLD is enabled on the interfaces connected to user network segments.

Prerequisites

Layer 3 IPv6 multicast has been enabled using the multicast ipv6 routing-enable command in the system view.

Precautions

  • If MLD parameters are configured on an interface, the parameter settings take effect only after MLD is enabled.

  • If PIM (IPv6) and MLD need to be enabled on the same interface, enable PIM (IPv6) and MLD in sequence.

  • Running the mld enable command failed on the VLANIF interface because Layer 2 multicast querier or report-suppress is enabled for this VLAN.

  • If both Layer 2 and Layer 3 multicast services are required in a VLAN, enable MLD on the corresponding VLANIF interface first, and then enable MLD Snooping in the VLAN. If MLD Snooping is enabled in the VLAN first, MLD cannot be enabled on the VLANIF interface. In addition, the maximum number of Layer 3 multicast forwarding entries depends on the maximum number of Layer 2 multicast forwarding entries.

Example

# Enable MLD on VLANIF100 connected to a user network segment.

<HUAWEI> system-view
[HUAWEI] multicast ipv6 routing-enable
[HUAWEI] interface vlanif 100
[HUAWEI-Vlanif100] mld enable
# Enable MLD on GE0/0/1 connected to a user network segment.
<HUAWEI> system-view
[HUAWEI] multicast ipv6 routing-enable
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] undo portswitch
[HUAWEI-GigabitEthernet0/0/1] mld enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >