background image
238
Chapter 4
Introduction to the Cisco IOS
13.
One more command you need to set for your VTY password is
password
. Type password password to set the password. (password
is your password.)
14.
Here is an example of how to set the VTY passwords:
config t
line vty 0 4
login
password todd
15.
Set your auxiliary password by first typing line auxiliary 0 or line
aux
0.
16.
Type login.
17.
Type password password.
18.
Set your console password by first typing line console 0 or line
con
0.
19.
Type login.
20.
Type password password. Here is an example of the last two
commands:
config t
line con 0
login
password todd1
line aux 0
login
password todd
21.
You can add the Exec-timeout 0 0 command to the console 0 line.
This will stop the console from timing out and logging you out. The
command will now look like this:
config t
line con 0
login
password todd2
exec-timeout 0 0
22.
Set the console prompt to not overwrite the command you're typing
with console messages by using the command logging synchronous.
Copyright ©2002 SYBEX, Inc., Alameda, CA
www.sybex.com