cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
34017
Views
43
Helpful
11
Replies

2960 switch not loading the new IOS image

rwaeger01
Level 1
Level 1

Hi-

I'm not sure what I'm missing here but I've successfully loaded a new IOS (c2960-lanlitek9-mz.152-4.E6.bin), changed the boot statement, confirmed the next boot and then reload the switch. After reload it still winds up loading the previous IOS (c2960-lanlitek9-mz.152-2.E7). Any suggestions on what I could be missing? 

 

Switch#dir flash:
Directory of flash:/

2 -rwx 9623 Feb 20 2019 14:39:14 -05:00 config.text
3 -rwx 34 Feb 28 1993 19:14:50 -05:00 pnp-tech-time
4 -rwx 15675 Feb 28 1993 19:14:52 -05:00 pnp-tech-discovery-summary
5 drwx 512 Feb 28 1993 19:18:45 -05:00 c2960-lanlitek9-mz.152-2.E7
586 drwx 512 Feb 28 1993 19:18:45 -05:00 dc_profile_dir
588 -rwx 1036 Feb 28 1993 19:01:13 -05:00 vlan.dat
589 -rwx 13086833 Feb 20 2019 11:55:31 -05:00 c2960-lanlitek9-mz.152-4.E6.bin
590 -rwx 3837 Feb 20 2019 14:39:15 -05:00 private-config.text
592 -rwx 3096 Feb 28 1993 19:01:18 -05:00 multiple-fs

 

Switch#sh boot
BOOT path-list : c2960-lanlitek9-mz.152-4.E6.bin
Config file : flash:/config.text
Private Config file : flash:/private-config.text
Enable Break : yes
Manual Boot : no
Allow Dev Key : yes
HELPER path-list :
Auto upgrade : yes
Auto upgrade path :
NVRAM/Config file
buffer size: 65536
Timeout for Config
Download: 0 seconds
Config Download
via DHCP: disabled (next boot: disabled)

 

after reload

Switch#sh vers
Cisco IOS Software, C2960 Software (C2960-LANLITEK9-M), Version 15.2(2)E7, RELEASE SOFTWARE (fc3)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2017 by Cisco Systems, Inc
Compiled Wed 12-Jul-17 15:29 by prod_rel_team

ROM: Bootstrap program is C2960 boot loader
BOOTLDR: C2960 Boot Loader (C2960-HBOOT-M) Version 15.0(2r)EZ1, RELEASE SOFTWARE (fc2)

Switch uptime is 2 minutes
System returned to ROM by power-on
System image file is "flash:/c2960-lanlitek9-mz.152-2.E7/c2960-lanlitek9-mz.152-2.E7.bin"
Last reload reason: Reload command

 

cisco WS-C2960+48PST-S (PowerPC405) processor (revision K0) with 131072K bytes of memory.

Last reset from power-on
2 Virtual Ethernet interfaces
48 FastEthernet interfaces
4 Gigabit Ethernet interfaces
The password-recovery mechanism is enabled.


Switch Ports Model SW Version SW Image
------ ----- ----- ---------- ----------
* 1 52 WS-C2960+48PST-S 15.2(2)E7 C2960-LANLITEK9-M

1 Accepted Solution

Accepted Solutions

The boot system command was entered incorrectly.

 

boot system c2960-lanlitek9-mz.152-4.E6.bin

It should be boot system flash:/c2960-lanlitek9-mz.152-4.E6.bin

 

Thanks,

Alex

View solution in original post

11 Replies 11

Alex Pfeil
Level 7
Level 7

You should be able to delete the old flash file and reload. If you used the boot system flash command as below, and it did not work. You have to change the config-register. lookup the config-register, make the change, reload, and then change it back after it returns online.

 

boot system flash:/newimagename

 

You can delete the old image in the directory like this:

delete /force /recursive flash:/c2960-lanlitek9-mz.152-2.E7

 

balaji.bandi
Hall of Fame
Hall of Fame

Try below command and let us know :

 

 

config t
!
no boot system
!
boot system flash:/c2960-lanlitek9-mz.152-4.E6.bin
!
end
wr
============

reload and advise

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

I agree that you should run the no boot system command first because the boot system command is an additive command meaning that it does not replace the previous boot system command.

Exactly as same as @balaji.bandi mentioned!

  

*** Please rate all helpful responses and mark solutions***

I did attempt the no boot system command, then boot system again, with a wr mem/reload following. Still no luck loading the newer IOS. I've listed my commands below. I'm using "boot system" since "boot system flash:" isn't an option, probably newer IOS version I'm guessing. Should I attempt to erase the older IOS, I don't really like the idea of doing that but can't think of any other options at this point. 

 

