username

To create a user and sets the password and the privilege level for the user, use the username command in Global Configuration Mode. The no form of the command deletes the specified user.

username

username <user-name> { [password } { [0 | } { 7 | } { LINE] } { <string(8-20)>] } { [privilege <1-15>] } { [confirm-password } { [0 | } { 7 | } { LINE] } { <string(8-20)>] } { [status } { enable] }

no username

no username <user-name>

Parameters

Parameter Type Description
<user-name>   Specify the login user name to be created
password   Specifies the password to be entered by the user to login to the system, and password encryption to be used. The size password entered must be a minimum of 8 and maximum of 20 characters containing at least one uppercase, one lowercase, one number and one special character. The password encryption options are as follows:
0 Integer Uses the unencrypted password
7 Integer Uses the hidden password
LINE   Uses the Line password; This feature is currently not supported
<string(8-20)> integer Specifies that the size of password entered must be a minimum of 8 and maximum of 20 characters
privilege <1-15> integer Applies restriction to the user for accessing the CLI commands. This values ranges between 1 and 15. For example, a user ID configured with privilege level as 4 can access only the commands having privilege ID lesser than or equal to 4
confirm-password   Specifies the password to be entered by the user to login to the system, and password encryption to be used. The size password entered must be a minimum of 8 and maximum of 20 characters containing at least one uppercase, one lowercase, one number and one special character. The password encryption options are as follows:
0 Integer Uses the unencrypted password
7 Integer Uses the hidden password
LINE   Uses the Line password; This feature is currently not supported
<string(8-20)> integer Specifies that the size of password entered must be a minimum of 8 and maximum of 20 characters
status   Specifies the status of the user name
enable   Enables the user name

Mode

Global Configuration Mode

Prerequisites

Examples

iS5Comm (config)# username products password Prod@1234 privilege 15

Note:

The user products are created with the privilege level 15. Hence, the user will be visible to view all commands.

iS5Comm (config)# username support password Supp@123 privilege 1

Note:
The user support is created with the privilege level 1. Hence, the user will be visible to view only the below commands.
  • Show - Show commands related to all features.
  • Enable - Enables the privilege level.
  • Exit
  • Logout
  • Clear
  • Debug
  • No Debug