display mpls te hot-standby state interface

Function

The display mpls te hot-standby state interface command displays information about primary and hot-standby CR-LSPs and tunnel switchover results on a specified tunnel interface or all tunnel interfaces.

Format

display mpls te hot-standby state interface { interface-type interface-number | interface-name }

Parameters

Parameter Description Value
interface-type

Specifies the interface type.

-

interface-number

Specifies the interface number.

-

interface-name

Specifies the interface name.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
mpls-te read

Usage Guidelines

Usage Scenario

To view information about primary and hot-standby CR-LSPs and the tunnel in use after a switchover, run the display mpls te hot-standby state command.

You can view the detailed reasons for the TE HotStandby switch by using the display mpls te hot-standby state interface command, including:

1.The primary LSP protocol is Down.

2.The primary LSP BFD detects Down.

3.The main LSP error is caused.

4.Primary LSP FRR In Use.

Example

The actual command output varies according to the device. The command output here is only an example.

# View the status and switching results of the active and standby LSPs of Tunnel1.
<HUAWEI> display mpls te hot-standby state interface Tunnel1
(s): same path
----------------------------------------------------------------
Verbose information about the Tunnel1 hot-standby state
----------------------------------------------------------------
    Tunnel Name           : Tunnel1
    Session ID            : 1
    Main LSP index        : 0x21
    Hot-standby LSP index : 0x41
    HSB switch result     : main LSP
    HSB switch reason     : -
    WTR config time       : 10 s
    WTR remain time       : -
    Using overlapped path : no
    Fast switch status    : no
Table 1 Description of the display mpls te hot-standby state interface command output
Item Description
Tunnel Name

Tunnel name.

Session ID

Session ID, that is, the configured tunnel ID.

Main LSP index

Index of the primary CR-LSP.

Hot-standby LSP index

Index of the hot-standby CR-LSP.

HSB switch result

Tunnel switching result:

  • main LSP: Data is switched to the primary CR-LSP.
  • hot-standby LSP: Data is switched to the hot-standby CR-LSP.
  • Best-Effort LSP: Data is switched to the best-effort path.
HSB switch reason

Reason for traffic switching:

  • force: A user manually switches the traffic forcibly.
  • signal fail: The switching is caused by information loss.
  • bfd status down: The switching is caused by BFD Down.
  • signal degrade: The switching is caused by bit errors.
  • FRR In Use: The FRR is used.
  • wait to restore: During WTR, the WTR time exceeds the switchback delay time, causing the switching.
  • do not revert: The switchback is not allowed.
  • -: Other reasons.
WTR config time

WTR time. After the primary LSP recovers, the system waits for a period of time before switching data back to the primary LSP from the hot-standby LSP or best-effort path. This period of time is called the WTR time.

WTR remain time

Remaining time before traffic is switched back from the hot-standby LSP to the primary LSP. This field is displayed only when traffic is transmitted on the hot-standby LSP. Otherwise, this field is displayed as -. If traffic is transmitted on the hot-standby LSP and the traffic cannot be switched back to the primary LSP due to forcible switching or non-revertive configuration, "-" is also displayed.

Using overlapped path

Whether the working and protection paths overlap:

  • yes: Some paths overlap.
  • no: There is no overlapping path.
  • -: Cannot be compared.
Fast switch status

Fast switching status.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >