Command Line Reference Guide

Security | 925
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.
The MD5 encryption method includes an additional password to support SmartScripts. This addition is
included even if SmartScripts is not installed. The password appears as:
username robert secret 5 d7397df437351f9c3e48e5e4fde9f9ed bsd-password
$1$T0duaorE$v0l3A5GFxIZz4LHOxz2IM.
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 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 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.5.0 Introduced on S55
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