< Home

profile type av copy

Function

The profile type av copy command clones an existing antivirus (AV) profile and displays the view of the new antivirus profile.

Format

profile type av copy old-name [ new-name ]

Parameters

Parameter Description Value

old-name

Specifies the name of the antivirus profile to be cloned.

The specified antivirus profile must exist.

new-name

Specifies the name of the new 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

System view

Default Level

2: Configuration level

Usage Guidelines

To create an antivirus profile that is similar to an existing one, clone the existing one and make the desired modifications.

If new-name is not specified, the default name of the new antivirus profile is old-name_n. n indicates the number of times that the antivirus profile is cloned. It is an integer starting from 1.

Example

# Create two antivirus profiles by cloning profile template default.

<sysname> system-view
[sysname] profile type av copy default
[sysname-profile-av-default_1] quit
[sysname] profile type av copy default 
[sysname-profile-av-default_2] quit
[sysname]
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >