Name
username — global
Synopsis
usernamename
[nopassword | passwordpassword
] [access-classaccess-list-
number] [autocommandcommand
] [callback-dialstringphone-number
] [callback-rotaryrotary-group-number
] [callback-line [tty]line-number
[ending-line-number
]] [nocallback-verify] [noescape] [nohangup] [privilegelevel
]
Configures
Username information for authentication
Default
None
Description
The username
command provides authentication information for a user. It is used to build a username database on the router itself (as opposed to on an external server, like a RADIUS server). Many different types of information can be provided, using the following options:
-
nopassword
No password is required for the user; this option is useful when combined with
autocommand
.-
password
password
Specifies a password for the user.
-
access-class
access-list-number
Specifies an outgoing access list for the user, overriding the access list specified in the
access-class
command in the line configuration.-
autocommand
command
Causes the specified command to be issued automatically when the user connects. This is commonly used to start PPP sessions.
-
callback-dialstring
phone-number
Specifies the phone number to pass to the modem for asynchronous callback.
-
callback-rotary
rotary-group-number
Specifies the rotary group to use for asynchronous callback.
-
callback-line tty
line-number ending-line-number
Specifies which lines can be used for asynchronous callback. The optional
tty
keyword restricts the callback to ...
Get Cisco IOS in a Nutshell, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.