rename (user-defined signature rule view)
Function
The rename command renames an existing user-defined signature rule and displays the new rule view.
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 (-). |
Example
# In the user-defined signature rule view, change the name of rule hello to hello_1.
<AC6605> system-view [AC6605] ips signature-id 1 [AC6605-ips-signature-1] protocol TCP [AC6605-ips-signature-1] rule name hello [AC6605-ips-signature-1-rule-hello] rename hello_1 [AC6605-ips-signature-1-rule-hello_1]