display srv6-te policy last-down-reason

Function

The display srv6-te policy last-down-reason command displays records about events where SRv6 TE Policies or segment lists in SRv6 TE Policies go down. You can query a maximum of 50000 Segment List down records and a maximum of 256 segment list down records under each SRv6 TE Policy.

Format

display srv6-te policy last-down-reason [ endpoint endpoint-ip color color-value | policy-name name-value | binding-sid binding-sid ]

Parameters

Parameter Description Value
endpoint endpoint-ip

Specifies the endpoint of an SRv6 TE Policy.

The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X.

color color-value

Specifies the color value of an SRv6 TE Policy.

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

policy-name name-value

Specifies the name of an SRv6 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 a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X.

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 SRv6 TE Policies or segment lists in SRv6 TE Policies go down, run the display srv6-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 the down record of the SRv6 TE Policy based on the policy name.
<HUAWEI> display srv6-te policy last-down-reason policy-name p1
PolicyName : p1
Color                : 2                    Endpoint             : 2001:DB8:2::32
TunnelId             : 1                    Binding SID          : -
Up Time              : 2020-04-09 12:15:40.775
Down Time            : 2020-04-09 12:16:26.219
Down Reason          : No Active Path
 Segment-List ID     : 1
  Segment-List Name  : l1
  Up Time            : 2020-04-09 12:15:40.775
  Down Time          : 2020-04-09 12:16:45.801
  Down Reason        : SID Unreachable (2001:DB8:30::BB)
  Segment-List       :
                       2001:DB8:30::BB
                       2001:DB8:20::3
Table 1 Description of the display srv6-te policy last-down-reason command output
Item Description
PolicyName

SRv6 TE Policy name.

Color

Color value of an SRv6 TE Policy.

Endpoint

Endpoint of an SRv6 TE Policy.

TunnelId

Tunnel ID of an SRv6 TE Policy.

Binding SID

Binding SID of an SRv6 TE Policy.

Up Time

Time when an SRv6 TE Policy went up. The following information shows the time when the segment list went up.

Down Time

Time when an SRv6 TE Policy went down. The following information shows the time when the segment list went down.

Down Reason

The first Down Reason field displays the reason why the SRv6 TE Policy went Down. The options are as follows:

  • Admin Down (The administrative state is down.).
  • No active path (There are no valid candidate paths, or no segment lists exist under candidate paths.).
  • Token Overrun (The number of forwarding resources exceeds the threshold.).

The second Down Reason field displays the reason why the segment list goes Down. The value in the brackets indicates the SID of the first Down segment in the fault detection state. The options are as follows:

  • Delete (The segment list is deleted.).
  • SID Unreachable (The fault detection status of the segment list is down. The SID of the first fault detection Down in the segment list stack is marked.).
  • Token Overrun (The number of forwarding resources exceeds the threshold.).
  • Path Deactive (The candidate path is not preferentially selected.).
  • BFD Detect Down (BFD fails.).
  • Weight Invalid (An invalid weight value is configured for the segment list.).
Segment-List ID

ID of the segment list referenced by an SRv6 TE Policy's candidate path.

Segment-List Name

Name of the segment list referenced by an SRv6 TE Policy's candidate path. If no segment list is referenced, this field is empty.

Segment-List

SID stack of the segment list referenced by an SRv6 TE Policy's candidate path.

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