reset segment-routing traffic-statistics

Function

The reset segment-routing traffic-statistics command clears traffic statistics about a specified SR LSP (SR-MPLS BE).

Format

reset segment-routing traffic-statistics [ ip-address mask-length ]

reset segment-routing traffic-statistics [ ip-address mask-length ] flex-algo [ flexAlgoId ]

Parameters

Parameter Description Value
ip-address

Specifies an interface IP address.

The value is in dotted decimal notation.

mask-length

Specifies a mask length.

The value is 32.

flex-algo flexAlgoId

Specifies a Flex-Algo ID.

The value is an integer ranging from 128 to 255.

Views

User view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
segr debug

Usage Guidelines

Usage Scenario

To clear traffic statistics before re-collection, run the reset segment-routing traffic-statistics command.

To check SR LSP traffic statistics, run the display segment-routing traffic-statistics command.

Example

# Clear SR LSP traffic statistics.
<HUAWEI> reset segment-routing traffic-statistics
# Clear Flex-Algo LSP traffic statistics.
<HUAWEI> reset segment-routing traffic-statistics flex-algo
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >