The mld-snooping enable vlan command enables MLD snooping for VLANs.
The undo mld-snooping enable vlan command disables MLD snooping for VLANs.
By default, MLD snooping is disabled.
Usage Scenario
MLD snooping runs on a Layer 2 device that is deployed between a Layer 3 device and user hosts. The Layer 2 device can then maintain multicast forwarding entries by listening to multicast protocol messages transmitted between the upstream device and hosts, controlling multicast data packet forwarding. Enabling MLD snooping is the prerequisite for implementing Layer 2 multicast. To enable MLD snooping for specific VLANs, run the mld-snooping enable vlan command.
MLD snooping runs on a Layer 2 device that is deployed between a Layer 3 device and user hosts. The Layer 2 device can then maintain multicast forwarding entries by listening to multicast protocol messages transmitted between the upstream device and hosts, controlling multicast data packet forwarding. Enabling MLD snooping is the prerequisite for implementing Layer 2 multicast. To enable MLD snooping for a specific VLAN/VSI, run the mld-snooping enable command. <NOTE:Precautions
The command fails to be run in a VSI view in the following condition:
<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 1 [*HUAWEI-vsi-vsi1-ldp] quit [*HUAWEI-vsi-vsi1] mld-snooping enable
<HUAWEI> system-view [*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 1 [*HUAWEI-vsi-vsi1-ldp] quit [*HUAWEI-vsi-vsi1] undo mld-snooping enable