Recently, the OS of a vswitch is old, so I want to update it. I want to ask a user to update the OS. After updating the OS, the problem occurs, I have a password for the OS. Since the password is being used and it is difficult for them to ask for it, I am ready to clear the password. After finding the relevant article on www.cisco.com, cleared successfully. Write down the cleanup process.
Let's talk about the configuration environment first, the switch is a WS-C6509, with CatOS, in my opinion, the process of restoring the Cisco password is the easiest to restore CatOS, just a few steps can be done.
1. Connect the computer or terminal to the console of the switch to start the switch.
2. When the switch is started, press Enter to get a user prompt. Press Enter for the following time:
After a vswitch is enabled, the following message is displayed:
The following is a reference clip: System Bootstrap, Version 5.3(1) Copyright (c) 1994-1999 by Cisco Systems, Inc. c6k_sup1 processor with 65536 Kbytes of main memory Autoboot executing command: "boot bootflash:cat6000-sup9k.6-1-1c.bin" Uncompressing file: ##################################################### ################################################################## 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-sup9k.6.1.1(c).bin |
When this line appears, the switch will be loading the OS and will be static for two to three minutes. Here you can make preparations. When new content appears, press Enter until the following prompt is displayed:
The following is a reference clip: Running System Diagnostics from this Supervisor (Module 1) This may take up to 2 minutes....please wait Cisco Systems Console Enter password: |
At this time, you will succeed. Press Enter to Enter, and the switch directly enters the Console> prompt
3. After the user prompt, enter enable to enter the privileged mode.
Console> en <------ press ENTER
Enter password: <------ press Enter
Console> (enable)
4. In privileged mode, you can use the set password and set enablepass commands to change the password.
The following is a reference clip: Console> (enable) set password Enter old password: <------ press Enter Enter new password: <------ press Enter Retype new password: <------ press ENTER Password changed. Console> (enable) set enablepass Enter old password: <------ press Enter Enter new password: <------ press Enter Retype new password: <------ press ENTER Password changed. |
In this way, the password is cleared.
Here, I would like to remind you that the above period of time is very limited, and it can only take about three minutes, so the action can be fast.
- How to restore the password of Cisco 19 series and 29 series switches
- How to restore a vswitch Password
- Cisco Catalyst Switch password recovery policy