Step-by-Step Procedure Attach a terminal or PC with terminal emulation to the console port of the switch. Use the following terminal settings: 9600 baud rate no parity 8 data bits 1 stop bit
Turn off the switch and then turn it on. Important You must complete steps 3 through 7 within 30 seconds after you turn the switch off and on and the first time you see the password prompt.
Press Enter at the password prompt to enter a null password. Type enable at the prompt to enter enable mode. Press Enter at the password prompt to enter a null password. Change the password using the set password command or the set enablepass command. Press Enter at the prompt to enter the old password. set password Use the set password command to change the login password on the CLI.
set password
Syntax Description This command has no arguments or keywords.
Default The default configuration has no password configured.
Command Type Switch command.
Command Mode Privileged.
Usage Guideline The command prompts you for the old password. If the password you enter is valid, you are prompted to enter a new password and to verify the new password. A zero-length password is allowed by pressing Return. Example This example shows how to set an initial password:
Console> (enable) set password Enter old password: <old_password> Enter new password: <new_password> Retype new password: <new_password> Password changed. Console> (enable)
set enablepass Use the set enablepass command to change the password for the privileged level of the CLI.
set enablepass
Syntax Description This command has no arguments or keywords.
Default The default configuration has no enable password configured.
Command Type Switch command.
Command Mode Privileged.
Usage Guideline The command prompts you for the old password. If the password you enter is valid, you are prompted to enter a new password and to verify the new password. A zero-length password is allowed.
Example This example shows how to establish a new password:
Console> (enable) set enablepass Enter old password: <old_password> Enter new password: <new_password> Retype new password: <new_password> Password changed. Console> (enable)
Sample Output of a Password Recovery Procedure
Console>en Enter password: Sorry Console>
!--- The switch is being power cycled. !
System Bootstrap, Version 5.2(1)CSX Copyright (c) 1994-1999 by cisco Systems, Inc. c6k_sup1 processor with 65536 Kbytes of main memory
System Power On Diagnostics DRAM Size ....................64 MB Testing DRAM..................Passed Verifying Text segment .......Passed NVRAM Size ...................512 KB Saving NVRAM .................Done Testing NVRAM ................Passed Restoring NVRAM ..............Done Level2 Cache .................Present Testing Level2 Cache .........Passed
System Power On Diagnostics Complete
Boot image: bootflash:cat6000-sup.5-3-3-CSX.bin
Running System Diagnostics from this Supervisor (Module 1) This may take up to 2 minutes....please wait
Cisco Systems Console
NTP: Previous SW using local time... Enter password: (press Enter)
2000 Jan 09 23:09:27 %SYS-1-SYS_NORMPWRMGMT:System in normal power management Operation 2000 Jan 09 23:09:27 %SYS-5-MOD_PWRON:Module 3 powered up 2000 Jan 09 23:09:27 %SYS-5-MOD_PWRON:Module 4 powered up 2000 Jan 09 23:09:34 %SYS-5-MOD_OK:Module 1 is online
Console> en Enter password: (press Enter) Console> (enable) set password Enter old password: (press Enter) Enter new password: (type your new password) Retype new password: (type your new password) Password changed.
Console> (enable) set enablepass
Enter old password: (press Enter) Enter new password: (type your new password) Retype new password: (type your new password)