Authentication, Authorization, and Accounting Commands on Cisco IOS XR Software

username

username

To configure a new user with a username, establish a password, and grant permissions for the user, and to enter username configuration mode, use the username command in global configuration mode. 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

Name of the user. The user-nameargument can be only one word. Spaces and

 

 

quotation marks are not allowed.

 

 

 

 

password

(Optional) Enables a password to be created for the named user.

 

 

 

 

0

(Optional) Specifies that an unencrypted (clear-text) password follows.

 

 

 

 

7

(Optional) Specifies that an encrypted password follows.

 

 

 

 

password

(Optional) Specifies the character-string password to be entered by the user to log in.

 

 

 

 

secret

(Optional) Enables a secure password to be created for the named user.

 

 

 

 

0

(Optional) Specifies that an unencrypted (clear-text) secret follows.

 

 

 

 

5

(Optional) Specifies an encrypted password follows.

 

 

 

 

group

(Optional) Enables a named user to be associated with a user group.

usergroup-name(Optional) Name of a user group as defined with the usergroup command.

Defaults

Command Modes

Command History

No usernames are defined in the system.

Global configuration

Release

Modification

Release 2.0

This command was introduced on the Cisco CRS-1.

 

 

Release 3.0

No modification.

 

 

Release 3.2

This command was supported on the Cisco XR 12000 Series Router.

 

 

Release 3.3.0

Support was added to display all user names in global configuration mode.

 

 

Usage Guidelines To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Use the username command to identify the user and enter username configuration mode. Password and user group assignments can be made from either global configuration mode or username configuration submode. Permissions (task IDs) are assigned by associating the user with one or more defined user groups.

Cisco IOS XR System Security Command Reference

SR-97

Page 97
Image 97
Cisco Systems XR manual Username, SR-97