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.-
passwordpassword Specifies a password for the user.
-
access-classaccess-list-number Specifies an outgoing access list for the user, overriding the access list specified in the
access-classcommand in the line configuration.-
autocommandcommand Causes the specified command to be issued automatically when the user connects. This is commonly used to start PPP sessions.
-
callback-dialstringphone-number Specifies the phone number to pass to the modem for asynchronous callback.
-
callback-rotaryrotary-group-number Specifies the rotary group to use for asynchronous callback.
-
callback-line ttyline-number ending-line-number Specifies which lines can be used for asynchronous callback. The optional
ttykeyword restricts the callback to ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access