< Home

rule rename (Quota Control Policy View)

Function

The rule rename command renames a quota control policy.

Format

rule rename old-name new-name

Parameters

Parameter Description Value
old-name Indicates the name of the quota control policy to be renamed. The value must be the name of an existing quota control policy.
new-name Indicates the new name of the quota control policy. 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 (?), and quotations marks (") are not supported.

Views

Quota control policy view

Default Level

2: Configuration level

Usage Guidelines

None

Example

# Rename the quota control policy quota_rule to quota_rule_1.

<sysname> system-view
[sysname] quota-policy
[sysname-policy-quota] rule rename quota_rule quota_rule_1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >