mld-snooping version (VSI view)

Function

The mld-snooping version command sets the version of MLD messages that can be processed in MLD snooping.

The undo mld-snooping version command restores the default value.

By default, the device can process MLDv1 and MLDv2 messages.

Format

mld-snooping version number

undo mld-snooping version

Parameters

Parameter Description Value
number

Indicates the version number of MLD.

The value can be 1 or 2.

Views

VSI-AUTO view, VSI-BD view, VSI-DEFAULT view, VSI-STATIC view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
l2mc write

Usage Guidelines

Usage Scenario

If hosts connected to a Layer 2 device support different MLD versions, run the mld-snooping version command to set the version of MLD messages that can be processed.

If is set to 1, only MLDv1 messages can be processed. If is set to 2, both MLDv1 and MLDv2 messages can be processed.

Configuration Impact

When the MLD version is changed from 2 to 1,

  • The system immediately deletes all dynamically generated Layer 2 multicast forwarding entries.
  • The system processes statically configured Layer 2 multicast forwarding entries as follows:
  • If interfaces are configured to statically join multicast groups with no multicast source specified, the system does not delete the static MLD forwarding entries.
  • If interfaces are configured to statically join source-specific multicast groups, the system deletes the static forwarding entries. When the MLD version is changed to 2, the system re-generates the forwarding entries.

Precautions

If MAC address-based forwarding is enabled, MLDv2 is not supported.

The mld-snooping version command fails to be run in a VLAN view in any of the following conditions:

The VLAN is bound to a VSI.

The mld-snooping version command fails to be run in a VSI view in the following condition:

The VSI is bound to a BD.

Example

# Set the MLD snooping version in the VSI vsi1.
<HUAWEI> system-view
[~HUAWEI] mld-snooping enable
[*HUAWEI] mpls
[*HUAWEI-mpls] quit
[*HUAWEI] mpls l2vpn
[*HUAWEI-l2vpn] quit
[*HUAWEI] vsi vsi1
[*HUAWEI-vsi-vsi1] pwsignal ldp
[*HUAWEI-vsi-vsi1-ldp] vsi-id 200
[*HUAWEI-vsi-vsi1-ldp] quit
[*HUAWEI-vsi-vsi1] mld-snooping enable
[*HUAWEI-vsi-vsi1] mld-snooping version 2
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >