< Home

profile type aapt copy

Function

The profile type aapt copy command clones an existing APT defense profile to create a new APT defense profile and displays the new APT defense profile view.

Format

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

Parameters

Parameter Description Value
old-name

Name of an APT defense profile to be cloned

The specified name of the APT defense profile must already exist.

new-name

Name of the APT defense profile to be created.

The value is a string of case-sensitive characters. When the name does not contain spaces, the value is a string of 1 to 32 characters. When the name contains spaces, the value is a string of 3 to 34 characters, and you need to enclose the name in quotation marks (""), for example, "user for test". The value cannot contain question marks (?), commas (,), or hyphens (-).

Views

System view

Default Level

2: Configuration level

Usage Guidelines

If the content of the new APT defense profile is similar to that of an existing APT defense profile, you can copy the existing APT defense profile to create a new APT defense profile.

If the value of new-name is not specified, the name of the new APT defense profile is old-name_n by default, where n indicates the number of times the profile is cloned. The value is an integer starting from 1.

Example

# Create two new APT defense profiles from the clones of APT defense profile default.

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