< Home

profile (Quota Control Policy View)

Function

The profile command creates a quota profile and accesses its view.

The undo profile command deletes a quota profile.

Format

profile profile-name

undo profile profile-name

Parameters

Parameter Description Value
profile-name Indicates the name of a quota profile. The value is a case-sensitive string. The length of a name without spaces ranges from 1 to 32 characters. The length of a name with spaces ranges from 3 to 34 characters. If a name contains spaces, the name must be enclosed with quotation marks (for example, "user for test"). Question marks (?), commas (,), and quotations marks (") are not supported.

Views

Quota control policy view

Default Level

2: Configuration level

Usage Guidelines

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 taken after the quota is exceeded, namely, the 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.

In conclusion, the quota control policy enables the proper bandwidth allocation and control by referencing the quota profile.

Example

# Create a quota profile quota_profile and access its view.

<sysname> system-view
[sysname] quota-policy
[sysname-policy-quota] profile quota_profile
[sysname-policy-quota-profile-quota_profile]
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >