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.
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,
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.<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