set system login user authentication plain-text-password

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.

NOTE: The encryption algorithm used to save user password to local is MD5.

Command Syntax

set system login user <username> authentication plain-text-password <password>
delete system login user <username> authentication plain-text-password

Parameters

Parameter

Description
user <username>Name of user. The value is a string.
plain-text-password <password>

User's password. The value is a string that must be at least 6 characters. 

The password can support the below complexity:

  1. Lowercase letters a-z.
  2. Uppercase letters A-Z.
  3. Numerics (0, 1, 2, etc.)
  4. Special Characters (@, %, !, etc.)

Example

  • 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
 admin@XorPlus# commit 
  • This example demonstrates how to create a password for the user admin:
admin@XorPlus# set system login user admin authentication plain-text-password pica8pica8 
admin@XorPlus# commit 

Copyright © 2024 Pica8 Inc. All Rights Reserved.