Change the Default CLI User Names

You can change user names for default users (rwa, rw, and ro) for the specified access level. You cannot change user names for user-defined users.

About this task

Note

Note

Only the rwa user can change the default user name.

Perform this procedure to change the default user name for the specified access level.

Procedure

  1. Enter Global Configuration mode:

    enable

    configure terminal

  2. Change the default user name:

    username WORD <1-20> level {l1|l2|l3|ro|rw|rwa}

    The system displays the following message, in this case for the ro access level:

    Do you want to change username for the default RO user ?

  3. Type y.
  4. Enter the old password.
  5. Enter the new password.
  6. Re-enter the new password.

Example

Change the default user name for the RO access to CLI:

Switch:1>enable
Switch:1#config t
Enter configuration commands, one per line.  End with CNTL/Z.
Switch:1(config)#username EXUser level ro

Do you want to change username for the default RO user ?  (y/n) ? y

Enter the old password : **
Enter the New password : *****
Re-enter the New password : *****

Variable Definitions

The following table defines parameters for the username command.

Variable Value

WORD<1-20>

Specifies the user logon name.

level l1|l2|l3|ro|rw|rwa

Specifies the access level.