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.


NE40E V800R010C00 Configuration Guide - MPLS 01

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 Tunnel Re-optimization

Configuring Tunnel Re-optimization

Tunnel re-optimization is configured to allow a device to dynamically adjust paths for tunnels.

Usage Scenario

Topology and link attributes of an IP/MPLS network are changeable. As a result, a path over which an MPLS TE tunnel has been established may not be optimal. Tunnel re-optimization can be configured to allow the MPLS TE tunnel to be reestablished over an optimal path.

Re-optimization is implemented in either of the following modes:
  • Periodic re-optimization: The system attempts to reestablish tunnels over better paths (if there are) at a specified interval configured using the mpls te auto reoptimization command. This implementation prevents manual intervention and reduces configuration workload.

  • Manual re-optimization: A user configures the system to attempt to reestablish TE tunnels over better paths if there are.


Tunnel re-optimization does not take effect on a tunnel if this tunnel has been established over an explicit path.

Tunnel re-optimization cannot be used on tunnels for which a system selects paths in most-fill tie-breaking mode.

Pre-configuration Tasks

Before configuring tunnel re-optimization, configure an RSVP-TE tunnel.


  • Configure periodic re-optimization.
    1. Run:


      The system view is displayed.

    2. Run:

      interface tunnel interface-number

      The tunnel interface view of the tunnel to be established is displayed.

    3. Run:

      mpls te reoptimization [ frequency interval ]

      Periodic re-optimization is enabled.

    4. (Optional) Run:


      Return to the system view.

    5. (Optional) Run:


      The MPLS view is displayed.

    6. (Optional) Run:

      mpls te reoptimization link-up disable

      Link change-triggered RSVP-TE tunnel re-optimization is disabled.

      If route flapping occurs on a network, tunnel re-optimization is repeatedly triggered, which wastes network resources. To prevent the problem, run the mpls te reoptimization link-up disable command to disable link change-triggered RSVP-TE tunnel re-optimization. After this command is run, tunnels are not optimized.


      This command prevents tunnel re-optimization triggered by link changes. If the frequency interval parameter is set in the mpls te reoptimization command run in the tunnel interface view to enable tunnel re-optimization for a specific tunnel, the tunnel can be optimized properly.

      The mpls te reoptimization link-up disable command disables all tunnel re-optimization functions.

    7. Run:


      The configuration is committed.

  • Configure manual re-optimization. Run the following command in the user view:

    mpls te reoptimization [ auto-tunnel name tunnel-interface | tunnel tunnel-number ]

    Manual re-optimization is configured.

    Manual re-optimization can be enabled on a specific or all tunnels on a node.

Checking the Configurations

After completing the configuration, run the display mpls te tunnel-interface command on the ingress of a tunnel to view the following information:

  • Whether periodic re-optimization is enabled
  • Interval between periodic re-optimization processes
<HUAWEI> display mpls te tunnel-interface
    Tunnel Name       : Tunnel1
    Signalled Tunnel Name: -
    Tunnel State Desc : CR-LSP is Up
    Tunnel Attributes   :     
    Active LSP          : Primary LSP                                       
    Traffic Switch      : - 
    Session ID          : 1
    Ingress LSR ID      :               Egress LSR ID:
    Admin State         : UP                    Oper State   : UP
    Signaling Protocol  : RSVP
    FTid                : 1
    Tie-Breaking Policy : None                  Metric Type  : None
    Bfd Cap             : None                  
    Reopt               : Disabled              Reopt Freq   : -              
    Auto BW             : Disabled              Threshold    : 0 percent
    Current Collected BW: 0 kbps                Auto BW Freq : 0
    Min BW              : 0 kbps                Max BW       : 0 kbps
    Offload             : Disabled              Offload Freq : - 
    Low Value           : -                     High Value   : - 
    Readjust Value      : - 
    Offload Explicit Path Name: 
    Tunnel Group        : -                                              
    Interfaces Protected: -
    Excluded IP Address : -
    Referred LSP Count  : 0  
    Primary Tunnel      : -                     Pri Tunn Sum : -              
    Backup Tunnel       : -                                                    
    Group Status        : -                     Oam Status   : -             
    IPTN InLabel        : -                     Tunnel BFD Status : -                               
    BackUp LSP Type     : None                  BestEffort   : Disabled
    Secondary HopLimit  : -
    BestEffort HopLimit  : -
    Secondary Explicit Path Name: -
    Secondary Affinity Prop/Mask: 0x0/0x0
    BestEffort Affinity Prop/Mask: 0x0/0x0  
    IsConfigLspConstraint: -
    Hot-Standby Revertive Mode:  Revertive
    Hot-Standby Overlap-path:  Disabled
    Hot-Standby Switch State:  CLEAR
    Bit Error Detection:  Disabled
    Bit Error Detection Switch Threshold:  -
    Bit Error Detection Resume Threshold:  -
    Ip-Prefix Name    : -
    P2p-Template Name : -
    PCE Delegate      : Only status report      LSP Control Status : Local control
    Entropy Label       :None 
    Associated Tunnel Group ID: -                 Associated Tunnel Group Type: -
    Auto BW Remain Time : 200 s   Reopt Remain Time  : 100 s

    Primary LSP ID      :
    LSP State           : UP                    LSP Type     : Primary
    Setup Priority      : 7                     Hold Priority: 7
    IncludeAll          : 0x0
    IncludeAny          : 0x0
    ExcludeAny          : 0x0
    Affinity Prop/Mask  : 0x0/0x0               Resv Style   :  SE
    Configured Bandwidth Information:
    CT0 Bandwidth(Kbit/sec): 20000           CT1 Bandwidth(Kbit/sec): 0
    CT2 Bandwidth(Kbit/sec): 0               CT3 Bandwidth(Kbit/sec): 0
    CT4 Bandwidth(Kbit/sec): 0               CT5 Bandwidth(Kbit/sec): 0
    CT6 Bandwidth(Kbit/sec): 0               CT7 Bandwidth(Kbit/sec): 0
    Actual Bandwidth Information:
    CT0 Bandwidth(Kbit/sec): 20000           CT1 Bandwidth(Kbit/sec): 0
    CT2 Bandwidth(Kbit/sec): 0               CT3 Bandwidth(Kbit/sec): 0
    CT4 Bandwidth(Kbit/sec): 0               CT5 Bandwidth(Kbit/sec): 0
    CT6 Bandwidth(Kbit/sec): 0               CT7 Bandwidth(Kbit/sec): 0
    Explicit Path Name  : -                                Hop Limit: -
    Record Route        : Disabled              Record Label : Disabled
    Route Pinning       : Disabled
    FRR Flag            : Disabled
    IdleTime Remain     : -
    BFD Status          : -
    Soft Preemption     : Enabled 
    Reroute Flag        : Disabled
    Pce Flag            : Normal
Updated: 2018-07-12

Document ID: EDOC1100028530

Views: 101991

Downloads: 336

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