user-profile

Syntax

user-profile profile-name

undo user-profile profile-name

View

System view

Default level

2: System level

Parameters

profile-name: Assigns a name to the user profile. The name is a case-sensitive string of 1 to 31 characters. It can only contain English letters, digits, and underlines, and it must start with an English letter. A user profile name must be globally unique.

Description

Use user-profile to create a user profile and enter the user profile view. If the specified user profile has been created, you enter the user profile view directly.

Use undo user-profile to remove an existing disabled user profile. You cannot remove a user profile that is enabled.

By default, no user profiles exist on the device.

Related commands: user-profile enable.

Examples

# Create user profile a123.

<Sysname> system-view
[Sysname] user-profile a123
[Sysname-user-profile-a123]

# Enter the user profile view of a123.

<Sysname> system-view
[Sysname] user-profile a123
[Sysname-user-profile-a123]