O'Reilly logo

Cisco IOS in a Nutshell, 2nd Edition by James Boney

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

username — global

Synopsis

username name [nopassword | password password] [access-class access-list-
number] [autocommand command] [callback-dialstring phone-number]
[callback-rotary rotary-group-number] [callback-line [tty] line-number
[ending-line-number]] [nocallback-verify] [noescape] [nohangup]
[privilege level]

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required