API Guide
Supported
Releases
10.2.0E or later
unlock
Unlocks a previously locked candidate configuration file.
Syntax
unlock
Parameters None
Default Not configured
Command Mode EXEC
Usage
Information
None
Example
OS10# unlock
Supported
Releases
10.2.0E or later
username password role
Creates an authentication entry based on a user name and password, and assigns a role to the user.
Syntax
username username password password role role [priv-lvl privilege-level]
Parameters
● username username—Enter a text string. A maximum of 32 alphanumeric characters; one
character minimum.
● password password—Enter a text string. A maximum of 32 alphanumeric characters; nine
characters minimum. Password prefixes $1$, $5$, and$6$ are not supported in clear-text passwords.
● role role—Enter a user role:
○ sysadmin — Full access to all commands in the system, exclusive access to commands that
manipulate the file system, and access to the system shell. A system administrator can create user
IDs and user roles.
○ secadmin — Full access to configuration commands that set security policy and system access,
such as password strength, AAA authorization, and cryptographic keys. A security administrator
can display security information, such as cryptographic keys, login statistics, and log information.
○ netadmin — Full access to configuration commands that manage traffic flowing through the
switch, such as routes, interfaces, and ACLs. A network administrator cannot access configuration
commands for security features or view security information.
○ netoperator — Access to EXEC mode to view the current configuration with limited access. A
network operator cannot modify any configuration setting on a switch.
● priv-lvl privilege-level — Enter a privilege level, from 0 to 15. If you do not specify the
priv-lvl option, the system assigns privilege level 1 for the netoperator role and privilege level
15 for the sysadmin, secadmin, and netadmin roles.
Default
● User name and password entries are in clear text.
● There is no default user role.
● The default privilege levels are level 1 for netoperator, and level 15 for sysadmin, secadmin, and
netadmin.
Command Mode CONFIGURATION
96 CLI Basics