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

CloudEngine 12800 and 12800E V200R005C10

This document describes the configurations of VPN, including GRE, BGP/MPLS IP VPN, BGP/MPLS IPv6 VPN, VLL, PWE3, and VPLS.
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 and Applying a Tunnel Policy

Configuring and Applying a Tunnel Policy

Context

You also need to configure tunnel policies when VLL services need to be transmitted over TE tunnels or when VLL services need to be load balanced among multiple tunnels to fully use network resources.

Layer 2 data on the VLL network is transmitted over tunnels. By default, LSP tunnels are used to transmit data, and each service is transmitted by only one LSP tunnel.

If the default tunnel configuration cannot meet VLL service requirements, apply tunnel policies to VLLs. You can configure either of the following types of tunnel policies:

  • Tunnel type prioritization policy: This policy can change the type of tunnels selected for VPN data transmission or select multiple tunnels for load balancing.
  • Tunnel binding policy: This policy can bind multiple TE tunnels to provide QoS guarantee for a VPN.

Pre-configuration Tasks

Before configuring and applying a tunnel policy, complete the following task:

Create a tunnel (an LSP or an MPLS TE tunnel) to transmit VLL services.

For details on how to create an LSP tunnel and a TE tunnel, see MPLS LDP Configuration in the CloudEngine 12800 and 12800E Series Switches Configuration Guide - MPLS and MPLS TE Configuration in the CloudEngine 12800 and 12800E Series Switches Configuration Guide - MPLS.

Perform the following operations on the PE devices that need to use a tunnel policy:

Procedure

  1. Configure a tunnel policy.

    Use either of the following methods to configure a tunnel policy.

    Configure a tunnel type prioritization policy.

    By default, no tunnel policy is configured. LSP tunnels are used to transmit VLL data and each VLL service is transmitted over one LSP tunnel.

    1. Run system-view

      The system view is displayed.

    2. Run tunnel-policy policy-name

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

    3. (Optional) Run description description-information

      The description of the tunnel policy is configured.

    4. Run tunnel select-seq { cr-lsp | lsp } * load-balance-number 1

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

    5. Run commit

      The configuration is committed.

    Configure a tunnel binding policy.

    1. Run system-view

      The system view is displayed.

    2. Run interface tunnel interface-number

      The tunnel interface view of the MPLS TE tunnel is displayed.

    3. Run mpls te reserved-for-binding

      The binding capability of the TE tunnel is enabled.

    4. Run quit

      Return to the system view.

    5. Run tunnel-policy policy-name

      A tunnel policy is created.

    6. (Optional) Run description description-information

      The description of the tunnel policy is configured.

    7. Run tunnel binding destination dest-ip-address te { tunnel interface-number } &<1-16> [ ignore-destination-check ] [ down-switch ]

      The TE tunnel is bound to a specified tunnel policy.

    8. Run commit

      The configuration is committed.

  2. Apply the tunnel policy.

    Perform the following operations on the AC interfaces of the PE devices:
    • Run mpls l2vc ip-address vc-id tunnel-policy policy-name [ [ control-word | no-control-word ] | [ raw | tagged ] ] *

      A Martini VLL connection is created and the tunnel policy is applied to the connection.

    • Run commit

      The configuration is committed.

Verifying the Configuration

After configuring a tunnel policy and applying it to a VLL, you can check information about the tunnel policy applied to the VLL and tunnels in the system.

  • Run the display interface tunnel interface-number command to check detailed information about a specified tunnel interface.
  • Run the display tunnel-policy [ tunnel-policy-name ] command to check information about the specified tunnel policy.
  • Run the display mpls l2vc [ vc-id | interface interface-type interface-number | remote-info [ vc-id | unmatch | verbose ] | state { down | up } ] command to check tunnel information about the Martini VLL.
Translation
Download
Updated: 2019-04-03

Document ID: EDOC1100075353

Views: 14331

Downloads: 25

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