display sr-te policy traffic-statistics

Function

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

Format

display sr-te policy traffic-statistics [ 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

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.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display traffic statistics about a specified SR-MPLS TE Policy.
<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
Table 1 Description of the display sr-te policy traffic-statistics command output
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:

  • 10: The path is delivered by PCEP. Currently, PCEP is not supported.
  • 20: The path is delivered by BGP.
  • 30: The path is locally configured.
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.

  • The value of ASN in the static configuration scenario is 0. In the case of BGP sends an SR policy, the ASN is the AS number carried in the BGP TLV.
  • The value of node-address in the static configuration scenario is fixed to 0.0.0.0. When BGP sends an SR policy, the node-address is the router ID of the BGP neighbor.
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.

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