< Home

reset traffic-policy statistic

Function

The reset traffic-policy statistic command clears traffic policy rule statistics.

Format

reset traffic-policy statistic { bandwidth | connection-limit | connection-rate-limit } { whole | per-ip | per-user } { upstream | downstream | both } { rule rule-name | all }

reset traffic-policy statistic bandwidth vsys vsys-name

Parameters

Parameter Description Value

bandwidth

Clears bandwidth statistics.

-

connection-limit

Clears connection limit statistics.

-

connection-rate-limit

Clears new connection rate limit statistics.

-

whole

Clears overall statistics.

-

per-ip

Clears per-IP-address statistics.

-

per-user

Clears per-user statistics.

-

upstream

Clears upstream bandwidth statistics.

-

downstream

Clears downstream bandwidth statistics.

-

both

Clears the total upstream and downstream bandwidth, number of connections, and new connection rate statistics.

Only the USG6610E/6620E, USG6630E/6650E, USG6680E and USG6712E/6716E support the clearing of the total upstream and downstream bandwidth statistics.

-

rule rule-name

Clears statistics on the specified traffic policy rule.

The traffic policy rule must already exist.

all

Clears statistics on all traffic policy rules.

-

vsys vsys-name

Deletes bandwidth statistics of the specified virtual system.

The virtual system must already exist.

Views

User view

Default Level

1: Monitoring level

Usage Guidelines

Traffic policy rule statistics cannot be restored after being cleared. Exercise caution when using the reset traffic-policy statistic command.

Example

# Clear upstream bandwidth statistics of traffic policy rule traffic_rule.

<sysname> reset traffic-policy statistic bandwidth whole upstream rule traffic_rule
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >