reset traffic-statistics vsi

Function

The reset traffic-statistics vsi command clears VPLS PW traffic statistics.

Format

reset traffic-statistics vsi all

Parameters

Parameter Description Value
all

Indicates all VPLS PWs.

-

Views

User view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
l2vpn execute

Usage Guidelines

Usage Scenario

The display traffic-statistics vsi command allows you to check VPLS PW traffic statistics. To check VPLS PW traffic statistics collected within a specific period of time, you need to clear the previous traffic statistics by running the reset traffic-statistics vsi peer command.

Depending on the signaling protocol used by VPLS, traffic statistics collection on VPLS networks can be collected in either LDP or BGP-AD mode. Therefore, you can set the parameter in this command based on the VPLS signaling protocol.

Prerequisites

The traffic-statistics enable or traffic-statistics peer command must have been run in the VSI-LDP view, if you want to checkLDP VPLS PW traffic statistics.

Configuration Impact

After the reset traffic-statistics vsi peer command is run, all the previous statistics on the specified PW are cleared.

Example

# Clear the traffic statistics of PWs in VSI vsi1.
<HUAWEI> reset traffic-statistics vsi name vsi1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >