display mpls te protection tunnel

Function

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

Format

display mpls te protection tunnel { all | tunnel-id | interface { interface-type interface-number | tunnel-interface-name } }

display mpls te protection tunnel { all | tunnel-id | interface { interface-type interface-number | tunnel-interface-name } } verbose

Parameters

Parameter Description Value
all

Display all Tunnel Info.

-

tunnel-id

Specifies the tunnel ID.

The value is an integer ranging from 1 to 65535.

interface

Show verbose information.

-

interface-type

Specifies the interface type.

-

interface-number

Specifies the interface number.

-

tunnel-interface-name

Specifies the interface name.

-

verbose

Specify an interface.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
mpls-te read

Usage Guidelines

Usage Scenario

Automatic protection switching (APS) enables nodes on both ends of a tunnel to switch and restore traffic if a fault occurs, implementing uninterrupted traffic transmission.

If a fault occurs on a working tunnel in a tunnel protection group, APS switches services from the working tunnel to a protection tunnel. After the working tunnel recovers, APS switches services back to the working tunnel if the retrieve mode is enabled for the protection group.

The display mpls te protection tunnel aps 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.

Precautions

Only the NetEngine 8000 F1A supports this command.

Example

The actual command output varies according to the device. The command output here is only an 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.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >