user-profile enable
Syntax
user-profile profile-name enable
undo user-profile profile-name enable
View
System view
Default level
2: System level
Parameters
profile-name: Specifies a user profile name, 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. The user profile must
already exist.
Description
Use user-profile enable to enable a user profile that has been created. If the user profile does not exist,
the command fails. Only enabled user profiles can be applied to authenticated users.
Use undo user-profile enable to disable the specified user profile. Disabling a user profile logs out users
that are using the user profile. To edit or remove the configurations in a user profile, disable the user
profile first.
By default, a created user profile is disabled.
Examples
# Enable user profile a123.
<Sysname> system-view
[Sysname] user-profile a123 enable
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.
143