< Home

action quota profile

Function

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.

Format

action quota profile profile-name

action no-quota

Parameters

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.

Views

Quota control policy view

Default Level

2: Configuration level

Usage Guidelines

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:

  • Resources available to the user, including the daily traffic quota, monthly traffic quota, and daily Internet access duration.
  • The bandwidth management and control action performed after the user exhausts the quota, including direct block and maximum bandwidth limit.

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.

Example

# 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
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >