Enabling MLD snooping for VLANs

Restrictions and guidelines

You can enable MLD snooping for multiple VLANs by using the enable vlan command in MLD-snooping view or for a VLAN by using the mld-snooping enable command in VLAN view. The configuration in VLAN view has the same priority as the configuration in MLD-snooping view.

MLD snooping configuration in a VLAN takes effect only on the member ports in the VLAN.

Enabling MLD snooping for multiple VLANs

  1. Enter system view.

    system-view

  2. Enter MLD-snooping view.

    mld-snooping

  3. Enable MLD snooping for multiple VLANs.

    enable vlan vlan-list

    By default, the MLD snooping status in a VLAN is consistent with the global MLD snooping status.

Enabling MLD snooping for a VLAN

  1. Enter system view.

    system-view

  2. Enter VLAN view.

    vlan vlan-id

  3. Enable MLD snooping for the VLAN.

    mld-snooping enable

    By default, the MLD snooping status in a VLAN is consistent with the global MLD snooping status.