The display sr-te policy command displays detailed SR-MPLS TE Policy information.
The display sr-te policy brief command displays brief SR-MPLS TE Policy information.
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. |
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display sr-te policy policy-name 1
PolicyName : 1
Endpoint : 1.1.1.1 Color : 100
TunnelId : 1 TunnelType : SR-TE Policy
Binding SID : - MTU : -
Policy State : Up State Change Time : 2020-07-31 02:22:31
Admin State : Up Traffic Statistics : Disable
BFD : Disable Backup Hot-Standby : Disable
DiffServ-Mode : -
Candidate-path Count : 1
Candidate-path Preference: 100
Path State : Active Path Type : Primary
Protocol-Origin : Configuration(30) Originator : 0, 0.0.0.0
Discriminator : 100 Binding SID : -
GroupId : 1 Policy Name : 1
Template ID : -
Segment-List Count : 1
Segment-List : 1
Segment-List ID : 1 XcIndex : 2000001
List State : Up BFD State : -
EXP : - TTL : -
DeleteTimerRemain : - Weight : 1
Label : 100
<HUAWEI> display sr-te policy brief
PolicyName : 1
Endpoint : 1.1.1.1 Color : 1
TunnelId : 1 Binding SID : 5000
Policy State : Up State Change Time : 2021-08-26 08:36:21
Candidate-path Count : 2
PolicyName : 2
Endpoint : 1.1.1.1 Color : 2
TunnelId : 2 Binding SID : 1500
Policy State : Up State Change Time : 2021-08-28 10:18:15
Candidate-path Count : 3
PolicyName : 3
Endpoint : 1.1.1.1 Color : 3
TunnelId : 3 Binding SID : -
Policy State : Up State Change Time : 2021-08-30 12:48:25
Candidate-path Count : 1
PolicyName : 4
Endpoint : 1.1.1.1 Color : 4
TunnelId : 4 Binding SID : 456
Policy State : Up State Change Time : 2021-08-31 06:38:11
Candidate-path Count : 1
PolicyName : 5
Endpoint : 1.1.1.1 Color : 5
TunnelId : 5 Binding SID : -
Policy State : Up State Change Time : 2021-08-31 06:38:11
Candidate-path Count : 1
Item | Description |
---|---|
PolicyName | Name of an SR-MPLS TE Policy. |
Endpoint | Endpoint of an SR-MPLS TE Policy. |
Color | Color value configured for an SR-MPLS TE Policy. |
TunnelId | Tunnel ID of an SR-MPLS TE Policy. |
TunnelType | Tunnel type of an SR-MPLS TE Policy. |
Policy State | SR-MPLS TE Policy state:
|
Policy Name | Name of an SR-MPLS TE Policy. If a candidate path of the SR-MPLS TE Policy is delivered through BGP, the Policy Name field may not be carried. In this case, no value is displayed. |
Binding SID | Binding SID of an SR-MPLS TE Policy. |
MTU | MTU configured for an SR-MPLS TE Policy. If an MTU is not configured, no information is displayed. |
State Change Time | State change time of an SR-MPLS TE Policy. |
Admin State | Whether the shutdown command is run for an SR-MPLS TE Policy:
|
Traffic Statistics | Whether traffic statistics collection is enabled for an SR-MPLS TE Policy. |
BFD | Whether BFD is enabled for an SR-MPLS TE Policy. |
BFD State | SBFD state:
|
Backup Hot-Standby | Whether HSB is enabled for an SR-MPLS TE Policy. |
DiffServ-Mode | DiffServ mode configured for an SR-MPLS TE Policy. |
Candidate-path Count | Number of candidate paths configured for an SR-MPLS TE Policy. |
Candidate-path Preference | Preference configured for an SR-MPLS TE Policy's candidate path. |
Path State | Status of an SR-MPLS TE Policy's primary path:
|
Path Type | Type of an SR-MPLS TE Policy's candidate path:
|
Protocol-Origin | Protocol origin of an SR-MPLS TE Policy's primary path:
|
Originator | Originator of an SR-MPLS TE Policy's primary candidate path. The value is in the <ASN, node-address> format, where ASN indicates an AS number.
|
Discriminator | Discriminator of an SR-MPLS TE Policy's primary candidate path. In scenarios where candidate paths are statically configured, the discriminator value is the same as the preference value. For a BGP-delivered SR-MPLS TE Policy, the discriminator value is the discriminator carried in the BGP TLV. |
GroupId | Group ID assigned to an SR-MPLS TE Policy's primary candidate path. |
Template ID | Template ID for SR-MPLS TE Policies. |
Segment-List Count | Number of valid segment lists configured for an SR-MPLS TE Policy's primary candidate path. |
Segment-List | Name of a segment list configured for an SR-MPLS TE Policy's primary path. |
Segment-List ID | ID of a segment list configured for an SR-MPLS TE Policy's candidate path. |
XcIndex | Forwarding path index assigned to a segment list configured for an SR-MPLS TE Policy's candidate path. This field is available only to the segment list of a preferentially selected path. |
List State | State of a segment list configured for an SR-MPLS TE Policy's primary candidate path:
|
EXP | EXP value of a segment list. |
TTL | TTL of a segment list. |
DeleteTimerRemain | Time left before the configured deletion delay expires in a scenario where the segment list of an SR-MPLS TE Policy's candidate path is deleted. |
Weight | Weight value of a segment list. |
Label | Label stack configured for the segment list of an SR-MPLS TE Policy's primary path. |