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).
Configuring BGP MVPN Peers

Configuring BGP MVPN Peers


To exchange BGP A-D and BGP C-multicast routes, different PEs on an NG MVPN must be able to discover other PEs on the MVPN. The discovery process is called MVPN membership autodiscovery. An NG MVPN uses BGP to implement this process. To support MVPN membership autodiscovery, BGP defines a new BGP-MVPN address family. In an IPv4 Layer 3 multicast over VXLAN Scenario, all PEs functioning as VXLAN gateways must establish a BGP MVPN peer relationship between one another.


  1. Run system-view

    The system view is displayed.

  2. Run bgp { as-number-plain | as-number-dot }

    The BGP view is displayed.

  3. Run peer ipv4-address as-number as-number

    A BGP peer IP address is specified.

  4. (Optional) Run peer ipv4-address connect-interface interface-type interface-number [ ipv4-source-address ]

    A source interface and a source address are specified to set up a TCP connection with the BGP peer.

    By default, BGP uses the outbound interface of packets as the source interface.


    When loopback interfaces are used to establish a BGP connection, running the peer connect-interface command on both ends is recommended to ensure the connectivity. If this command is run on only one end, the BGP connection may fail to be established.

  5. (Optional) Run peer ipv4-address ebgp-max-hop [ hop-count ]

    The maximum number of hops allowed for an EBGP connection is configured.

    hop-count defaults to 255.

    In a scenario where an NG MVPN crosses different ASs, it is necessary to establish EBGP peers. Generally, EBGP peers are directly connected. If they are not directly connected, run the peer ebgp-max-hop command so that they can establish a connection over multiple hops.


    If loopback interfaces are used to establish an EBGP connection, run the peer ebgp-max-hop command with hop-count greater than or equal to 2. Otherwise, the EBGP connection cannot be established.

  6. Run ipv4-family mvpn

    The BGP-MVPN address family view is displayed.

  7. Run peer { ipv4-address | group-name } enable

    The device is specified as a BGP MVPN peer.

  8. (Optional) Run c-multicast ad-route-ignore

    The device is configured not to check whether local A-D routes exist after it receives C-multicast routes from its BGP MVPN peers.

    By default, after a device receives C-multicast routes from its BGP MVPN peers, the device checks whether local A-D routes exist.

    A multichassis link aggregation group (M-LAG) is used to implement active-active gateways on an inter-AS VXLAN, and different RD values are configured for the VPN instance IPv4 address families on the two nodes that act as active-active gateways. After receiving a C-multicast route, both nodes check the validity of the C-multicast route. If one node checks that the RD value contained in the C-multicast route is different from that in a local A-D route, the node sets the C-multicast route to be invalid. As a result, the M-LAG function cannot take effect. To prevent the preceding situation, perform this step on the two nodes that act as active-active gateways.

  9. Run commit

    The configuration is committed.

Follow-up Procedure

Configure the following BGP functions in the BGP-MVPN address family view as needed. For details, see "BGP Configuration".

  1. Configuring a BGP Peer Group

  2. Configuring a Route Reflector and Specifying Clients

  3. Configuring a MinRouteAdvertisementIntervalTimer

  4. Setting Next_Hop Attributes for Routes

    In the BGP-MVPN address family view, a device can be configured to use its own IP address as the next-hop address of routes only when advertising these routes.

  5. Configuring BGP Community Attributes

    In the BGP-MVPN address family view, only standard community attributes can be sent to peers or peer groups.

Updated: 2019-04-20

Document ID: EDOC1100074724

Views: 44268

Downloads: 13

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