display sr-te policy status

Function

The display sr-te policy status command displays SR-MPLS TE Policy status.

Format

display sr-te policy status { 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 value of an SR-MPLS TE Policy.

The value is an integer ranging 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 ranging 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 SR-MPLS TE Policy status for determining the reason why an SR-MPLS TE Policy cannot go up, run the display sr-te policy status 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 status.
<HUAWEI> display sr-te policy status policy-name p7
Policy State                              : Down
  Check Admin Status                      : Pass
  Check Endpoint & Color                  : Pass
  Check Policy Not Reach Limit            : Pass
  Check Segment List Exist                : Fail
  Check Segment List Not Reach Limit      : --
  Check Candidate Path Valid              : --
Exist Valid BSID for Stitching            : Yes
Table 1 Description of the display sr-te policy status command output
Item Description
Policy State

SR-MPLS TE Policy status:

  • Up.
  • Down.
Check Admin Status

Whether the shutdown command is run for an SR-MPLS TE Policy:

  • Fail: The shutdown command is run.
  • Pass: The shutdown command is not run.
Check Endpoint & Color

Whether endpoint and color attributes are configured for an SR-MPLS TE Policy:

  • Fail: The endpoint and color attributes are not configured.
  • Pass: The endpoint and color attributes are configured.

If the result of the previous check item is Fail, two hyphens (--) are displayed.

Check Policy Not Reach Limit

Whether the failure for an SR-MPLS TE Policy to go up occurs because the number of existing SR-MPLS TE Policies exceeds the upper threshold:

  • Fail: The failure is caused by threshold-crossing.
  • Pass: The failure is not caused by threshold-crossing.

If the result of any previous check item is Fail, two hyphens (--) are displayed.

Check Segment List Exist

Whether the candidate path of an SR-MPLS TE Policy has a valid segment list:

  • Fail: No valid segment list exists.
  • Pass: A valid segment list exists.

If the result of any previous check item is Fail, two hyphens (--) are displayed.

Check Segment List Not Reach Limit

Whether the failure for an SR-MPLS TE Policy to go up occurs because the number of existing segment lists exceeds the upper threshold:

  • Fail: The failure is caused by threshold-crossing.
  • Pass: The failure is not caused by threshold-crossing.

If the result of any previous check item is Fail, two hyphens (--) are displayed.

Check Candidate Path Valid

Whether up candidate paths exist in an SR-MPLS TE Policy:

  • Fail: No up candidate path exists.
  • Pass: Up candidate paths exist.

If the result of any previous check item is Fail, two hyphens (--) are displayed.

Exist Valid BSID for Stitching

Whether a binding SID is configured for an SR-MPLS TE Policy:

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