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

Reminder

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

upgrade

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).
(Optional) Configuring One-Label-per-Next-Hop Label Distribution

(Optional) Configuring One-Label-per-Next-Hop Label Distribution

To save label resources on a PE, configure one-label-per-next-hop label distribution on the PE. Only one label is allocated to the VPNv4 routes that have the same next-hop address and outgoing label.

Context

In the scenario where multiple CEs access a PE, if the PE needs to send large numbers of VPNv4 routes to its peer but the MPLS labels are inadequate, configure one-label-per-next-hop label distribution on the PE. Then the PE allocates only one label to the VPNv4 routes that have the same next-hop address and outgoing label, which greatly saves label resources.

Perform the following steps on a PE.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run ip vpn-instance vpn-instance-name

    The VPN instance view is displayed.

  3. Run ipv4-family

    The BGP-IPv4 unicast address family view is displayed.

  4. Run apply-label per-nexthop

    One-label-per-next-hop label distribution for VPNv4 routes is enabled on the PE.

    NOTE:

    After one-label-per-next-hop label distribution is enabled or disabled, the label allocated by the PE to a route changes, which leads to a transient loss of VPN packets.

  5. (Optional) Run apply-label per-nexthop pop-go

    The device is configured to assign a unique label to the VPNv4 routes with the same next-hop address sent to its VPNv4 peer and forward the data packets received from its VPNv4 peer through outbound interfaces found in the local ILM.

    NOTE:

    In VPN instance IPv4 address family view, the apply-label per-nexthop pop-go and apply-label per-nexthop commands are overwritten. The latest configuration overrides the previous one.

  6. Run commit

    The configuration is committed.

Checking the Configurations

After completing the configuration, you can run the display ip vpn-instance verbose to view details on VPN instances.

[~HUAWEI] display ip vpn-instance verbose
 Total VPN-Instances configured      : 1
 Total IPv4 VPN-Instances configured : 1
 Total IPv6 VPN-Instances configured : 0

 VPN-Instance Name and ID : w, 3
  Interfaces : Ethernet3/0/0
 Address family ipv4
  Create date : 2017-07-03 07:56:38+00:00
  Up time : 0 days, 18 hours, 40 minutes and 04 seconds       
  Route Distinguisher : 1:1
  Export VPN Targets : 1:1
  Import VPN Targets : 1:1
  Label Policy : label per nexthop
  The diffserv-mode Information is : uniform
  The ttl-mode Information is : pipe
Translation
Download
Updated: 2019-01-14

Document ID: EDOC1100058925

Views: 27926

Downloads: 53

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