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


Before setting up an MPLS TE Tunnel, you must create a tunnel interface and configure other tunnel attributes on the tunnel interface. An MPLS TE tunnel interface is responsible for establishing an MPLS TE tunnel and managing packet forwarding on the tunnel.


Because the type of the packet forwarded by the MPLS TE tunnel is MPLS, the commands, such as the ip verify source-address and urpf commands, related to IP packet forwarding configured on this 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.

  3. To configure the IP address of the tunnel interface, select one of the following commands.

    • Run ip address ip-address { mask | mask-length } [ sub ]

      The IP address of the tunnel interface is configured.

      The secondary IP address of the tunnel interface can be configured only after the primary IP address is configured.

    • Or run ip address unnumbered interface interface-type interface-number

      The tunnel interface is configured to borrow an IP address from other interfaces.

    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

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

    Different types of tunnels need different destination addresses. When the tunnel protocol is changed to MPLS TE from other protocols, the configured destination address is deleted automatically and you need to configure an address again.

  6. Run mpls te tunnel-id tunnel-id

    The tunnel ID is configured.

  7. Run mpls te signal-protocol cr-static

    The signal protocol of the tunnel is configured to be static CR-LSP.

  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.

  9. Run mpls te commit

    The current tunnel configuration is committed.


    If MPLS TE parameters on a tunnel interface are modified, run the mpls te commit command to activate them.

Updated: 2019-10-18

Document ID: EDOC1000178315

Views: 130413

Downloads: 91

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next