Enabling IGMP snooping globally

About enabling IGMP snooping globally

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

Restrictions and guidelines

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

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

Procedure

  1. Enter system view.

    system-view

  2. Enter IGMP-snooping view.

    igmp-snooping

  3. Enable IGMP snooping globally.

  4. global-enable

    By default, IGMP snooping is disabled globally.

  5. (Optional.) Disable IGMP 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 IGMP snooping for the VLAN or VSI.

      igmp-snooping disable

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