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).
Configuring a Tunnel Policy

Configuring a Tunnel Policy

A tunnel policy can determine the sequence in which tunnels are selected or bind a TE tunnel to a specified destination IP address.

Context

In the tunnel policy view, the tunnel type prioritizing policy and tunnel binding policy are mutually exclusive. Choose one of the following configurations as needed.

Procedure

  • Configure a tunnel type prioritizing policy.
    1. Run system-view

      The system view is displayed.

    2. Run tunnel-policy policy-name

      A tunnel policy is created, and the tunnel policy view is displayed.

    3. Run tunnel select-seq { cr-lsp | gre | { lsp | { ldp | bgp | sr-lsp } } } * load-balance-number load-balance-number [ unmix ]

      The sequence in which each type of tunnel is selected and the number of tunnels participating in load balancing are configured.

      After this command is run, the system selects tunnels based on the specified sequence. If tunnels that have higher priorities are unreachable, the system will continue to select tunnels that have lower priorities based on the sequence. For example, if the tunnel select-seq cr-lsp lsp load-balance-number 3 command is run, the system can select MPLS TE tunnels (as preferred ones) or LSPs for VPN service transmission and use a maximum of three tunnels for load balancing. If the number of available MPLS TE tunnels is smaller than 3, LSPs will be qualified to join the MPLS TE tunnels in load balancing.

      LSPs include LDP LSPs, SR-LSPs, and BGP LSPs. If lsp is specified, the default priority sequence in descending order is LDP LSP > BGP LSP > SR-LSP. If sr-lsp, ldp or bgp is specified, the priority sequence for LSPs can be specified.

      CR-LSPs include RSVP-TE tunnels and SR-TE tunnels. If cr-lsp is specified in the tunnel select-seq command, the tunnel that goes Up earlier has a higher priority.

      If unmix is configured, only one type of tunnel can be selected. For example, in a scenario where the tunnel select-seq cr-lsp lsp load-balance-number 3 unmix command is configured for the tunnel policy:
      • If three or more CR-LSPs are available on the network, the system randomly selects three of them for service transmission.

      • If less than three CR-LSPs are available on the network, the system selects only the available CR-LSPs for service transmission.

    4. Run commit

      The configuration is committed.

  • Configure a tunnel binding policy.
    1. Run system-view

      The system view is displayed.

    2. Run tunnel-policy policy-name

      A tunnel policy is created, and the tunnel policy view is displayed.

    3. Run tunnel binding destination dest-ip-address te { tunnel interface-number } &<1-6> [ down-switch ]

      A tunnel policy is configured to bind a TE tunnel to the specified destination address.

    4. Run commit

      The configuration is committed.

Translation
Download
Updated: 2019-01-14

Document ID: EDOC1100058925

Views: 31932

Downloads: 59

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