Switch(config)#no boot system
Switch(config)#do sh boot
BOOT path-list :
Config file : flash:/config.text
Private Config file : flash:/private-config.text
Enable Break : yes
Manual Boot : no
Allow Dev Key : yes
HELPER path-list :
Auto upgrade : yes
Auto upgrade path :
NVRAM/Config file
buffer size: 65536
Timeout for Config
Download: 0 seconds
Config Download
via DHCP: disabled (next boot: disabled)

 

Switch(config)#boot system c2960-lanlitek9-mz.152-4.E6.bin
Switch(config)#do sh boot
BOOT path-list : c2960-lanlitek9-mz.152-4.E6.bin
Config file : flash:/config.text
Private Config file : flash:/private-config.text
Enable Break : yes
Manual Boot : no
Allow Dev Key : yes
HELPER path-list :
Auto upgrade : yes
Auto upgrade path :
NVRAM/Config file
buffer size: 65536
Timeout for Config
Download: 0 seconds
Config Download
via DHCP: disabled (next boot: disabled)

 

What is the configuration register set to ? 

 

Jon

Configuration register is 0xF

The boot system command was entered incorrectly.

 

boot system c2960-lanlitek9-mz.152-4.E6.bin

It should be boot system flash:/c2960-lanlitek9-mz.152-4.E6.bin

 

Thanks,

Alex

Thanks, that did it. I swore it worked before by just using the boot system command without distinguishing flash. Oh well, thanks for everyone's input.

hey, did you get solution for this?

 

I am facing same issue on 2960, its booting up with the Old IOS where as the sh boot shows the new IOS in boot sequence.

 

I upgraded multiple SWs of same model to the same new IOS with the same command for setting boot sequence boot system <IOS_name> however only 1 SW is not booting up with the new IOS.

 

something to do with bootstrap?

 

old IOS: c2960-lanbasek9-mz.122-55.SE10

new IOS: c2960-lanbasek9-mz.150-2.SE11.bin

SW Model:WS-C2960-24TT-L

 

sh boot
BOOT path-list : c2960-lanbasek9-mz.150-2.SE11.bin
Config file : flash:/config.text
Private Config file : flash:/private-config.text
Enable Break : no
Manual Boot : no
HELPER path-list :
Auto upgrade : yes
Auto upgrade path :
NVRAM/Config file
buffer size: 65536
Timeout for Config
Download: 0 seconds
Config Download
via DHCP: disabled (next boot: disabled)

 

sh ver
Cisco IOS Software, C2960 Software (C2960-LANBASEK9-M), Version 12.2(55)SE10, RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2015 by Cisco Systems, Inc.
Compiled Wed 11-Feb-15 11:46 by prod_rel_team
Image text-base: 0x00003000, data-base: 0x01900000

ROM: Bootstrap program is C2960 boot loader<---------------------------------
BOOTLDR: C2960 Boot Loader (C2960-HBOOT-M) Version 12.2(44)SE5, RELEASE SOFTWARE (fc1)<---------------------------------

SwitchXXX uptime is 2 hours, 15 minutes
System returned to ROM by power-on
System image file is "flash:/c2960-lanbasek9-mz.122-55.SE10/c2960-lanbasek9-mz.122-55.SE10.bin"<---------------------------------


This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.

A summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html

If you require further assistance please contact us by sending email to
export@cisco.com.

cisco WS-C2960-24TT-L (PowerPC405) processor (revision F0) with 65536K bytes of memory.
Processor board ID FOC1239W0YS
Last reset from power-on
1 Virtual Ethernet interface
24 FastEthernet interfaces
2 Gigabit Ethernet interfaces
The password-recovery mechanism is disabled.

64K bytes of flash-simulated non-volatile configuration memory.
Base ethernet MAC Address : 00:23:5D:87:53:00
Motherboard assembly number : 73-11473-11
Power supply part number : 341-0097-02
Motherboard serial number : FOC12387YQS
Power supply serial number : DCA1231814X
Model revision number : F0
Motherboard revision number : B0
Model number : WS-C2960-24TT-L
System serial number : FOC1239W0YS
Top Assembly Part Number : 800-29859-06
Top Assembly Revision Number : F0
Version ID : V10
CLEI Code Number : COMCX00ARB
Hardware Board Revision Number : 0x01


Switch Ports Model SW Version SW Image
------ ----- ----- ---------- ----------
* 1 26 WS-C2960-24TT-L 12.2(55)SE10 C2960-LANBASEK9-M<---------------------------------


Configuration register is 0xF<---------------------------------

 

Upgrade from 12.X to 15.X will require a bootstrap upgrade.

 

Look at the relase notes for upgrade.

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Review Cisco Networking for a $25 gift card