To create the password for a user account, use the set system login user authentication plain-text-password command in L2/L3 configuration mode. To remove the password for a user, use the delete form of the command.
set system login user username authentication plain-text-password password
delete system login user username authentication plain-text-password
|username||Name of user.|
|password||User's password. By default, the password length must be at least 6 characters.|
The following example sets the password for user alpha; if the username does not already exist, the command will also create it.
admin@Switch# set system login user alpha authentication plain-text-password mypica8