< Home

rename (antivirus profile view)

Function

The rename command renames an existing antivirus profile and displays its view.

Format

rename new-name

Parameters

Parameter Description Value

new-name

Specifies the new name of the antivirus profile.

The value is a case-sensitive string. If the name does not contain any space, the value contains 1 to 32 characters. If the name contains spaces, the value contains 3 to 34 characters, and you must enclose the name with double quotation marks, for example, "user for test". The name cannot contain any question mark (?), comma (,), quotation mark ("), or hyphen (-).

Views

Antivirus profile view

Default Level

2: Configuration level

Usage Guidelines

None

Example

# Rename antivirus profile profile1 to profile_av_1.

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