Recover accidentally deleted switch flash

Source: Internet
Author: User


When clearing the Cisco2960 switch configuration file, flash is lost to erase due to misoperations. After reload, the system is dumpfounded. After you press enter, the switch without ios is displayed, and the prompt "switch:" is always displayed :"
Www.2cto.com fortunately, I still have a switch of the same model here. My idea is to copy this binfile to the flash which cannot be started.
Www.2cto.com First, export the binfile from a good switch (I use the tftp mode, the export method refer to my previous article: http://www.bkjia.com/net/201202/119171.html) began to think that the binfile directly in the flash: below, so there is the following error: later found binfile in flash: c2960-lanbasek9-mz.122-44.SE6 under this folder, folder and file name is basically the same name, really pitfall, So I here the correct command should be: copy flash: c2960-lanbasek9-mz.122-44.SE6 \ c2960-lanbasek9-mz.122-44.SE6.bin tftp 2. Unplug the power cord of the switch, press the mode key on the panel, and then plug in the power cord to power up, the mode key can be released when the Ethernet indicator lights that are not wired on the vswitch panel are on and several system indicators of the vswitch are on normally or when switch: flash_init appears on the panel.
3. flash initialization 4. Transmit binfile via Xmodem 1. input the Copy command (Note: The file name after flash is the same as the exported file name) 2. After the C prompt is displayed, click transmission in the toolbar> send Xmodem (SecureCRT is used), find the binfile to be exported, and start transmission. The transmission will show the percentage. Here I am recording the file
Www.2cto.com 3. The transmission process is very slow. It takes about 140 minutes, so please wait patiently, after waiting, I finally saw the successful information. 5. Input boot at the command prompt and restart it to enable the new IOS boot process. There are a lot more, and some of them are missing, only the last part is provided. Haha, you can see the familiar Switch> screen, and you can operate normally.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.