reset traffic-statistics vpn-instance

Function

The reset traffic-statistics vpn-instance command clears traffic statistics about the specified VPN instance.

Format

reset traffic-statistics vpn-instance name vpn-instance-name

reset traffic-statistics vpn-instance all

Parameters

Parameter Description Value
all

Clears the traffic statistics about all VPN instances.

-

name vpn-instance-name

Specifies the name of a VPN instance.

The value is a string of 1 to 31 case-sensitive characters, spaces not supported. In addition, the VPN instance name must not be _public_. When double quotation marks are used around the string, spaces are allowed in the string.

Views

User view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
l3vpn execute

Usage Guidelines

Usage Scenario

Before collecting traffic statistics again, run the reset traffic-statistics vpn-instance command to clear the existing statistics. This helps you obtain the desired information by running the display traffic-statistics vpn-instance command.

Precautions

Statistics cannot be restored after they are cleared. Exercise caution when running the command.

Example

# Clear statistics on traffic of the VPN instance with the name of vpn1.
<HUAWEI> reset traffic-statistics vpn-instance name vpn1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >