Disabling the Rerouting Function
The rerouting function enables MPLS TE to re-select another path for LSP reestablishment in the case that the original path fails. This function is enabled by default. This section describes how to disable it.
Usage Scenario
If an LSP path fails, the LSP goes Down. The rerouting function allows MPLS TE to re-select another available path for LSP establishment. However, this may cause traffic congestion on the re-selected path. In this situation, run the mpls te reroute disable command to disable the rerouting function. The path over which the Up LSP is established then functions as a constraint path. Even if the path fails, MPLS TE still uses it for LSP reestablishment. However, manual intervention (for example, manually modifying the LSP configuration or triggering LSP rerouting) will delete the constraint path. After a new LSP goes up, the new LSP path serves as the new constraint path.
Procedure
- Run:
system-view
The system view is displayed.
- Run:
interface tunnel tunnel-number
The tunnel interface view of the tunnel to be established is displayed.
- Run:
mpls te reroute disable
The rerouting function is disabled.
- Run:
commit
The configuration is committed.
Checking the Configurations
Run the display mpls te tunnel-interface command to check the tunnel interface information on the local node.
Run the display mpls te tunnel locked-path command to check the locked path attributes of a TE tunnel on the local node.
Run the display mpls te tunnel-interface command. The Reroute Flag field shows that the rerouting function is disabled.
<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 : 1.1.1.9 Egress LSR ID: 4.4.4.9 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 : 1.1.1.9:19 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
Run the display mpls te tunnel locked-path command. The command output shows the locked path attributes after the rerouting function is disabled.
<HUAWEI> display mpls te tunnel locked-path
Tunnel Interface Name : Tunnel1
Lsp ID : 1.1.1.1 :1 :610
Locked-Hop Information
Hop 1 10.1.1.1
Hop 2 10.1.1.2
Hop 3 2.2.2.2