The display sr-te policy traffic-statistics command displays SR-MPLS TE Policy traffic statistics.
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. |
Usage Scenario
After configuring SR-MPLS TE Policy traffic statistics collection, run the display sr-te policy traffic-statistics command to check collected SR-MPLS TE Policy traffic statistics.
To clear existing SR-MPLS TE Policy traffic statistics, run the reset sr-te policy traffic-statistics command.The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display sr-te policy traffic-statistics endpoint 10.1.23.42 color 100
2019-03-12 12:20:03.233
PolicyName : hjw
Endpoint : 10.1.23.42
Color : 100
Binding SID : 23
TunnelId : 1
Last 300 seconds output rate 53904976 bits/sec, 82174 packets/sec
Realtime 27 seconds output rate 169487752 bits/sec, 211857 packets/sec
Output: 1035901100 bytes, 10359011 packets
Primiary Candidate-path:
Preference : 10 Discriminator : 10
Protocol-Origin : Configuration(30) Originator : 0, 0.0.0.0
Segment-List ID : 4 XCIndex : 2000004
Last 300 seconds output rate 13036984 bits/sec, 19874 packets/sec
Realtime 27 seconds output rate 84622672 bits/sec, 105777 packets/sec
Output: 516929400 bytes, 5169294 packets
Segment-List ID : 67 XCIndex : 2000067
Last 300 seconds output rate 40867992 bits/sec, 62300 packets/sec
Realtime 27 seconds output rate 84865080 bits/sec, 106080 packets/sec
Output: 518971700 bytes, 5189717 packets
Item | Description |
---|---|
PolicyName | Name of an SR-MPLS TE Policy. |
Endpoint | Destination address configured for an SR-MPLS TE Policy. |
Color | Color value configured for an SR-MPLS TE Policy. |
Binding SID | Binding SID of an SR-MPLS TE Policy. |
TunnelId | Tunnel ID of an SR-MPLS TE Policy. |
Last 300 seconds output rate | Output rate in the latest 300 seconds. |
Realtime 27 seconds output rate | Real-time output rate in the latest 27 seconds. |
Primiary Candidate-path | Information about the primary candidate path. |
Preference | Path preference. |
Discriminator | Discriminator of an SR-MPLS 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 SR policy, the value is the Discriminator in the BGP TLV. |
Protocol-Origin | Protocol origin of an SR-MPLS TE Policy's primary path:
|
Originator | Originator of an SR-MPLS 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 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. |
Output | Numbers of output bytes and packets. |