Checking the Configurations
After configuring CR-LSP backup, you can view information about backup CR-LSPs.
Procedure
- Run the display mpls te tunnel-interface command to check information about a tunnel interface on the ingress of a tunnel.
- Run the display mpls te hot-standby state { all [ verbose ] | interface tunnel-interface-name } command to check information about the hot-standby status.
Example
Run the following commands to check the previous configurations.
Run the display mpls te tunnel-interface command. The command output shows that the tunnel is Up.
<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 hot-standby state interface tunnel interface-name command to view the hot-standby status of the tunnel interface.
<HUAWEI> display mpls te hot-standby state interface Tunnel 1 ---------------------------------------------------------------- Verbose information about the Tunnel1 hot-standby state ---------------------------------------------------------------- Tunnel name : Tunnel1 Session ID : 1 Main LSP index : 0x33 Hot-standby LSP index : 0x161 HSB switch result : hot-standby LSP HSB switch reason : wait to restore WTR config time : 10 s WTR remain time : 2 s Current state : wait to restore Using overlapped path : no