username
Establish an authentication system based on user names.
Syntax
username
name
[access-class
access-list-name
] [nopassword | {password | secret
| sha256-password} [
encryption-type
] password] [
privilege level
] [role
role-
name
]
If you do not want a specific user to enter a password, use the
nopassword
option.
To delete authentication for a user, use the
no username
name
command.
Parameters
name
Enter a text string for the name of the user up to 63 characters.
access-class
access-list-name
Enter the keywords
access-class
then the name of a configured access control list
(either an IP access control list or MAC access control list).
nopassword
Enter the keyword
nopassword
to specify that the user should not enter a password.
password
Enter the keyword
password
then the
encryption-type
or the password.
encryption-type
Enter an encryption type for the
password
that you enter.
•
0
directs the system to store the password as clear text. It is the default encryption
type when using the
password
option.
•
8
to indicate that a password encrypted using a sha256 hashing algorithm follows.
This encryption type is available with the
sha256-password
option only, and is the
default encryption type for this option.
•
7
to indicate that a password encrypted using a DES hashing algorithm follows. This
encryption type is available with the
password
option only.
•
5
to indicate that a password encrypted using an MD5 hashing algorithm follows. This
encryption type is available with the
secret
option only, and is the default encryption
type for this option.
password
Enter a string up to 32 characters long.
privilege
level
Enter the keyword
privilege
then a number from zero (0) to 15.
role
role-name
Enter the keyword
role
followed by the role name to associate with that user ID.
secret
Enter the keyword
secret
then the encryption type.
sha256-password
Enter the keyword
sha256-password
then the
encryption-type
or the password.
Defaults
The default encryption type for
password
option is
0
. The default encryption type for
secret
option is
5
. The
default encryption type for
sha256-password
option is
8
. The default value of
privilege level
is
1
.
Command Modes
CONFIGURATION
Command History
This guide is platform-specific. For command information about other platforms, see the relevant
Dell Networking
OS Command Line Reference Guide
.
Version
Description
9.10(0.0)
Added support for the
sha256-password
option for S3100, S3048–ON, S4048–ON,
S4810, S4820T, S5000, S6000, S6000–ON, Z9100–ON, MXL, and Z9500.
9.8(1.0)
Introduced on the Z9100-ON.
Security
1405