How to handle Cisco low-end switch iOS upgrade failure

Source: Internet
Author: User
Tags cisco switch


As we all know, Cisco device iOSUpgradeIs simple, just set up an FTP or TFTP server and use it on a Cisco device
Copy tftp: (or ftp:) Flash: (The high-end device is generally sup-bootdisk:)
You can do it. And after the upgrade of the high-end device fails, even if you delete the original iOS, you just need to get a flash card, the iOS directly to the flash card, and then plug into the engine with the Flash card slot, and then set up the iOS file location. But what happens when the low-end device doesn't have a flash slot configured? You may have thought of using the Xmodem method to copy iOS files to the device's flash. Of course, this is the only way. But xomdem through the serial line transmission, the rate is 9600bps, the speed is very slow, how to do?
If it is a router, that this good, can be resolved through the Confreg command to modify the serial port rate, the following is a simple introduction of the Confreg command to modify the serial port rate:
Rommon 1 > Confreg Enter

Configuration Summary

Enabled is:

Load ROM after netboot fails

Console baud:9600

Boot:image specified by the boot system commands

or default to:cisco2-c2600

Do you wish to change the configuration? y/n [n]: Y (select Yes)

Enable "diagnostic Mode"? y/n [n]: N (select No)

Enable "Use NET in IP bcast address"? y/n [n]: N (select No)

Disable "Load ROM after netboot fails"? y/n [n]: N (select No)

Enable "Use all zero broadcast"? y/n [n]: N (select No)

Enable "Break/abort has effect"? y/n [n]: N (select No)

Enable "Ignore system config Info"? y/n [n]: N (select No)

Change console baud rate? y/n [n]: Y (select Yes)

Enter rate:0 = 9600, 1 = 4800, 2 = 1200, 3 = 2400

4 = 19200, 5 = 38400, 6 = 57600, 7 = 115200 [0]: 7 (select 7, with maximum 11520

Rate of Xmodem transmission)

Change the boot characteristics? y/n [n]: N (select No)

Configuration Summary

Enabled is:

Load ROM after netboot fails

Console baud:115200

Boot:image specified by the boot system commands

or default to:cisco2-c2600

Do you wish to change the configuration? y/n [n]: N (select No)

Must reset or power cycle for new config to take effect

Rommon 2 > Reset
You can then upgrade iOS by Xmodem using the following command:

Rommon 2 > Xmodem-c c2600-i-mz.122-11.bin
But Cisco low-endSwitchRomm Mode (Cisco Low-endSwitchRomm mode prompt for switch:) No Confreg command, what to do? Without this command does not mean that it can not modify the serial port rate, using the following command: (note case)
Switch:set BAUD 115200
Switch:reset (restart)
This is changed, but the Romm mode of the low-end switch enters the help command, and the Xmodem command is not visible. As above, to use other commands, the command is as follows:
Switch:copy Xmodem:flash:c3750-advipservicesk9-mz.122-40.se.bin
Then use HyperTerminal to send files on it, I tested it, use thisMethodCopy an iOS file about 7M in about 20 minutes. Restart the switch when copy is complete.
However, the serial rate modified using this method cannot be modified successfully using the following command:
Line con 0
Speed 9600
You must enter the Romm mode again, using the unset baud command to change the serial port rate to the default value. Otherwise, using the CRT or HyperTerminal, the 9600 rate will not see the output information of the Cisco switch.

Http://pan.baidu.com/s/1bns376R

(Editor: admin)

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.