cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
7640
Views
0
Helpful
12
Replies

Upgrading ASR1002

Hi there,

I have a problem upgrading my Cisco ASR1002. It is currently running on IOS image asr1000rp1-advipservicesk9.02.03.02.122-33.XNC2.bin. I have already uploaded a new image (asr1000rp1-advipservicesk9.03.02.02.S.151-1.S2.bin) and make the following changes on the router

ASR1002-02#sh run | i boot

boot-start-marker

boot system flash bootflash:asr1000rp1-advipservicesk9.03.02.02.S.151-1.S2.bin

boot-end-marker

ASR1002-02#

However, whenever I reboot the router, it still comes up with the previous image (asr1000rp1-advipservicesk9.02.03.02.122-33.XNC2.bin). The router is having 4GB RAM and the reason I want to upgrade the IOS image is that there is a software bug on the current IOS image. Anybody with an idea please?

AbuNasra

12 Replies 12

Leo Laohoo
Hall of Fame
Hall of Fame

Try this:  boot system flash bootflash:/asr1000rp1-advipservicesk9.03.02.02.S.151-1.S2.bin

Tried that already without any success. Thanks for trying to help.

Can you post the output to "sh run | begin boot-start-marker" please?

Thanks for the response. It was not actually the boot sysntax, the problem was the IOS image itself which was corrupted. The observation from the console revealed the followings : -

Calculating SHA-1 hash...done

validate_package: SHA-1 hash:

        calculated 89246ab3:fcb13ad7:ba775a49:edac62f1:b0ad9776

        expected   bd99e71d:2ee880a3:6de2c964:76c1ae21:f203a1ab

SHA-1 hash doesn't match

boot: error executing "boot

bootflash:/asr1000rp1-advipservicesk9.03.02.02.S.151-1.S2.bin"

autoboot: boot failed, restarting...

We downloaded the IOS image again and it worked. Thanks for the support anyway.

Can you please tell me what is the easiest way to upgrade IOS for ASR 1002 &1006

is the below right steps and if its right why we need to add the below ?

Why not directly the IOS image  asr1000rp1-adventerprisek9.02.01.00.122-33.XNA.bin

/auto/tftp-users/user/asr1000rp1-adventerprisek9.02.01.00.122-33.XNA.bin

Router# dir bootflash:

Directory of bootflash:/

11 drwx 16384 Dec 4 2007 04:32:46 -08:00 lost+found

86401 drwx 4096 Dec 4 2007 06:06:24 -08:00 .ssh

14401 drwx 4096 Dec 4 2007 06:06:36 -08:00 .rollback_timer

28801 drwx 4096 Mar 18 2008 17:31:17 -07:00 .prst_sync

43201 drwx 4096 Dec 4 2007 04:34:45 -08:00 .installer

13 -rw- 45977 Apr 9 2008 16:48:46 -07:00 target_support_output.tgz.tgz

928862208 bytes total (712273920 bytes free)

Router# copy tftp bootflash:

Address or name of remote host []? 172.17.16.81

Source filename []?

/auto/tftp-users/user/asr1000rp1-adventerprisek9.02.01.00.122-33.XNA.bin

Destination filename [asr1000rp1-adventerprisek9.02.01.00.122-33.XNA.bin]?

Accessing

tftp://172.17.16.81//auto/tftp-users/user/asr1000rp1-adventerprisek9.02.01.00.122-33.XNA.bIN

Loading /auto/tftp-users/user/asr1000rp1-adventerprisek9.02.01.00.122-33.XNA.bin from

172.17.16.81 (via GigabitEthernet0):

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!

[OK - 208904396 bytes]

208904396 bytes copied in 330.453 secs (632176 bytes/sec)

Router# dir bootflash:

Directory of bootflash:/

11 drwx 16384 Dec 4 2007 04:32:46 -08:00 lost+found

86401 drwx 4096 Dec 4 2007 06:06:24 -08:00 .ssh

14401 drwx 4096 Dec 4 2007 06:06:36 -08:00 .rollback_timer

28801 drwx 4096 Mar 18 2008 17:31:17 -07:00 .prst_sync

43201 drwx 4096 Dec 4 2007 04:34:45 -08:00 .installer

12 -rw- 208904396 May 28 2008 16:17:34 -07:00

asr1000rp1-adventerprisek9.02.01.00.122-33.XNA.bin

13 -rw- 45977 Apr 9 2008 16:48:46 -07:00 target_support_output.tgz.tgz

928862208 bytes total (503156736 bytes free)

Router# config t

Enter configuration commands, one per line. End with CNTL/Z.

Router(config)#boot system flash

bootflash:asr1000rp1-adventerprisek9.02.01.00.122-33.XNA.bin

Router(config)#config-reg 0x2102

Router(config)#exit

Router#show run | include boot

boot-start-marker

boot system flash bootflash:asr1000rp1-adventerprisek9.02.01.00.122-33.XNA.bin

boot-end-marker

Router# copy run start

Destination filename [startup-config]?

Building configuration...

[OK]

Router# reload

Copy the IOS into the ASR's bootflash. 

Router# copy tftp bootflash:

Address or name of remote host []? 172.17.16.81

Source filename []?

/auto/tftp-users/user/asr1000rp1-adventerprisek9.02.01.00.122-33.XNA.bin

Destination filename [asr1000rp1-adventerprisek9.02.01.00.122-33.XNA.bin]?

Accessing

tftp://172.17.16.81//auto/tftp-users/user/asr1000rp1-adventerprisek9.02.01.00.122-33.XNA.bIN

Loading /auto/tftp-users/user/asr1000rp1-adventerprisek9.02.01.00.122-33.XNA.bin from

172.17.16.81 (via GigabitEthernet0):

Why i need to add the below line

/auto/tftp-users/user/asr1000rp1-adventerprisek9.02.01.00.122-33.XNA.bin

or just put only the IOS

asr1000rp1-adventerprisek9.02.01.00.122-33.XNA.bin without

/auto/tftp-users/user/

please confirm to me

Why i need to add the below line

/auto/tftp-users/user/asr1000rp1-adventerprisek9.02.01.00.122-33.XNA.bin

or just put only the IOS

asr1000rp1-adventerprisek9.02.01.00.122-33.XNA.bin without

/auto/tftp-users/user/

I have never seen this before.  What you are loading is an IOS.  It's not even a bootstrap.  However the IOS you are loading is old.

Depending on what files you have in your bootflash, I wouldn't even configure a boot variable string unless you have two or more IOS files. 

Ok If have few questions

What is mean by 

Consolidated Packages and Sub-Package ?

and the different between them

and if i want to upgrade the IOS from 

asr1000rp1-adventerprisek9.03.03.00.S.151-2.S.bin

asr1000rp1-adventerprisek9.03.01.00.S.150-1.S.bin

To

asr1000rp1-adventerprise.03.05.01.S.152-1.S1.bin

The step for upgrading the IOS  version normal ?

copy tftp to boot flash by using normal tftp software like  3CDaemom becasue the IOS size 303 MB

Router# copy tftp bootflash:

Address or name of remote host []? 172.17.16.81

Source filename []?

asr1000rp1-adventerprise.03.05.01.S.152-1.S1.bin

Destination filename [asr1000rp1-adventerprise.03.05.01.S.152-1.S1.bin] ?

Please confirm to me

That's correct.  Copy the IOS from your TFTP server to either the flash or bootflash.  If you only have ONE (1) IOS in the bootflash or flash then you don't need to bother about the boot variable string.

But in case i have already one IOS and i need to add another one and i want to boot from the new one

in that case i need to add the below

Router# config t

Enter configuration commands, one per line. End with CNTL/Z.

Router(config)#boot system flash

bootflash:asr1000rp1-adventerprise.03.05.01.S.152-1.S1.bin

Router(config)#config-reg 0x2102

Router(config)#exit

Router#show run | include boot

boot-start-marker

boot system flash bootflash:asr1000rp1-adventerprise.03.05.01.S.152-1.S1.bin

boot-end-marker

Router# copy run start

Destination filename [startup-config]?

Building configuration...

[OK]

Router# reload

So the router will boot from the new image right

please confirm to me that

Cisco.Support1
Level 1
Level 1

Just in case anyone comes across this later. You need to add the "boot system flash:/" keyword. eg:


Router01#sh run | i boot
boot-start-marker
boot system flash:/
boot system flash bootflash:asr1000rp1-adventerprisek9.03.16.04a.S.155-3.S4a-ext.bin
boot-end-marker
Router01#

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco