Cisco switch, what do we do when we forget its login password? How do I clear its password?
principle: Enter the bottom of the switch, by modifying the switch original profile name, after restarting the switch, the switch cannot find the original configuration file, it will load the default system files (ie: Switch factory configuration), to achieve the purpose of clearing the switch password.
Step One: using a notebook to connect to the switch COM port via the control line, open the HyperTerminal debug window 2
Step Two: When the switch is power up, press and hold the switch's front "mode" button until the SYS light is not flashing (ie: solid state) and enter the switch's underlying mode switch:
650) this.width=650; "src=" https://s1.51cto.com/wyfs02/M01/08/88/wKiom1nj86KRXfTcAATPLI81nBo276.jpg "title=" 1.jpg "alt=" Wkiom1nj86krxftcaatpli81nbo276.jpg "/>
Step Three: input Command <flash_init > enter to initialize the Flash file system.
PS: This mode, do not support the abbreviation of the command, be sure to write the command full.
650) this.width=650; "src=" https://s2.51cto.com/wyfs02/M00/A7/38/wKioL1nj8dPC0kEBAAP_er7iGzE534.jpg "title=" 2.jpg "alt=" Wkiol1nj8dpc0kebaap_er7igze534.jpg "/>
Step Four: Enter the command <dir flash> Enter to view the switch configuration file and prepare for the next step.
650) this.width=650; "src=" https://s4.51cto.com/wyfs02/M02/08/88/wKiom1nj9JqBab8-AAJ4cTb_Rnk674.jpg "title=" 3.jpg "alt=" Wkiom1nj9jqbab8-aaj4ctb_rnk674.jpg "/>
Step Five: Enter the command <rename flash:config.textflash:config.old> Enter to rename the switch original configuration file.
PS: "Config.old" is to get the file name casually.
650) this.width=650; "src=" https://s4.51cto.com/wyfs02/M00/A7/38/wKioL1nj8hHCt_SbAAHgRMPPsQk738.jpg "title=" 4.jpg "alt=" Wkiol1nj8hhct_sbaahgrmppsqk738.jpg "/>
Step Six: Enter the command <dir flash> return to see if the file name was modified successfully, enter command <boot> after success, and restart the switch.
650) this.width=650; "src=" https://s5.51cto.com/wyfs02/M01/A7/38/wKioL1nj8lDArcYbAAS1ieRaCE4775.jpg "title=" 5.jpg "alt=" Wkiol1nj8ldarcybaas1ierace4775.jpg "/>
Step Seven: after the switch is restarted, the switch password is successfully cleared when it is restored to the factory configuration.
650) this.width=650; "src=" https://s2.51cto.com/wyfs02/M01/A7/38/wKioL1nj9mPCMZ6UAATpO241SxI949.jpg "title=" 6.jpg "alt=" Wkiol1nj9mpcmz6uaatpo241sxi949.jpg "/>
How to restore the switch before configuration information?
Step One: Next to step seven, in Switch privilege mode, enter command <dir> to view system files. Renames the previously modified configuration file. Input command <rename flash:config.text.old flash:config.text >
650) this.width=650; "src=" https://s4.51cto.com/wyfs02/M00/A7/38/wKioL1nj9pvAgcJUAAQlo6kwVjM082.jpg "title=" 7.jpg "alt=" Wkiol1nj9pvagcjuaaqlo6kwvjm082.jpg "/>
Step Two: go to switch global mode, modify forgotten password ...
Enter the command <copy Flash:config.textsystem:running-config, save the DRAM memory configured to the switch. , the switch restores the previous configuration.
650) this.width=650; "src=" https://s1.51cto.com/wyfs02/M01/08/88/wKiom1nj-XPDmqYNAAWU4nrhTio916.jpg "title=" 8.jpg "alt=" Wkiom1nj-xpdmqynaawu4nrhtio916.jpg "/>
Step Three: Enter the command <show run; The switch restores the previous configuration information.
650) this.width=650; "src=" https://s2.51cto.com/wyfs02/M02/08/88/wKiom1nj-ZeR6-eKAAKsZ1FYxfE377.jpg "title=" 9.jpg "alt=" Wkiom1nj-zer6-ekaaksz1fyxfe377.jpg "/>
Step Four: Enter the switch global mode, modify the forgotten password, late login can use the newly modified password.
1.
This article is from the "Learn Linux history" blog, please be sure to keep this source http://woyaoxuelinux.blog.51cto.com/5663865/1972612
Cisco switch password forgot reset