Managing Network Devices
429
If you try to set the enable secret and enable passwords to be the same, the
router will give you a nice, polite warning the first time, but if you type the
same password again, it will be accepted. However, now neither password
will work. If you don't have older legacy routers, don't bother to use the
enable password.
Usermode passwords are assigned by using the line command:
Router(config)#line ?
<0-4> First Line number
aux Auxiliary line
console Primary terminal line
vty Virtual terminal
The commands are as follows:
aux
Sets the usermode password for the auxiliary port. This is typically
used for configuring a modem on the router, but it can be used as a con-
sole as well.
console
Sets a console usermode password.
vty
Sets a Telnet password on the router. If the password is not set, then
by default, Telnet cannot be used.
To configure the usermode passwords, you configure the line you want
and use either the login or no login command to tell the router to prompt
for authentication.
Auxiliary Password
To configure the auxiliary password, go to global configuration mode and
type line aux ?. Notice that you only get a choice of 00 because there is
only one port:
Router#config t
Enter configuration commands, one per line. End with
CNTL/Z.
Router(config)#line aux ?
<0-0> First Line number
Router(config)#line aux 0
Router(config-line)#login
Router(config-line)#password todd
Copyright ©2000 SYBEX , Inc., Alameda, CA
www.sybex.com