
username
Add new user.
Syntax: username name password [0 | 7] password
name
Username. An alphanumeric string of between 1 and 80 printable characters.
password
Password. An alphanumeric string of between 4 and 20 printable characters.
0
Enter a clear-text password.
7
The password is already encrypted.
Description: Use this command to add a new user for this router. You must enter both a name and password to establish a new user. You can optionally specify whether the password is encrypted (7) or not (0).
Use the username name password 0 password command to add a new user and to indicate that the password is entered in clear text.
NOTE The string is encrypted before it is saved into the running configuration file.
Use the username name password 7 password command to add a new user and indicate that the string is already encrypted. For example, if you cut and paste this command from another configuration file, the password is already encrypted.
Factory Default: None.
Command Mode: Configuration.
Example: In the following example:
- The username commands add 3 new users.
- The show usernames command displays the new name (and the default username "admin"):
router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
router(config)#username user1 password 0 ethan
router(config)#username user2 password 0 aaron
router(config)#username user3 password 0 peter
router(config)#end
router#show usernames
username
--------
admin
user1
user2
user3
Related Commands: show usernames
Copyright © 2005
Avici Systems Inc.
Avici® and TSR®
is a registered trademark of Avici Systems Inc.
IPriori, Composite Links, SSR, QSR, and NSR® are
trademarks of Avici Systems Inc.
Source
File Name: sys_mgmt.fm
HTML File Name: sys_mgmt63.html
Last Updated: 02/25/05 at 14:26:49