< Home

reset quota

Function

The reset quota command clears quota statistics of a user.

Format

reset quota [ user user-name ] { stream-daily | time-daily | stream-monthly } *

Parameters

Parameter Description Value
user user-name Specifies the name of the user whose quota statistics are to be cleared. If you do not specify a user name, the quota statistics of all users are cleared. The value must be the name of an existing user.
stream-daily Clears the daily traffic quota statistics. -
time-daily Clears the daily Internet access duration quota statistics. -
stream-monthly Clears the monthly traffic quota statistics. -

Views

System view

Default Level

2: Configuration level

Usage Guidelines

None

Example

# Clear the daily traffic quota statistics of user1.

<sysname> system-view
[sysname] reset quota user user1 stream-daily
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >