Enabling MLD snooping
When you enable MLD snooping, follow these guidelines:
You must enable MLD snooping globally before you can enable it for a VLAN.
MLD snooping for a VLAN works only on the member ports in that VLAN.
You can enable MLD snooping for the specified VLANs in MLD-snooping view or for a VLAN in VLAN view. For a VLAN, the configuration in VLAN view has the same priority as the configuration in MLD-snooping view, and the most recent configuration takes effect.
Enabling MLD snooping in MLD-snooping view
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enable MLD snooping globally and enter MLD-snooping view. | mld-snooping | By default, MLD snooping is globally disabled. |
3. Enable MLD snooping for the specified VLANs. | enable vlan vlan-list | By default, MLD snooping is disabled for a VLAN. |
Enabling MLD snooping in VLAN view
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enable MLD snooping globally and enter MLD-snooping view. | mld-snooping | By default, MLD snooping is globally disabled. |
3. Return to system view. | quit | N/A |
4. Enter VLAN view. | vlan vlan-id | N/A |
5. Enable MLD snooping for the VLAN. | mld-snooping enable | By default, MLD snooping is disabled in a VLAN. |