Reference Guide
Security | 207
username
Establish an authentication system based on user names.
Syntax
username name [access-class access-list-name] [nopassword | {password | secret}
[encryption-type] password] [privilege level]
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
Defaults
The default encryption type for the password option is 0. The default encryption type for the secret
option is 0.
Command Modes
CONFIGURATION
Command
History
Usage
Information
To view the defined user names, use the show running-config user command.
Related
Commands
name
Enter a text string for the name of the user up to 63 characters.
access-class
access-list-name
Enter the keyword access-class followed by 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 followed by the encryption-type or the password.
secret Enter the keyword secret followed by the encryption-type or the password.
encryption-type Enter an encryption type for the password that you will enter.
• 0 directs FTOS to store the password as clear text. It is the default encryption
type when using the
password option.
• 7 to indicate that a password encrypted using a DES hashing algorithm will
follow. This encryption type is available with the
password option only.
• 5 to indicate that a password encrypted using an MD5 hashing algorithm will
follow. 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 followed by a number from zero (0) to 15.
secret Enter the keyword secret followed by the encryption type.
Version 8.3.17.0 Supported on M I/O Aggregator
service
password-encryp
tion
Specifies a password for users on terminal lines.
show
running-config
Views the current configuration.