background image
Cisco 1900 IOS Configuration Commands
601
CLI session with the switch is open.
To end the CLI session, enter [Exit].
>enable
#config t
Enter configuration commands, one per line. End with CNTL/Z
(config)#
Once you are in global configuration mode, you can set the user-mode
and enable-mode passwords by using the enable password command. The
following output shows the configuration of both the user-mode and enable-
mode passwords.
(config)#enable password ?
level Set exec level password
(config)#enable password level ?
<1-15> Level number
To enter the user-mode password, use level 1. To enter the enable-mode
password, use level 15. Remember the password must be at least four char-
acters, but not longer than eight characters. The next switch output shows
the user-mode password being set and denied because it is more than eight
characters.
(config)#enable password level 1 toddlammle
Error: Invalid password length.
Password must be between 4 and 8 characters
The following output is an example of how to set both the user-mode and
enable-mode passwords on the 1900 switch.
(config)#enable password level 1 todd
(config)#enable password level 15 todd1
(config)#exit
#exit
CLI session with the switch is now closed.
Press any key to continue.
At this point, you can press Enter and test your passwords. You will be
prompted for a user-mode password after you press K and an enable-mode
password after you type enable.
Copyright ©2002 SYBEX, Inc., Alameda, CA
www.sybex.com