< Home

profile rename (traffic policy view)

Function

The profile rename command renames a traffic profile.

Format

profile rename old-profile-name new-profile-name

Parameters

Parameter Description Value
old-profile-name Specifies the original name of the traffic profile to be renamed. The specified traffic profile must exist.
new-profile-name Specifies a new name for the traffic 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 (?), or quotation marks (").

Views

Traffic policy view

Default Level

2: Configuration level

Usage Guidelines

None

Example

# Rename traffic profile traffic_profile to traffic_profile_1.

<sysname> system-view
[sysname] traffic-policy
[sysname-policy-traffic] profile rename traffic_profile traffic_profile_1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >