< Home

rename (audit profile view)

Function

The rename command renames an audit profile.

Format

rename new-name

Parameters

Parameter Description Value
new-name Indicates the new name of the audit profile. The name is a case-sensitive 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 (-) cannot be used.

Views

Audit profile view

Default Level

2: Configuration level

Usage Guidelines

None

Example

# Rename audit profile abc to hello.

<sysname> system-view
[sysname] profile type audit name abc
[sysname-profile-audit-abc] rename hello
[sysname-profile-audit-hello]
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >