Change the Default Username
You can change usernames for default users (rwa, rw, and ro) for the specified access level. You cannot change usernames for user-defined users.
Before you begin
Only the rwa user can change the default username.
About this task
Perform this procedure to change the default username for the specified access level.
Procedure
Example
Change the default username:
Switch:1>enable Switch:1#config t Enter configuration commands, one per line. End with CNTL/Z. Switch:1(config)#username EXUser ? level Which access level Switch:1(config)#username EXUser level ? l1 Change Layer 1 read write enable password l2 Change Layer 2 read write enable password l3 Change Layer 3 read write enable password ro Change read only enable password rw Change read write enable password rwa Change read write all enable password 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. |