Enabling IGMP snooping for VLANs

Restrictions and guidelines

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

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

Enabling IGMP snooping for multiple VLANs

  1. Enter system view.

    system-view

  2. Enter IGMP-snooping view.

    igmp-snooping

  3. Enable IGMP snooping for the specified VLANs.

    enable vlan vlan-list

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

Enabling IGMP snooping for a VLAN

  1. Enter system view.

    system-view

  2. Enter VLAN view.

    vlan vlan-id

  3. Enable IGMP snooping for the VLAN.

    igmp-snooping enable

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