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

CloudEngine 12800 and 12800E V200R005C10

This document describes the configurations of IP multicast, including IP multicast basics, IGMP, MLD, PIM (IPv4), PIM (IPv6), MSDP, multicast VPN, multicast route management (IPv4), multicast route management (IPv6), IGMP snooping, MLD snooping, static multicast MAC address, multicast VLAN, multicast network management.
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 IGMP Snooping

Enabling IGMP Snooping


Other IGMP snooping functions can be configured only after IGMP snooping is enabled globally. Other IGMP snooping functions take effect in a VLAN only after IGMP snooping is enabled in the VLAN.

By default, IGMP snooping is disabled globally on the switch.


  1. Run system-view

    The system view is displayed.

  2. (Optional) Run multicast forwarding optimization

    Multicast forwarding optimization is enabled.

    By default, multicast forwarding optimization is disabled.

    After multicast forwarding optimization is enabled on a standalone switch or a stack, the switch or stack dynamically adjusts traffic forwarding on switch fabrics or stack ports for each multicast group based on multicast traffic distribution in the system. This function saves multicast forwarding resources, but it consumes some processing resources and increases the response time to users' multicast requests. To enable multicast traffic to be transmitted to users quickly, disable the multicast forwarding optimization function.


    The CE12800 supports this function. The CE12800E supports this function after ED-E, EG-E, and EGA-E series cards are installed, and does not support this function after FD-X series cards are installed.

  3. Run igmp snooping enable

    IGMP snooping is enabled globally.

  4. Run vlan vlan-id

    The VLAN view is displayed.

  5. (Optional) Run multicast layer-2 forwarding-mode { ip | mac }

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

    By default, multicast flows are forwarded based on IP addresses.

    • A multichassis link aggregation group (M-LAG) system does not support multicast data forwarding based on multicast MAC addresses.
    • Configure the multicast forwarding mode in a VLAN before IGMP snooping is enabled in the VLAN. Then enable IGMP snooping in the VLAN for the configuration to take effect.

    • If the device forwards multicast data packets based on MAC addresses, do not use a group address on the network if the group address 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, Open Shortest Path First (OSPF) uses to send protocol packets. This multicast IP address maps to multicast MAC address 01-00-5E-00-00-05. If multicast data packets are forwarded based on MAC addresses and use multicast IP address (also mapping to 01-00-5E-00-00-05), the OSPF protocol cannot run normally.

    • If the VLAN is configured as a customer edge (CE) VLAN of Transparent Interconnection of Lots of Links (TRILL) and enabled with IGMP snooping, the multicast packets in the VLAN are forwarded based on MAC addresses, and the forwarding mode cannot be changed.

  6. Run igmp snooping enable

    IGMP snooping is enabled in the VLAN.

    Run the igmp snooping enable [ vlan { vlan-id1 [ to vlan-id2 ] } &<1-10> ] command in the system view to enable IGMP snooping in multiple VLANs.

  7. Run commit

    The configuration is committed.

Updated: 2019-04-20

Document ID: EDOC1100074724

Views: 40830

Downloads: 13

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