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 - VPN 01

NE05E and NE08E V300R003C10SPC500

This is NE05E and NE08E V300R003C10SPC500 Configuration Guide - VPN
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 an H-VPN

Configuring an H-VPN

On an H-VPN, SPEs function as RRs and UPEs function as RR clients. UPEs receive specific routes from SPEs.


For H-VPN networking, you must perform the following configurations:
  • Configure a VPN instance on each UPE and NPE. For configuration details, see Configuring a VPN Instance.

  • Configure an MP-BGP peer relationship between each SPE and NPE and between each UPE and SPE. This configuration is similar to configuring an MP-IBGP peer relationship between PEs on a BGP/MPLS IP VPN. For configuration details, see Establishing MP-IBGP Peer Relationships Between PEs.

  • Configure routing protocols for NPEs and UPEs to exchange routes with CEs. This configuration is similar to configuring PEs and CEs to exchange routes on a BGP/MPLS IP VPN. For configuration details, see Configuring Route Exchange Between PEs and CEs.

  • Configure SPEs as RRs and configure UPEs as RR clients.

Perform the following steps on each SPE.


  1. Run system-view

    The system view is displayed.

  2. Run bgp as-number

    The BGP view is displayed.

  3. Run ipv4-family vpnv4

    The BGP-VPNv4 address family view is displayed.

  4. Run peer { ipv4-address | group-name } reflect-client

    The SPE is configured as an RR and the UPEs are configured as RR clients.

  5. Run peer { ipv4-address | group-name } next-hop-local

    The SPE is configured to use its own IP address as the next hops of routes when advertising these routes.

    To enable an SPE to use its own IP address as the next hops of routes when advertising these routes to UPEs and NPEs, run the peer next-hop-local command twice with different parameters specified on the SPE.

  6. (Optional) Run apply-label per-nexthop

    One-label-per-next-hop label distribution is enabled on the SPE.

    In an H-VPN scenario, if an SPE needs to send large numbers of VPNv4 routes but the MPLS labels are inadequate, configure one-label-per-next-hop label distribution on the SPE.

    After one-label-per-next-hop label distribution is enabled or disabled on an SPE, the labels assigned by the SPE to routes change. As a result, temporary packet loss may occur.

  7. Run commit

    The configuration is committed.

Updated: 2019-01-14

Document ID: EDOC1100058925

Views: 31954

Downloads: 59

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