background image
578
Appendix A
Introduction to the Cisco IOS: Hands-on Labs
2.
The enable secret, if set, supersedes the enable password.
3.
Set your user-mode passwords by using the line command.
Router(config)#line ?
<0-4> First Line number
aux Auxiliary line
console Primary terminal line
vty Virtual terminal
Aux
is used to set the user-mode password for the auxiliary port.
This is typically used for configuring a modem on the router but
can be used as a console as well.
Console
is used to set a console user-mode password.
Vty
is used to set a Telnet password on the router. If this password
is not set, then Telnet cannot be used by default.
To configure the user-mode passwords, you configure the line you
want and use the login command to tell the router to prompt for
authentication.
4.
Set the auxiliary password on your router. To configure the auxiliary
password, go to global configuration mode and type line aux ?.
Notice that you only get a choice of 0­0 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
It is important to remember the login command, or the auxiliary port
won't prompt for authentication.
5.
Set your console password on your router. To set the console password,
use the line console 0 command.
Router(config)#line console 0
Router(config-line)#login
Router(config-line)#password todd1
Copyright ©2002 SYBEX, Inc., Alameda, CA
www.sybex.com