Enabling IGMP snooping
When you enable IGMP snooping, follow these restrictions and guidelines:
You must enable the IGMP snooping feature by using the igmp-snooping command before you enable IGMP snooping globally or for VLANs or VSIs.
IGMP snooping configuration made in VLAN view or VSI view takes effect only on the member ports in that VLAN or VSI.
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, and the most recent configuration takes effect.
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 globally enabled. The IGMP snooping configuration for specific VLANs or VSIs takes priority over the global IGMP snooping configuration.
The IGMP snooping status on all devices in a VSI must be the same.
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. |
| 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. |