Home > CISCO > Recovering an IOS using TFTP and Xmodem

Recovering an IOS using TFTP and Xmodem

July 8th, 2009

Have you lost or corrupted an IOS?  These procedures descibe:

  • How to recover an IOS from rommon using TFTP
  • How to recover an IOS from switch: prompt using Xmodem

This is the minimum configuration to recover via TFTP:

rommon 1 > IP_ADDRESS=
rommon 2 > IP_SUBNET_MASK=
rommon 4 > TFTP_SERVER=
rommon 5 > TFTP_FILE=c2600-adventerprisek9-mz.124-5a.bin
rommon 6 > tftpdnld (this command kicks off the tftp download)

If you are at the “switch:” prompt and therefore are unable to recover an IOS using TFTP, use this procedure to recover via Xmodem:

switch: dir flash:
Directory of flash:/

2    -rwx  2344      <date>               config.text
3    -rwx  24        <date>               private-config.text
5    -rwx  40        <date>               env_vars
6    -rwx  0         <date>               system_env_vars

15994368 bytes available (4608 bytes used)

switch:copy xmodem: flash:c3550-ipservicesk9-mz.122-25.SEE.bin
Begin the Xmodem or Xmodem-1K transfer now…

Categories: CISCO Tags:
Comments are closed.