< Home

rule rename (authentication policy view)

Function

The rule rename command renames an authentication policy rule.

Format

rule rename old-name new-name

Parameters

Parameter Description Value
old-name Specifies the original name of an authentication policy rule to be renamed. The specified authentication policy rule must exist.
new-name Specifies the new name of an authentication policy rule. 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". The name cannot contain any question marks (?), quotation marks (").

Views

Authentication policy view

Default Level

2: Configuration level

Usage Guidelines

None

Example

# Rename authentication policy rule auth_rule to auth_rule_1.

<sysname> system-view
[sysname] auth-policy
[sysname-policy-auth] rule rename auth_rule auth_rule_1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >