reset sr-te policy traffic-statistics

Function

The reset sr-te policy traffic-statistics command clears SR-MPLS TE Policy traffic statistics.

Format

reset 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

User view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
srpolicy execute

Usage Guidelines

Usage Scenario

SR-MPLS TE Policies support traffic statistics collection. To clear existing SR-MPLS TE Policy traffic statistics, run the reset sr-te policy traffic-statistics command. The reset sr-te policy traffic-statistics and display sr-te policy traffic-statistics commands can be used together to help locate SR-MPLS TE Policy-related traffic forwarding problems.

Example

# Clear traffic statistics about a specified SR-MPLS TE Policy.
<HUAWEI> reset sr-te policy traffic-statistics endpoint 10.1.23.42 color 100
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >