Loading IOS on a switch or router via the console
If the flash has been deleted / formatted and there is no IOS on the switch or router, you have to copy the new IOS via the console port.
On Windows using Tera Term
The following article explains the procedure loading the IOS image c2600-is-mz.122-15.ZJ2.bin on a cisco26xx router using Tera Term
rommon 1 > xmodem -c c2600-is-mz.122-15.ZJ2.bin
Do not start the sending program yet...
File size Checksum File name
18699016 bytes (0x11d5308) 0x7234 c2600-is-mz.122-15.ZJ2.bin (bad checksum: 0x6683)
WARNING: All existing data in bootflash will be lost!
Invoke this application only for disaster recovery.
Do you wish to continue? y/n [n]: y
Ready to receive file c2600-is-mz.122-15.ZJ2.bin ...
now send the file by clicking on the top menu: file-> transfer-> send-> xmodem - and chose the file from your local directory
the transfer should start now.
once the transfer has finished the flash will be erased and you will get a message like:
Erasing flash at 0x61780000.
this might take a while before it says something like:
program flash location 0x600d0000
which might also take a bit.....before it finally says:
'Download Complete!
and the router/switch should boot
the following article explains the procedure loading the IOS immage c3550-ipbasek9-mz.122-40.SE.bin on a WS-C3550 series switch using Tera Term
switch: copy xmodem: flash:c3550-ipbasek9-mz.122-40.SE
Begin the Xmodem or Xmodem-1K transfer now...
CCC
now send the file by clicking on the top menu: file-> transfer-> send-> xmodem - and chose the file from your local directory
the transfer should start now.
CCCC............................................................................
................................................................................
................................................................................
................................................................................
............................................
File "xmodem:" successfully copied to "flash:c3550-ipbasek9-mz.122-40.SE.bin"
now you have to boot the image you copied:
switch: boot flash:c3550-ipbasek9-mz.122-40.SE.bin
Loading "flash:c3550-ipbasek9-mz.122-40.SE.bin"...############
Press RETURN to get started!
Switch>
you're done!!!!
On Linux using Minicom
- Pakete
minicom
undlrzsz
installieren - minicom starten
- Serielle Schnittstelle konfigurieren
STRG-a o
- Serielle Schnittstelle angeben (
/dev/ttyS0
für COM Port 1,/dev/ttyUSB0
für KeySpan) - Baudrate angeben: 9600 (8N1)
- minicom neu starten
- Power on the switch while holding down the Mode button (or use any other method) to get to the
switch:
prompt. - Auf dem Cisco Gerät in den Execute Mode wechseln:
enable
(nur wenn IOS bereits geladen) - Cisco Gerät für den Empfang über Xmodem vorbereiten:
copy xmodem: flash: Dateiname
- Xmodem Transfer starten:
STRG-a s
xmodem
auswählen- Absoluen Pfad zur lokalen Datei angeben
- Type
boot
to boot the switch.