DGS-6604
username
CLI Reference Guide
917
The factory default setting sets the user account to an empty string. When the
user account is empty, the any access will be logged in directly in the User Exec
mode at the power user level. The user can further enter the Privileged Exec
mode using the enable password. If the enable password is not set then the user
only needs to use the command
"enable” on page 186
.
Examples
This example shows how to create a username and password pair. It assigns a
username of admin with the password
mypassword
.
This example shows how to remove a user account with the username
admin
.
Verify the settings by entering the
show username
command.
Switch(config)# username admin password plain-text mypassword
Switch(config)# no username admin