username (Local Database)

Creates a user record in the local user database.
Syntax
username username password password-string
no username username [ password password-string ]
Command Default

User records are not created.

Parameters
username
Specifies the username for the user as an ASCII string. You can specify up to 31 characters. The colon character (:) is not allowed.
password password-string
Specifies the password for the user. You can specify up to 29 characters.
Modes

Local user database configuration mode

Usage Guidelines

You can add up to 30 usernames and passwords to a local user database.

The no form of the command removes the user record from the local user database.

Examples

The following example creates a new user account and adds it to a local user database.

device(config)# local-userdb userdb1
device(config-localuserdb-userdb1)# username XYZ password A5!fk3p
History
Release version Command history
10.0.10d This command was modified to disallow use of the colon character (:) in usernames.