The action quota profile command enables the quota statistics collection function of a quota control policy and specifies the corresponding quota profile.
The action no-quota command disables the quota statistics collection function of a quota control policy.
| Parameter | Description | Value |
|---|---|---|
| quota | Enables quota statistics collection. | - |
| no-quota | Disables quota statistics collection. | - |
| profile profile-name | Specifies the quota profile name. | The value must be the name of an existing quota profile. |
Enabling the quota statistics collection function of a quota control policy and specifying the corresponding quota profile help reasonably allocate and control the user bandwidth.
The quota profile consists of the following elements:
If the daily traffic quota, monthly traffic quota, and daily Internet access duration are jointly used, the maximum bandwidth limit is triggered as long as one of them reaches the upper threshold.
# Enable the quota statistics collection function for the quota control policy quota_rule and specify quota_profile as the quota profile.
<sysname> system-view [sysname] quota-policy [sysname-policy-quota] rule name quota_rule [sysname-policy-quota-rule-quota_rule] action quota profile quota_profile