< Home

profile type audit copy

Function

The profile type audit copy command clones an existing audit profile to create a new profile and brings you to the view of the new profile.

Format

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

Parameters

Parameter Description Value
old-name Specifies the name of the cloned audit profile. The value must be the name of an existing audit profile.
new-name Specifies the name of the new audit 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"). Question marks (?), commas (,), quotations marks ("), and hyphens (-) are not supported.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

To create an audit profile similar to an existing audit profile, you can clone the existing one.

If new-name is not specified, the name of the new data filtering profile is set to "old-name_n" by default. n indicates the number of times the audit profile is cloned. The value is an integer starting from 1.

Example

# Create two audit profiles by cloning audit profile abc.

<sysname> system-view
[sysname] profile type audit copy abc
[sysname-profile-audit-abc_1] quit
[sysname] profile type audit copy abc
[sysname-profile-audit-abc_2] quit
[sysname]
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >