Create a New User-Role User Account

Create a new user account and associate with a user role that can run all show and other basic CLI commands.

Before you begin

You must have the admin role to create a new user account that has the user role.

About this task

Be sure to observe the following guidelines as you create the user account:
Table 1. User-account guidelines
User-defined variables Values
username 1-40 alphanumeric characters, including underscore and dot.

Underscore as first character is not allowed.

rolename Pre-defined role to be assigned to the user (‘admin‘ and ‘user‘ are the only supported roles).
password Clear-text: 8-40 characters for plain-text password.

Encrypted: 8-128 for hashed passwords.

encryption-level 0 = clear-text (default).

10 = encrypted.

Procedure

  1. Run the configure terminal command to access Config mode.
    The command line changes to configuration mode.
    device(config)# 
  2. Create the user-role account using the following commands.
    username username role rolename password password 
    device(config)# username jdoe role user password iKt1Sas*p