< Home

mld version

Function

The mld version command specifies an MLD version on an interface.

The undo mld version command restores the default MLD version on an interface.

By default, an interface runs MLDv2.

Format

mld version version

undo mld version

Parameters

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

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

A multicast switch can only identify MLD messages of a version earlier than its own MLD version. To ensure normal MLD operation, set on the switch an MLD version the same as or later than that running on user hosts.

If many switches exist on a shared network segment, configure the same MLD version on all switch interfaces connected to hosts. If multicast devices run MLD of different versions, errors may occur in MLD operation because interfaces running different MLD versions send messages in different formats.

Prerequisites

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

Example

# Configure MLDv2 on VLANIF100.

<HUAWEI> system-view
[HUAWEI] multicast ipv6 routing-enable
[HUAWEI] interface vlanif 100
[HUAWEI-Vlanif100] mld version 2
# Configure MLDv2 on GE0/0/1.
<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 version 2
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >