66
Chapter 2
Connecting the Switch Block
Console> en
Enter password:
Console> (enable) set password ?
Usage: set password
Console> (enable) set password [press enter]
Enter old password:
Enter new password:
Retype new password:
Password changed.
When you see the "Enter old password" prompt, you can leave it blank
and press Enter if you don't have a password set. The output for the "Enter
new password" prompt doesn't show on the console screen. If you want to
clear the usermode (login) password, type in the old password and then just
press Enter when you're asked for a new password.
To set the enable password, use the command set enablepass, then
press Enter:
Console> (enable) set enablepass
Enter old password:
Enter new password:
Retype new password:
Password changed.
Console> (enable)
You can type exit at this point to log out of the switch completely, which will
allow you to test your new passwords.
1900 IOS-Based Switch
Even though the 1900 switch is a CLI running an IOS, the commands for the
usermode and enable mode passwords are different than they are for a
router. You use the command enable password, which is the same, but you
choose different access levels, which is optional on a Cisco router but not on
the 1900 switch. The enable secret password can be set as well, and it super-
cedes the enable password level 15. The telnet password is set by setting
either the enable password level 15 or the enable secret password.
Copyright ©2000 SYBEX , Inc., Alameda, CA
www.sybex.com