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 - MPLS

S7700 and S9700 V200R011C10

This document describes MPLS configurations supported by the switch, including the principle and configuration procedures of static LSPs, MPLS LDP, MPLS TE, MPLS QoS, MPLS OAM, Seamless MPLS, and MPLS common features, and provides configuration examples.
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 MPLS TE Tunnel Interface

Configuring an MPLS TE Tunnel Interface


A tunnel interface must be created on the ingress so that a tunnel can be established and forward data packets.

A tunnel interface supports the following functions:
  • Establishes a tunnel. Tunnel constraints, bandwidth attributes, and advanced attributes such as TE FRR and tunnel re-optimization can be configured on the tunnel interface to establish the tunnel.
  • Manages a tunnel. Tunnel attributes can be modified on the tunnel interface to manage the tunnel.

Because MPLS TE tunnels forward MPLS packets, not IP packets, IP forwarding-related commands run on the tunnel interface are invalid.

Perform the following configurations on the ingress node of an MPLS TE tunnel.


  1. Run system-view

    The system view is displayed.

  2. Run interface tunnel interface-number

    A tunnel interface is created and the tunnel interface view is displayed.

    If the shutdown command is run on the tunnel interface, all tunnels established on the tunnel interface will be deleted.

  3. Run either of the following commands to assign an IP address to the tunnel interface:

    • To configure an IP address for the tunnel interface, run ip address ip-address { mask | mask-length } [ sub ]

      The primary IP address must be configured before the secondary IP address is configured.

    • To configure the tunnel interface to borrow an IP address of another interface, run ip address unnumbered interface interface-type interface-number

    An MPLS TE tunnel can be established even if the tunnel interface is assigned no IP address. The tunnel interface must obtain an IP address before forwarding traffic. An MPLS TE tunnel is unidirectional and does not need to configure a separate IP address for the tunnel interface. Generally, a loopback interface is created on the ingress node and a 32-bit address that is the same as the LSR ID is assigned to the loopback interface. Then the tunnel interface borrows the IP address of the loopback interface.

  4. Run tunnel-protocol mpls te

    MPLS TE is configured as a tunnel protocol.

  5. Run destination dest-ip-address

    A tunnel destination address is configured, which is usually the LSR ID of the egress.

    Various types of tunnels require specific destination addresses. If a tunnel protocol is changed from another protocol to MPLS TE, a configured destination address is deleted automatically and a new destination address needs to be configured.

  6. Run mpls te tunnel-id tunnel-id

    A tunnel ID is set.

  7. Run mpls te signal-protocol rsvp-te

    RSVP-TE is configured as the signaling protocol.

  8. (Optional) Run mpls te signalled tunnel-name tunnel-name

    The tunnel name is specified.

    By default, the tunnel interface name such as Tunnel1 is used as the name of the TE tunnel.

    Perform this step to fulfill the following purposes:
    • Facilitate TE tunnel management.
    • Allow a Huawei device to be connected to a non-Huawei device that uses a tunnel name that differs from the tunnel interface name.

  9. (Optional) Run mpls te cspf disable

    Do not perform the constraint shortest path first (CSPF) calculation when an MPLS TE tunnel is being set up.

  10. Run mpls te commit

    The configuration is committed.


    The mpls te commit command must be run to make configurations take effect each time MPLS TE parameters are changed on a tunnel interface.

Updated: 2019-10-18

Document ID: EDOC1000178315

Views: 119698

Downloads: 89

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