< Home

Maintenance

This section describes how to view quota control policy configurations, view or clear statistics, and debug the policy module after you complete configuring the policy.

Viewing Configuration and Statistics Information

In any view, run commands in Table 1 to view configuration and statistics information of a quota control policy.

Table 1 Viewing configuration and statistics information
Operation Command

View configuration information of a specified quota control policy.

display quota-policy { all | name rule-name }

View quota usage of a user.

display quota [ user user-name ]

Clearing Statistics Information

Run commands in Table 2 to clear statistics information of a quota control policy.

Table 2 Clearing statistics information
Operation Command

Clear information about the number of times a quota control policy is matched. (user view)

reset quota-policy counter { all | rule rule-name }

Clear quota statistics of a user. (system view)

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

Debugging

In the user view, run commands in Table 3 to debug a quota control policy module.

Table 3 Debugging
Operation Command

Debug a quota control policy.

debugging quota-policy { all | error | packet }

Debug a quota detection

debugging quota { all | error | packet }

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic