Command Line Reference Guide
Security | 917
username
c e s
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 5.
Command Modes
CONFIGURATION
Command
History
Usage
Information
To view the defined user names, use the show running-config user command.
name
Enter a text string for the name of the user up to 63 characters.
Note: If the entered username is longer than 16 characters, the BSD
username and password are not created. This is a BSD limitation, not
an FTOS limitation. FTOS supports up to 63 characters for the
username and password.
access-class
access-list-name
Enter the keyword access-class followed by the name of a configured access
control list (either a 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 ecrypted using a DES hashing algorithm will
follow. This encryption type is available with the
password option only.
• 5 to indicate that a password ecrypted 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.3.4 Enhanced BSD encryption
Version 8.3.3.1 Introduced on S60
Added BSD encryption to MD5 passwords
Version 7.7.1.0
Added support for
secret option and MD5 password encryption. Extended name
from 25 characters to 63.
Version 7.6.1.0 Introduced for S-Series
Version 7.5.1.0 Introduced for C-Series
E-Series original Command










