< Home

rename (intrusion prevention profile view)

Function

The rename command renames an intrusion prevention profile and displays the new profile view.

Format

rename new-name

Parameters

Parameter Description Value

new-name

Specifies the new name of the intrusion prevention profile.

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

Intrusion prevention profile view

Default Level

2: Configuration level

Usage Guidelines

None

Example

# Change the name of intrusion prevention profile profile1 to profile_ips_1.

<sysname> system-view
[sysname] profile type ips name profile1
[sysname-profile-ips-profile1] rename profile_ips_1 
[sysname-profile-ips-profile_ips_1]   
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >