display sr-te policy last-down-reason

Function

The display sr-te policy last-down-reason command displays records about events where SR-MPLS TE Policies or segment lists in SR-MPLS TE Policies go down.

Format

display sr-te policy last-down-reason [ endpoint ipv4-address color color-value | policy-name name-value | binding-sid binding-sid ]

Parameters

Parameter Description Value
endpoint ipv4-address

Specifies the endpoint of an SR-MPLS TE Policy.

The value is in dotted decimal notation.

color color-value

Specifies the color of an SR-MPLS TE Policy.

The value is an integer that ranges from 0 to 4294967295.

policy-name name-value

Specifies the name of an SR-MPLS TE Policy.

The value is a string of 1 to 31 case-sensitive characters. When double quotation marks are used around the string, spaces are allowed in the string.

binding-sid binding-sid

Specifies a binding SID.

The value is an integer that ranges from 16 to 1048575.

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
srpolicy read

Usage Guidelines

Usage Scenario

To check records about events where SR-MPLS TE Policies or segment lists in SR-MPLS TE Policies go down, run the display sr-te policy last-down-reason command. The command output facilitates troubleshooting.

Example

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

# Display SR-MPLS TE Policy down records by color value and endpoint.
<HUAWEI> display sr-te policy last-down-reason endpoint 3.3.3.9 color 100
PolicyName : policy100
Endpoint             : 3.3.3.9              Color                : 100
Binding SID          : 115                  TunnelId             : 1
Up Time              : 2019-03-08 09:09:25.271
Down Time            : 2019-03-08 09:09:59.089
Down Reason          : Admin Shutdown
 Segment-List ID : 4
  Segment-List       : pe1backup
  Label              : 330001, 330003 
  Up Time            : 2019-03-08 09:09:25.272
  Down Time          : 2019-03-08 09:09:59.090
  Down Reason        : Delete
 Segment-List ID : 3
  Segment-List       : pe1
  Label              : 330000, 330002 
  Up Time            : 2019-03-08 09:09:25.272
  Down Time          : 2019-03-08 09:09:59.090
  Down Reason        : Delete
 Segment-List ID : 2
  Segment-List       : pe1
  Label              : 330000, 330002 
  Up Time            : 2019-03-08 09:09:25.271
  Down Time          : 2019-03-08 09:09:35.267
  Down Reason        : Delete
 Segment-List ID : 1
  Segment-List       : pe1backup
  Label              : 330001, 330003 
  Up Time            : 2019-03-08 09:09:25.271
  Down Time          : 2019-03-08 09:09:25.272
  Down Reason        : Delete
# Display SR-MPLS TE Policy down records by policy name.
<HUAWEI> display sr-te policy last-down-reason policy-name policy100
PolicyName : policy100
Endpoint             : 3.3.3.9              Color                : 100
Binding SID          : 115                  TunnelId             : 1
Up Time              : 2019-03-08 09:09:25.271
Down Time            : 2019-03-08 09:09:59.089
Down Reason          : Admin Shutdown
 Segment-List ID : 4
  Segment-List       : pe1backup
  Label              : 330001, 330003 
  Up Time            : 2019-03-08 09:09:25.272
  Down Time          : 2019-03-08 09:09:59.090
  Down Reason        : Delete
 Segment-List ID : 3
  Segment-List       : pe1
  Label              : 330000, 330002 
  Up Time            : 2019-03-08 09:09:25.272
  Down Time          : 2019-03-08 09:09:59.090
  Down Reason        : Delete
 Segment-List ID : 2
  Segment-List       : pe1
  Label              : 330000, 330002 
  Up Time            : 2019-03-08 09:09:25.271
  Down Time          : 2019-03-08 09:09:35.267
  Down Reason        : Delete
 Segment-List ID : 1
  Segment-List       : pe1backup
  Label              : 330001, 330003 
  Up Time            : 2019-03-08 09:09:25.271
  Down Time          : 2019-03-08 09:09:25.272
  Down Reason        : Delete
Table 1 Description of the display sr-te policy last-down-reason command output
Item Description
PolicyName

Name of an SR-MPLS TE Policy. If the SR-MPLS TE Policy is delivered by BGP, no name is displayed.

Endpoint

Endpoint of an SR-MPLS TE Policy.

Color

Color value configured for an SR-MPLS TE Policy.

Binding SID

SID bound to an SR-MPLS TE Policy.

TunnelId

Tunnel ID of an SR-MPLS TE Policy.

Up Time

Time when an SR-MPLS TE Policy went up.

Down Time

Time when an SR-MPLS TE Policy went down.

Down Reason

Reason why an SR-MPLS TE Policy went down.

Segment-List ID

ID of the segment list referenced by the candidate path of an SR-MPLS TE Policy.

  • Segment-List: name of the segment list referenced by the candidate path of an SR-MPLS TE Policy. If no segment list is referenced, this field is empty.
  • Label: label stack of the segment list referenced by an SR-MPLS TE Policy's candidate path.
  • Up Time: time when the segment list went up.
  • Down Time: time when the segment list went down.
  • Down Reason: reason why the segment list went down.
Label

Label stack of the segment list referenced by the candidate path of an SR-MPLS TE Policy.

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