< Home

rename (user-defined signature rule view)

Function

The rename command renames an existing user-defined signature rule and displays the new rule view.

Format

rename new-name

Parameters

Parameter Description Value

new-name

Specifies the new name of an existing user-defined signature rule.

The value is a case-sensitive string. If the name does not contain any spaces, the length is 1 to 32 characters. If the name contains spaces, the length is 3 to 34 characters and the name must be enclosed with double quotation marks (""), for example, "user for test". The name cannot contain any question marks (?), commas (,), quotation marks ("), or hyphens (-).

Views

User-defined signature rule view

Default Level

2: Configuration level

Usage Guidelines

None

Example

# In the user-defined signature rule view, change the name of rule hello to hello_1.

<sysname> system-view
[sysname] ips signature-id 1
[sysname-ips-signature-1] protocol TCP  
[sysname-ips-signature-1] rule name hello
[sysname-ips-signature-1-rule-hello] rename hello_1
[sysname-ips-signature-1-rule-hello_1]
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >