PDA

View Full Version : 2620XM IOS upgrade


Soybomb
02-14-2007, 05:58 PM
Hey guys tomorrow I'm going to update the IOS on a neglected 2620XM and wanted to be sure I had process down.

Currently the router:
sho ver
Cisco Internetwork Operating System Software
IOS (tm) C2600 Software (C2600-IPBASE-M), Version 12.3(6c), RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2004 by cisco Systems, Inc.
Compiled Tue 20-Jul-04 05:24 by kellythw
Image text-base: 0x80008098, data-base: 0x80ED06CC

ROM: System Bootstrap, Version 12.2(8r) [cmong 8r], RELEASE SOFTWARE (fc1)

bob uptime is 25 weeks, 1 day, 23 hours, 55 minutes
System returned to ROM by power-on
System image file is "flash:c2600-ipbase-mz.123-6c.bin"

cisco 2620XM (MPC860P) processor (revision 0x400) with 126976K/4096K bytes of memory.
Processor board ID JMX0848L0MX (2066694574)
M860 processor: part number 5, mask 2
Bridging software.
X.25 software, Version 3.0.0.
1 FastEthernet/IEEE 802.3 interface(s)
2 Serial network interface(s)
32K bytes of non-volatile configuration memory.
32768K bytes of processor board System flash (Read/Write)

Configuration register is 0x2102


#dir all
Directory of nvram:/

25 -rw- 3295 <no date> startup-config
26 ---- 27 <no date> private-config
1 -rw- 0 <no date> ifIndex-table
2 ---- 12 <no date> persistent-data

29688 bytes total (24266 bytes free)
Directory of system:/

3 dr-x 0 <no date> memory
1 -rw- 3295 <no date> running-config
2 dr-x 0 <no date> vfiles

No space information available
Directory of flash:/

1 -rw- 9282016 <no date> c2600-ipbase-mz.123-6c.bin

33030144 bytes total (23748064 bytes free)


sho conf
Using 3295 out of 29688 bytes
!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname bob
!
boot-start-marker
boot-end-marker
!

My plan:
copy tftp flash blah blah blah
verfiy flash:c2600-ipbase-mz.123-6c.bin (and verify md5)
conf t
!
boot system flash flash:c2600-ipbase-mz.123-22.bin
boot system flash flash: c2600-ipbase-mz.123-6c.bin
!
end
!
write
reload

This should give me both IOS's in flash and will fall back to the older one if the new one fails to load. Look right?

jlazzaro
02-14-2007, 09:24 PM
you really only need the 123-22.bin boot system flash command. if this file fails, it will find an alternate image file in flash and load it instead. it really doesnt hurt by having both in there though.

ios also verifys the bin after transfer, just to make it was successful. like the dual boot command, the verify cant hurt either ;)

Soybomb
02-14-2007, 11:01 PM
Cool, thanks! Just didn't want to botch something up and wind up starting at rommon :D

Soybomb
02-15-2007, 02:42 PM
Whats actually the proper syntax for the boot commands, if any. I've seen people use:
boot system flash flash:file.bin
boot system flash:file.bin
boot system flash file.bin
and a few other ways

jlazzaro
02-15-2007, 04:13 PM
officially, it's boot system flash [device:][filename]

boot system flash [filename] will work though.

boot system flash:[filename] will not work.

Cooky
02-15-2007, 06:34 PM
guys keep in mind that this is for routers only.
For switches you actually need the colon
boot system flash:fileName

Soybomb
02-15-2007, 07:53 PM
Originally posted by: Cooky
guys keep in mind that this is for routers only.
For switches you actually need the colon
boot system flash:fileName
According to jlazzaro that syntax will not work, but you're saying thats whats necessary for switches?

It won't matter on my 2620, but its something good to know.

Thanks guys

jlazzaro
02-15-2007, 08:09 PM
Originally posted by: Cooky
guys keep in mind that this is for routers only.
For switches you actually need the colon
boot system flash:fileName

good call :)