< Home

profile type app-control copy

Function

The profile type app-control copy command clones an existing application behavior control profile and displays the view of the new profile.

Format

profile type app-control copy old-name [ new-name ]

Parameters

Parameter Description Value
old-name Specifies the name of the existing application behavior control profile to be cloned. The value must be the name of an existing application behavior control profile.
new-name Specifies the name of the new application behavior control profile. The value is a case-sensitive character string. The length of a name without spaces ranges from 1 to 32 characters. The length of a name with spaces ranges from 3 to 34 characters. If a name contains spaces, the name must be enclosed with quotation marks (for example, "user for test"). The name cannot contain any question marks (?), commas (,), quotation marks ("), or hyphens (-).

Views

System view

Default Level

2: Configuration level

Usage Guidelines

If you need to create an application behavior control profile that is similar to an existing one, clone the existing one.

If new-name is not specified, the default name of the new application behavior control profile is the original profile name suffixed by _n. n indicates the number of times that the profile has been cloned. It is an integer starting from 1.

Example

# Clone application behavior control profile abc to create application behavior control profile bcd.

<sysname> system-view
[sysname] profile type app-control copy abc bcd
[sysname-profile-app-control-bcd] 
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >