The display srv6-te policy command displays detailed SRv6 TE Policy information.
The display srv6-te policy brief command displays brief SRv6 TE Policy information.
Parameter | Description | Value |
---|---|---|
endpoint ipv6-address |
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 of an SRv6 TE Policy. |
The value is an integer ranging 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 sid-value |
Specifies a binding SID. |
The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X. |
interface-name interface-name-value |
Specifies an interface name for an SRv6 TE Policy. |
The value is a string of 1 to 27 case-sensitive characters. When double quotation marks are used around the string, spaces are allowed in the string. |
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display srv6-te policy
PolicyName : p1
Color : 100 Endpoint : 2001:DB8:1::1
TunnelId : 1 Binding SID : -
TunnelType : SRv6-TE Policy DelayTimerRemain : -
Policy State : Up State Change Time : 2020-07-21 09:39:52
Admin State : Up Traffic Statistics : Disable
Backup Hot-Standby : Disable BFD : Disable
Interface Index : 87 Interface Name : SRv6TE-Policy-1
Interface State : Up Encapsulation Mode : Encaps
Candidate-path Count : 2
Candidate-path Preference : 200
Path State : Active Path Type : Primary
Protocol-Origin : Configuration(30) Originator : 0, 0.0.0.0
Discriminator : 200 Binding SID : -
GroupId : 2 Policy Name : 1
Template ID : 0 Path Verification : Disable
DelayTimerRemain : - Network Slice ID : 400 (data-plane)
Segment-List Count : 1
Segment-List : 1
Segment-List ID : 2 XcIndex : 2
List State : Up DelayTimerRemain : -
Verification State : - SuppressTimeRemain : -
PMTU : 9600 Active PMTU : 9600
Weight : 1 BFD State : -
Network Slice ID : 400 (data-plane)
SID :
2001:DB8:100:1:0:3000::(V) Block Length : 52 Compress Length : 32
2001:DB8:100:7:0:2000:: Block Length : 52 Compress Length : 32
Candidate-path Preference : 100
Path State : Inactive (Valid) Path Type : -
Protocol-Origin : Configuration(30) Originator : 0, 0.0.0.0
Discriminator : 100 Binding SID : -
GroupId : 1 Policy Name : 1
Template ID : 0 Path Verification : Disable
DelayTimerRemain : - Network Slice ID : -
Segment-List Count : 1
Segment-List : 1
Segment-List ID : 1 XcIndex : -
List State : Down (Valid) DelayTimerRemain : -
Verification State : - SuppressTimeRemain : -
PMTU : 9600 Active PMTU : 9600
Weight : 1 BFD State : -
Network Slice ID : -
SID :
2001:DB8:100:1::3FF
<HUAWEI> display srv6-te policy brief
PolicyName : 1
Color : 1 Endpoint : 2001:DB8:1::1
TunnelId : 1 Binding SID : 2001:DB8:1::7
Policy State : Up State Change Time : 2021-08-26 03:42:22
Candidate-path Count : 2
PolicyName : 2
Color : 2 Endpoint : 2001:DB8:1::1
TunnelId : 2 Binding SID : 2001:DB8:1::11
Policy State : Up State Change Time : 2021-08-26 03:42:22
Candidate-path Count : 1
PolicyName : 3
Color : 3 Endpoint : 2001:DB8:1::1
TunnelId : 3 Binding SID : -
Policy State : Up State Change Time : 2021-08-26 03:42:20
Candidate-path Count : 4
PolicyName : 4
Color : 4 Endpoint : 2001:DB8:1::1
TunnelId : 4 Binding SID : -
Policy State : Up State Change Time : 2021-08-28 02:14:59
Candidate-path Count : 1
PolicyName : 5
Color : 5 Endpoint : 2001:DB8:1::1
TunnelId : 5 Binding SID : -
Policy State : Up State Change Time : 2021-08-28 02:14:59
Candidate-path Count : 1
Item | Description |
---|---|
PolicyName | SRv6 TE Policy name. |
Color | Color value of an SRv6 TE Policy. |
Endpoint | Endpoint of an SRv6 TE Policy. |
TunnelId | SRv6 TE Policy ID. |
Binding SID | Binding SID of an SRv6 TE Policy. |
Binding SID | Binding SID of an SRv6 TE Policy's candidate path. |
SID | SID stack of a segment list referenced by an SRv6 TE Policy's candidate path. SID flag:
|
TunnelType | Tunnel type of an SRv6 TE Policy. |
Policy State | SRv6 TE Policy state:
|
Policy Name | SRv6 TE Policy name. This field is empty for a BGP-delivered candidate path. |
DelayTimerRemain | Remaining time of the delayed-deletion and delayed-switching timer after the segment list of an SRv6 TE Policy's candidate path is deleted. |
State Change Time | Date and time when the state of an SRv6 TE Policy changed. |
Admin State | Whether the shutdown command is run for an SRv6 TE Policy. If the command is run, the SRv6 TE Policy is Down. Otherwise, the SRv6 TE Policy is Up. |
Traffic Statistics | Whether SRv6 TE Policy traffic statistics collection is enabled. |
Backup Hot-Standby | Whether SRv6 TE Policy backup hot-standby is enabled:
|
BFD | Whether SRv6 TE Policy BFD is enabled:
|
BFD State | BFD state of the segment list of an SRv6 TE Policy's candidate path:
|
Interface Index | Interface index of an SRv6 TE Policy. Only an SRv6 TE Policy configured with IGP shortcut has an interface index. |
Interface Name | Interface name of an SRv6 TE Policy. Only an SRv6 TE Policy configured with IGP shortcut has an interface name. |
Interface State | Interface state of an SRv6 TE Policy. Only an SRv6 TE Policy configured with IGP shortcut has an interface state. -Up. -Down(Policy Down). -Down(No USD). |
Encapsulation Mode | Encapsulation mode of an SRv6 TE Policy:
|
Candidate-path Count | Number of candidate paths configured for an SRv6 TE Policy. |
Candidate-path Preference | Preference of an SRv6 TE Policy's candidate path. |
Path State | State of an SRv6 TE Policy's candidate path:
|
Path Type | Type of an SRv6 TE Policy's candidate path. The value can be Primary, Backup, or empty. If the value is empty, no path is preferentially selected. |
Path Verification | Whether path fault detection is enabled:
|
Active PMTU | MTU that takes effect for the segment list referenced by an SRv6 TE Policy's candidate path. The PMTU value minus the global MTU compensation value is the active PMTU value. |
Protocol-Origin | Protocol origin of an SRv6 TE Policy's candidate path:
|
Originator | Originator of an SRv6 TE Policy's candidate path. The value is in the format of <ASN, node-address>, where:
|
Discriminator | Discriminator of an SRv6 TE Policy's candidate path. For a statically configured candidate path, the discriminator is the same as the preference. For a BGP-delivered candidate path, the discriminator is the same as the discriminator carried in the BGP-delivered TLV. |
GroupId | ID of the group to which an SRv6 TE Policy's candidate path is allocated. |
Template ID | Private template ID of an SRv6 TE Policy. |
Verification State | Segment list fault detection verification result:
|
Network Slice ID | Network slice ID of an SRv6 TE Policy's candidate path. |
Network Slice ID | ID of the network slice that actually takes effect in the segment list of an SRv6 TE Policy's candidate path. |
Segment-List Count | Number of segment lists for an SRv6 TE Policy's candidate path, including valid and invalid segment lists. |
Segment-List | Name of a segment list referenced by an SRv6 TE Policy's candidate path. |
Segment-List ID | ID of the segment list referenced by an SRv6 TE Policy's candidate path. |
XcIndex | Forwarding path index allocated to the segment list of an SRv6 TE Policy's candidate path. Only the segment list of the preferred path has XcIndex. |
List State | Segment list state of an SRv6 TE Policy's candidate path:
|
SuppressTimeRemain | Remaining flapping suppression time. |
PMTU | MTU of the segment list of an SRv6 TE Policy's candidate path. |
Weight | Load balancing weight of a segment list. |
Block Length | Length of the SID block. |
Compress Length | SID compression length. |