Authentication, Authorization, and Accounting Commands
username
To configure a new user with a username, establish a password, grant permissions for the user, and to enter
username configuration mode, use the username command. To delete a user from the database, use the no
form of this command.
username user-name [password {[0]| 7} password| secret {[0]| 5} password| group usergroup-name]
no username user-name [password {0| 7} password| secret {0| 5} password| group usergroup-name]
Syntax Description
user-name
password
0
7
password
secret
0
5
group
usergroup-name
Command Default
No usernames are defined in the system.
Command Modes
Global configuration mode
Administration configuration
OL-24740-01
Name of the user. The user-name argument can be only one word. Spaces and
quotation marks are not allowed.
(Optional) Enables a password to be created for the named user.
(Optional) Specifies that an unencrypted (clear-text) password follows. The password
will be encrypted for storage in the configuration using a Cisco proprietary encryption
algorithm.
(Optional) Specifies that an encrypted password follows.
(Optional) Specifies the unencrypted password text to be entered by the user to log
in, for example, lab . If encryption is configured, the password is not visible to the
user.
Can be up to 253 characters in length.
(Optional) Enables an MD5-secured password to be created for the named user.
(Optional) Specifies that an unencrypted (clear-text) password follows. The password
will be encrypted for storage in the configuration using an MD5 encryption algorithm.
(Optional) Specifies that an encrypted password follows.
(Optional) Enables a named user to be associated with a user group.
(Optional) Name of a user group as defined with the usergroup command.
Cisco IOS XR System Security Command Reference for the Cisco CRS Router, Release 4.1
username
119