Enabling MLD snooping globally

About enabling MLD snooping globally

After you enable MLD snooping globally, MLD snooping is enabled for all VLANs or VSIs. You can disable MLD snooping for a VLAN or VSI when MLD snooping is globally enabled.

Restrictions and guidelines

To configure other MLD snooping features for VLANs or VSIs, you must enable MLD snooping for the specific VLANs or VSIs even though MLD snooping is enabled globally.

The VLAN-specific or VSI-specific MLD snooping configuration takes priority over the global MLD snooping configuration. For example, if you enable MLD snooping globally and then use the mld-snooping disable command to disable MLD snooping for a VLAN, MLD snooping is disabled in the VLAN.

Procedure

  1. Enter system view.

    system-view

  2. Enter MLD-snooping view.

    mld-snooping

  3. Enable MLD snooping globally.

  4. global-enable

    By default, MLD snooping is disabled globally.

  5. (Optional.) Disable MLD snooping for a VLAN or VSI.

    1. Return to system view.

      quit

    2. Enter VLAN or VSI view.

      vlan vlan-id

      vsi vsi-name

    3. Disable MLD snooping for the VLAN or VSI.

      mld-snooping disable

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