Enabling IGMP snooping

When you enable IGMP snooping, follow these restrictions and guidelines:

Enabling IGMP snooping globally

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enable the IGMP snooping feature and enter IGMP-snooping view.

igmp-snooping

By default, the IGMP snooping feature is disabled.

3. Enable IGMP snooping globally.

global-enable

By default, IGMP snooping is disabled globally.

Enabling IGMP snooping for multiple VLANs

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enable the IGMP snooping feature and enter IGMP-snooping view.

igmp-snooping

By default, the IGMP snooping feature is disabled.

3. Enable IGMP snooping for multiple 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 or VSI

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enable the IGMP snooping feature and enter IGMP-snooping view.

igmp-snooping

By default, the IGMP snooping feature is disabled.

3. Return to system view.

quit

N/A

4. Enter VLAN or VSI view.

  • Enter VLAN view:vlan vlan-id

  • Enter VSI view:vsi vsi-name

N/A

5. Enable IGMP snooping for the VLAN or VSI.

igmp-snooping enable

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

6. (Optional.) 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.