No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


Configuration Guide - IP Multicast

S7700 and S9700 V200R010C00

This document describes IP multicast basics and how to configure IP multicast features, including IGMP/MLD, PIM (IPv4&IPv6), MSDP, multicast VPN, Layer 3 multicast CAC, Layer 2 multicast CAC, IGMP/MLD snooping, and multicast VLAN, IPv4&IPv6 multicast route management, static multicast MAC address, multicast network.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Enabling MLD Snooping

Enabling MLD Snooping


Global MLD snooping must be enabled before other MLD snooping configurations can be performed. Enabling MLD snooping in a VLAN is required for other MLD snooping configurations to take effect in the VLAN. If MLD snooping is disabled in a VLAN, other MLD snooping configurations can be performed but do not take effect until MLD snooping is enabled in the VLAN.

By default, MLD snooping is disabled globally.


  1. Run:


    The system view is displayed.

  2. Run:

    mld-snooping enable

    MLD snooping is enabled globally.

  3. Run:

    vlan vlan-id

    The VLAN view is displayed.

  4. (Optional) Run:

    l2-multicast forwarding-mode { ip | mac }

    The multicast forwarding mode in the VLAN is set to IP address-based or MAC address-based forwarding.

    By default, the IP address-based forwarding mode is used.

    • Set the multicast forwarding mode before enabling MLD snooping in the VLAN. The specified multicast forwarding mode takes effect only after MLD snooping is enabled.

    • A VLAN cannot be configured as a multicast VLAN after MAC address-based forwarding is configured in the VLAN using this command.

    • If the switch forwards multicast data packets based on MAC addresses, do not use a group address that maps to the same multicast MAC address as a multicast IP address reserved for a protocol. Otherwise, the protocol that uses the multicast IP address cannot run normally. For example, OSPF uses FF02::5 to send protocol packets. This multicast IP address maps to multicast MAC address 33-33-00-00-00-05. If multicast data packets are forwarded based on MAC addresses and use multicast IP address FF13::5 (also mapping to 33-33-00-00-00-05), the OSPF protocol cannot run normally.

    • If the VLANIF interface corresponding to a VLAN is bound to a VPN instance, only the MAC address-based forwarding mode can be used in this VLAN. To use the IP address-based forwarding mode, configure this VLAN as a user VLAN and another VLAN as a multicast VLAN. In this way, multicast flows can be replicated to the user VLAN from the multicast VLAN.

  5. (Optional) Run:

    l2-multicast router-port-discard

    The switch is disabled from forwarding multicast data to router ports in a VLAN.


    Before disabling the switch from forwarding multicast data to router ports in a VLAN, disable MLD snooping in the VLAN. After setting the forwarding mode, enable MLD snooping in the VLAN for the configuration to take effect.

  6. Run:

    mld-snooping enable

    MLD snooping is enabled in the VLAN.

    To enable MLD snooping in multiple VLANs, run mld-snooping enable [ vlan { vlan-id1 [ to vlan-id2 ] } &<1-10> ] command in the system view.

    IGMP snooping cannot be used with N:1 (N > 1) VLAN mapping.

Updated: 2019-08-21

Document ID: EDOC1000141903

Views: 154184

Downloads: 111

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Previous Next