The display srv6-te policy traffic-statistics command is used to query the SRv6 TE Policy traffic statistics count.
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. |
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display srv6-te policy traffic-statistics
PolicyName : p2
Color : 200 Endpoint : 2:2::2:2
TunnelId : 1 Binding SID : -
Last -- seconds output rate -- bits/sec, -- packets/sec
Realtime -- seconds output rate -- bits/sec, -- packets/sec
Output: -- bytes, -- packets
Primary Candidate-path:
Preference : 200 Discriminator : 200
Protocol-Origin : Configuration(30) Originator : 0, 0.0.0.0
Segment-List Name : list1
Segment-List ID : 1
Last -- seconds output rate -- bits/sec, -- packets/sec
Realtime -- seconds output rate -- bits/sec, -- packets/sec
Output: -- bytes, -- packets
Backup Candidate-path:
Preference : 100 Discriminator : 100
Protocol-Origin : Configuration(30) Originator : 0, 0.0.0.0
Segment-List Name : list1
Segment-List ID : 1
Last -- seconds output rate -- bits/sec, -- packets/sec
Realtime -- seconds output rate -- bits/sec, -- packets/sec
Output: -- bytes, -- packets
Item | Description |
---|---|
PolicyName | Name of an SRv6 TE Policy. |
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. |
Last -- seconds output rate | The output rate of traffic in the most recent period. |
Realtime -- seconds output rate | Real-time output rate in the latest 20 seconds. |
Primary Candidate-path | If the primary path exists, details and traffic statistics are displayed. |
Preference | Path preference. |
Discriminator | Discriminator of an SRv6 TE Policy's primary path. In the static configuration candidate path scenario, the value of the Discriminator is the same as that of the preference. In the case of BGP sends an SRv6 TE Policy, the value is the Discriminator in the BGP TLV. |
Protocol-Origin | Protocol origin of an SRv6 TE Policy's primary path:
|
Originator | Originator of an SRv6 TE Policy's primary path. The value is in the <ASN, node-address> format, where ASN indicates an AS number.
|
Segment-List ID | ID of a segment list configured for an SRv6 TE Policy's candidate path. |
Segment-List Name | Name of the segment list referenced by the candidate path of the SRv6 TE Policy. If no, the "-" is displayed. |
Backup Candidate-path | If the Backup path exists, details and traffic statistics are displayed. |
Output | Numbers of output bytes and packets. |