< Home

display mpls te protection tunnel

Function

The display mpls te protection tunnel command displays information about a specified tunnel and its tunnel protection group.

Format

display mpls te protection tunnel { all | tunnel-id | interface tunnel interface-number } [ verbose ]

Parameters

Parameter Description Value
all Displays information about all tunnel protection groups. -
tunnel-id Specifies the ID of a working tunnel or its protection tunnel. The value is an integer that ranges from 1 to 10000.
interface Displays information about tunnel protection groups on an interface. -
tunnel interface-number Specifies the name of a working tunnel or its protection tunnel. -
verbose Displays detailed information. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

The display mpls te protection tunnel command can be used to display information about a specified tunnel protection group. The following parameters can be specified to display various types of information:
  • If the ID or tunnel interface of the working tunnel is specified, information about the working tunnel and its protection tunnel is displayed.
  • If the ID or tunnel interface of a protection tunnel is specified, information about the protection tunnel and all its protected working tunnels is displayed.

Example

# Display information about a working tunnel with the tunnel ID of 100 and its protection tunnel.
<HUAWEI> display mpls te protection tunnel 100
------------------------------------------------------------------------
No. Work-tunnel status  /id  Protect-tunnel status /id    Switch-Result
------------------------------------------------------------------------
1           in defect   /100        non-defect     /300  protect-tunnel
Table 1 Description of the display mpls te protection tunnel command output

Item

Description

No.

Sequence number of a tunnel protection group.

Work-tunnel status /id

Status and ID of a working tunnel. The tunnel status can be:
  • non-defect: The tunnel functions properly.
  • in defect: The tunnel fails.

Protect-tunnel status /id

Status and ID of a protection tunnel. The tunnel status can be:
  • non-defect: The tunnel functions properly.
  • in defect: The tunnel fails.

Switch-Result

Switching result:
  • work-tunnel: Traffic switches to the working tunnel.
  • protect-tunnel: Traffic switches to the protection tunnel.
# Display detailed information about working tunnels and their protection tunnels.
<HUAWEI> display mpls te protection tunnel all verbose
---------------------------------------------------------------
Verbose information about the No.1 protection-group
----------------------------------------------------------------
Work-tunnel id                           : 1
Protect-tunnel id                        : 2
Work-tunnel name                         : Tunnel1
Protect-tunnel name                      : Tunnel2
Work-tunnel reverse-lsp                  : -
Protect-tunnel reverse-lsp               : -
Bridge type                              : 1:1       
Switch type                              : unidirectional
Switch result                            : work-tunnel
Tunnel using Best-Effort                 : none
Tunnel using Ordinary                    : none
Work-tunnel frr in use                   : none
Work-tunnel defect state                 : non-defect
Protect-tunnel defect state              : non-defect
Work-tunnel forward-lsp defect state     : non-defect
Protect-tunnel forward-lsp defect state  : non-defect
Work-tunnel reverse-lsp defect state     : non-defect
Protect-tunnel reverse-lsp defect state  : non-defect
HoldOff config time                      : 0ms
HoldOff remain time                      : -
WTR config time                          : 30s
WTR remain time                          : -
Mode                                     : revertive
Using same path                          : -
Local state                              : no request
Far end request                          : no request    
Table 2 Description of the display mpls te protection tunnel all verbose command output

Item

Description

Work-tunnel id ID of the working tunnel.
Protect-tunnel id ID of the protection tunnel.
Work-tunnel name Tunnel interface name of the working tunnel.
Protect-tunnel name Tunnel interface name of the protection tunnel.
Work-tunnel reverse-lsp Name of the reverse CR-LSP in the working tunnel.
Protect-tunnel reverse-lsp Name of the reverse CR-LSP in the protection tunnel.
Bridge type Bridge mode.
Switch type Switch mode.
Switch result Switching result:
  • work-tunnel: Traffic switches to the working tunnel.
  • protect-tunnel: Traffic switches to the protection tunnel.
Tunnel using Best-Effort Whether a best-effort path is used as a protection tunnel.
Tunnel using Ordinary Whether an ordinary backup tunnel is used as a protection tunnel.
Work-tunnel frr in use Whether the working tunnel is in the FRR in-use state.
Work-tunnel defect state Working tunnel status:
  • non-defect: The working tunnel functions properly.
  • in defect: The working tunnel fails.
Protect-tunnel defect state Protection tunnel status:
  • non-defect: The protection tunnel functions properly.
  • in defect: The protection tunnel fails.
Work-tunnel forward-lsp defect state Status of the forward CR-LSP in the working tunnel:
  • non-defect: The forward CR-LSP functions properly.
  • in defect: The forward CR-LSP fails.
Protect-tunnel forward-lsp defect state Status of the forward CR-LSP in the protection tunnel:
  • non-defect: The forward CR-LSP functions properly.
  • in defect: The forward CR-LSP fails.
Work-tunnel reverse-lsp defect state Status of the reverse CR-LSP in the working tunnel:
  • non-defect: The reverse CR-LSP functions properly.
  • in defect: The reverse CR-LSP fails.
Protect-tunnel reverse-lsp defect state Status of the reverse CR-LSP in the protection tunnel:
  • non-defect: The reverse CR-LSP functions properly.
  • in defect: The reverse CR-LSP fails.

HoldOff config time

Switching delay time.

To set the switching delay time, run the mpls te protection tunnel command.

HoldOff remain time

Remain time of switching delay time.

WTR config time

Wait-to-restore time.

To set the wait-to-restore time, run the mpls te protection tunnel command.

WTR remain time

Remain time of wait-to-restore time.
Mode Switchback mode:
  • revertive: supports a switchback.
  • non-revertive: does not support a switchback.

To set the switchback mode, run the mpls te protection tunnel command.

Using same path Whether a path of the working tunnel and a path of the protection tunnel overlap:
  • yes: The two tunnels have an overlapped path.
  • no: The two tunnels do not have an overlapped path.
  • -: Undetected.
Local state Switching mode on the local end:
  • signal fail for protection
  • no request
Far end request Switching mode on the remote end.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >