Quickly restore Cisco Route switch IOS

Source: Internet
Author: User

With the development of China's routing industry, we have also promoted the update and upgrade of the routing switch technology. Here we have introduced the IOS restoration method of the Cisco routing switch, and we have tried one method, after Flash is deleted, the system cannot be started. You can use X-Modem to restore it. At that time, I accidentally deleted the FlashIOS of a Cisco2950Cisco route switch, causing the system to fail to start. After checking a lot of information, I came to the conclusion that the only method is to use X-Modem for recovery. My recovery method is as follows:

1. Use the control line to connect the console port of the Cisco Route switch to the serial port of the computer. 1. Use the terminal software with the xmodem function to connect to the Super Terminal of win2000 and xp ).

2. Set the connection mode to serial port 1. If other serial ports are connected, select another serial port). The speed is 9600, no verification, no throttling, and the stop position is 1. Or click the default settings.

3. After the connection, press enter to display the Cisco Route switch without ios interface. The general prompt is: switch:

4. Unplug the power cord of the Cisco Route switch and restart the switch.

5. Enter switch: flash_init on the Super Terminal and the following prompt will appear: Initializing Flash...

6: Input copy command: switch: copy xmodem: flash: image_filename.bin, the following prompt appears: Begin the Xmodem or Xmodem-1K transfer now...

7. The system prompts that the letter "C" appears and you can start to upload files.

8. Click the Super Terminal menu: Send --- send file, select Xmodem or Xmodem-1K protocol in protocol options, and then select ios image file *. bin) to start transfer.

9. Because the speed cannot be changed, the transmission speed is very slow. It takes about 80 minutes for me to transfer it. Please wait.

10. After the transfer is completed, the message "File" xmodem: "successfully copied to..., switch:

11. Enter switch: boot at the prompt to enable the new ios system.

12. Re-power up to complete the recovery. This is my recovery method. Now it seems very unscientific and inefficient. Later, I saw that others used X-Modem to restore IOS, but the efficiency was high:
First open the Super Terminal, enter the rommon mode Ctrl + Break key combination), type confreg, as shown below:

 
 
  1. Rommon 1> confreg press ENTER
  2. Configuration Summary
  3. Enabled are:
  4. Load rom after netboot fails
  5. Console BAO: 9600
  6. Boot: image specified by the boot system commands
  7. Or default to: cisco2-C2600
  8. Do you wish to change the configuration? Y/n [n]: y (select yes)
  9. Enable "diagnostic mode "? Y/n [n]: n (Select no)
  10. Enable "use net in IP bcast address "? Y/n [n]: n (Select no)
  11. Disable "load rom after netboot fails "? Y/n [n]: n (Select no)
  12. Enable "use all zero broadcast "? Y/n [n]: n (Select no)
  13. Enable "break/abort has effect "? Y/n [n]: n (Select no)
  14. Enable "ignore system config info "? Y/n [n]: n (Select no)
  15. Change console baud rate? Y/n [n]: y (select yes)
  16. Enter rate: 0 = 9600, 1 = 4800, 2 = 1200, 3 = 2400
  17. 4 = 19200, 5 = 38400, 6 = 57600, 7 = 115200 [0]: 7 (select 7, use the xmodem with the maximum rate of 115200)
  18. Change the boot characteristics? Y/n [n]: n (Select no)
  19. Configuration Summary
  20. Enabled are:
  21. Load rom after netboot fails
  22. Console BAO: 115200
  23. Boot: image specified by the boot system commands
  24. Or default to: cisco2-C2600
  25. Do you wish to change the configuration? Y/n [n]: n (Select no)
  26. You must reset or power cycle for new config to take effect
  27. Rommon 2> reset carriage return
  28.  

Before entering the reset key, start to define the serial speed my computer --- port attribute ---- serial speed to 115200), and then modify the speed to 115200 in the Super Terminal. Remember, do it! Otherwise, garbled characters will appear!
 

Related Article

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.