< Home

rename(user-defined application rule view)

Function

The rename command renames the rules of user-defined applications.

Format

rename new-name

Parameters

Parameter Description Value
new-name Specifies the new name of a rule. The value is a case-sensitive character 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 question marks (?), commas (,), or hyphens (-). If the name does not contain any space, it also cannot have any double quotation marks ("). In addition, the name cannot be any or all.

Views

user-defined application rule view

Default Level

2: Configuration level

Usage Guidelines

None

Example

# Rename rule1 in user-defined application UD_abc to rule2.

<sysname> system-view
[sysname] sa
[sysname-sa] user-defined-application name UD_abc
[sysname-sa-user-defined-app-UD_abc] rule name rule1
[sysname-sa-user-defined-app-UD_abc-rule-rule1] rename rule2
[sysname-sa-user-defined-app-UD_abc-rule-rule2] 
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >