04-30-2019 04:28 AM - edited 04-30-2019 04:29 AM
Hello!
Have a problem with device IOS upgrade.
Switch WS-3560-24T-S
Current IOS version c3560e-universalk9npe-mz.122-55.SE13.bin
Current bottloadr 12.2(53r)SE1
I want to upgrade ios to c3560e-universalk9npe-mz.152-4.E8.bin
I download ios from cisco.com and copy it to switch flash.
Then I change boot marker to new image and reload device.
Then in terminal I see:
Initializing Flash...
mifs[2]: 10 files, 1 directories
mifs[2]: Total bytes : 2097152
mifs[2]: Bytes used : 612352
mifs[2]: Bytes available : 1484800
mifs[2]: mifs fsck took 2 seconds.
mifs[3]: 0 files, 1 directories
mifs[3]: Total bytes : 4194304
mifs[3]: Bytes used : 1024
mifs[3]: Bytes available : 4193280
mifs[3]: mifs fsck took 3 seconds.
mifs[4]: 5 files, 1 directories
mifs[4]: Total bytes : 524288
mifs[4]: Bytes used : 9216
mifs[4]: Bytes available : 515072
mifs[4]: mifs fsck took 0 seconds.
mifs[5]: 5 files, 1 directories
mifs[5]: Total bytes : 524288
mifs[5]: Bytes used : 9216
mifs[5]: Bytes available : 515072
mifs[5]: mifs fsck took 1 seconds.
mifs[6]: 316 files, 9 directories
mifs[6]: Total bytes : 57671680
mifs[6]: Bytes used : 44302336
mifs[6]: Bytes available : 13369344
mifs[6]: mifs fsck took 42 seconds.
...done Initializing Flash.
done.
Loading "flash:/c3560e-universalk9npe-mz.152-4.E8.bin"...@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
File "flash:/c3560e-universalk9npe-mz.152-4.E8.bin" uncompressed and installed, entry point: 0x3000
executing...
Loading "flash:/c3560e-universalk9npe-mz.122-55.SE13.bin"...@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
File "flash:/c3560e-universalk9npe-mz.122-55.SE13.bin" uncompressed and installed, entry point: 0x3000
executing...
Restricted Rights Legend
Use, duplication, or disclosure by the Government is
subject to restrictions as set forth in subparagraph
(c) of the Commercial Computer Software - Restricted
Rights clause at FAR sec. 52.227-19 and subparagraph
(c) (1) (ii) of the Rights in Technical Data and Computer
...
Image text-base: 0x00003000, data-base: 0x02800000
Initializing flashfs...
Using driver version 1 for media type 2
mifs[3]: 10 files, 1 directories
mifs[3]: Total bytes : 2097152
mifs[3]: Bytes used : 612352
mifs[3]: Bytes available : 1484800
mifs[3]: mifs fsck took 1 seconds.
mifs[3]: Initialization complete.
mifs[4]: 0 files, 1 directories
mifs[4]: Total bytes : 4194304
mifs[4]: Bytes used : 1024
mifs[4]: Bytes available : 4193280
mifs[4]: mifs fsck took 0 seconds.
mifs[4]: Initialization complete.
mifs[5]: 5 files, 1 directories
mifs[5]: Total bytes : 524288
mifs[5]: Bytes used : 9216
mifs[5]: Bytes available : 515072
mifs[5]: mifs fsck took 0 seconds.
mifs[5]: Initialization complete.
mifs[6]: 5 files, 1 directories
mifs[6]: Total bytes : 524288
mifs[6]: Bytes used : 9216
mifs[6]: Bytes available : 515072
mifs[6]: mifs fsck took 0 seconds.
mifs[6]: Initialization complete.
mifs[7]: 316 files, 9 directories
mifs[7]: Total bytes : 57671680
mifs[7]: Bytes used : 44302336
mifs[7]: Bytes available : 13369344
mifs[7]: mifs fsck took 0 seconds.
mifs[7]: Initialization complete.
...done Initializing flashfs.
Checking for Bootloader upgrade.. not needed
POST: CPU MIC register Tests : Begin
POST: CPU MIC register Tests : End, Status Passed
POST: MA BIST : Begin
POST: MA BIST : End, Status Passed
POST: TCAM BIST : Begin
POST: TCAM BIST : End, Status Passed
POST: SF ASIC BIST : Begin
POST: SF ASIC BIST : End, Status Passed
POST: Switch Fabric Memory Tests : Begin
POST: Switch Fabric Memory Tests : End, Status Passed
POST: CPU MIC interface Loopback Tests : Begin
POST: CPU MIC interface Loopback Tests : End, Status Passed
POST: PortASIC RingLoopback Tests : Begin
POST: PortASIC RingLoopback Tests : End, Status Passed
extracting front_end/front_end_ucode_info (309 bytes)
POST: Thermal, Fan Tests : Begin
POST: Thermal, Fan Tests : End, Status Passed
POST: PortASIC Port Loopback Tests : Begin
POST: PortASIC Port Loopback Tests : End, Status Passed
POST: EMAC Loopback Tests : Begin
POST: EMAC Loopback Tests : End, Status Passed
Waiting for Port download...Complete
And then switch load with old IOS.
What could be the problem?
04-30-2019 04:38 AM
05-05-2019 09:37 PM
I try to update IOS as you said.
I copy tar file into usbflash, insert usbflash into switch and enter command:
archive download-sw usbflash0:c3560e-universalk9npe-tar.152-4.E8.tar
and then:
examining image...
extracting info (112 bytes)
extracting c3560e-universalk9npe-mz.152-4.E8/info (624 bytes)
extracting info (112 bytes)
System Type: 0x00000002
Ios Image File Size: 0x01989A00
Total Image File Size: 0x01E93A00
Minimum Dram required: 0x08000000
Image Suffix: universalk9npe-152-4.E8
Image Directory: c3560e-universalk9npe-mz.152-4.E8
Image Name: c3560e-universalk9npe-mz.152-4.E8.bin
Image Feature: IP|LAYER_3|PLUS|SSH|3DES|MIN_DRAM_MEG=128
Old image for switch 1: unknown
Extracting images from archive into flash...
c3560e-universalk9npe-mz.152-4.E8/ (directory)
extracting c3560e-universalk9npe-mz.152-4.E8/info (624 bytes)
c3560e-universalk9npe-mz.152-4.E8/html/ (directory)
extracting c3560e-universalk9npe-mz.152-4.E8/html/gaaggrement.shtml (2228 bytes)
extracting c3560e-universalk9npe-mz.152-4.E8/html/toolbar.js (7210 bytes)
c3560e-universalk9npe-mz.152-4.E8/html/help/ (directory)
extracting c3560e-universalk9npe-mz.152-4.E8/html/help/support.shtml (5360 bytes)
extracting c3560e-universalk9npe-mz.152-4.E8/html/help/xsetstd.htm (19342 bytes)
extracting c3560e-universalk9npe-mz.152-4.E8/html/help/psets.htm (7315 bytes)
extracting c3560e-universalk9npe-mz.152-4.E8/html/help/telnet.htm (3506 bytes)
extracting c3560e-universalk9npe-mz.152-4.E8/html/help/trends.htm (6656 bytes)
extracting c3560e-universalk9npe-mz.152-4.E8/html/help/pstatus.htm (7057 bytes)
extracting c3560e-universalk9npe-mz.152-4.E8/html/help/xsetip.htm (6314 bytes)
extracting c3560e-universalk9npe-mz.152-4.E8/html/help/cna.htm (2799 bytes)
extracting c3560e-universalk9npe-mz.152-4.E8/html/help/toc.shtml (11407 bytes)
extracting c3560e-universalk9npe-mz.152-4.E8/html/help/pstats.htm (11919 bytes)
extracting c3560e-universalk9npe-mz.152-4.E8/html/help/helptoolbar.shtml (13273 bytes)
extracting c3560e-universalk9npe-mz.152-4.E8/html/help/support1.htm (3064 bytes)
extracting c3560e-universalk9npe-mz.152-4.E8/html/help/help.htm (2131 bytes)
...
extracting c3560e-universalk9npe-mz.152-4.E8/c3560e-universalk9npe-mz.152-4.E8.bin (26775552 bytes)
extracting c3560e-universalk9npe-mz.152-4.E8/dc_default_profiles.txt (202755 bytes)
extracting info (112 bytes)
Installing (renaming): `flash:update/c3560e-universalk9npe-mz.152-4.E8' ->
`flash:/c3560e-universalk9npe-mz.152-4.E8'
New software image installed in flash:/c3560e-universalk9npe-mz.152-4.E8
All software images installed.
then I enter wr command and reload switch.
But after reload switch was loading with old image.
05-05-2019 10:20 PM - edited 05-05-2019 10:23 PM
Easy enough to fix.
Kindly post the complete output to the following commands:
1. sh boot; and
2. dir
Alternatively, try this:
conf t
boot system flash flash:c3560e-universalk9npe-mz.152-4.E8/c3560e-universalk9npe-mz.152-4.E8.bin
end
wr
05-05-2019 10:48 PM
Directory of flash:/
2 -rwx 5280 Apr 8 1993 23:24:14 +00:00 old.text
3 -rwx 1096 Mar 12 2019 04:18:08 +00:00 vlan.dat
4 -rwx 14572173 Jan 1 1970 00:22:55 +00:00 c3560e-universalk9npe-mz.122-55.SE13.bin
11 -rwx 4120 Mar 1 1993 00:03:33 +00:00 multiple-fs
6 -rwx 2274 Mar 1 1993 00:04:37 +00:00 private-config.text
7 drwx 512 Mar 1 1993 00:20:59 +00:00 c3560e-universalk9npe-mz.152-4.E8
10 -rwx 7111 Mar 1 1993 00:04:37 +00:00 config.text
57671680 bytes total (15962112 bytes free)
SW#sh boot
BOOT path-list : flash:/c3560e-universalk9npe-mz.152-4.E8/c3560e-universalk9npe-mz.152-4.E8.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: 524288
Timeout for Config
Download: 0 seconds
Config Download
via DHCP: disabled (next boot: disabled)
boot system flash flash:c3560e-universalk9npe-mz.152-4.E8/c3560e-universalk9npe-mz.152-4.E8.bin - already, but no effect.
After change boot path a was enter wr command , and check boor var, and she is stay correct. (boot system flash flash:c3560e-universalk9npe-mz.152-4.E8/c3560e-universalk9npe-mz.152-4.E8.bin)
05-06-2019 09:40 AM
05-06-2019 10:55 PM
I delete old ios file as you say, by del /f /r flash:c3560e-universalk9npe-mz.122-55.SE13.bin
then I check boot record, it bee correct (with new image) , then wr and reload
after that:
*Mar 1 00:10:03.904 UTC: %SYS-5-RELOAD: Reload requested by gpnadmin on console. Reload reason: Reload command
*Mar 1 00:10:13.911 UTC: %AAA-3-DROPACCTFAIL: Accounting record dropped, send to server failed: system
Using driver version 1 for media type 2
Xmodem file system is available.
The password-recovery mechanism is enabled.
Initializing Flash...
mifs[2]: 10 files, 1 directories
mifs[2]: Total bytes : 2097152
mifs[2]: Bytes used : 612352
mifs[2]: Bytes available : 1484800
mifs[2]: mifs fsck took 1 seconds.
mifs[3]: 0 files, 1 directories
mifs[3]: Total bytes : 4194304
mifs[3]: Bytes used : 1024
mifs[3]: Bytes available : 4193280
mifs[3]: mifs fsck took 4 seconds.
mifs[4]: 5 files, 1 directories
mifs[4]: Total bytes : 524288
mifs[4]: Bytes used : 9216
mifs[4]: Bytes available : 515072
mifs[4]: mifs fsck took 0 seconds.
mifs[5]: 5 files, 1 directories
mifs[5]: Total bytes : 524288
mifs[5]: Bytes used : 9216
mifs[5]: Bytes available : 515072
mifs[5]: mifs fsck took 1 seconds.
mifs[6]: 7 files, 2 directories
mifs[6]: Total bytes : 57671680
mifs[6]: Bytes used : 27019264
mifs[6]: Bytes available : 30652416
mifs[6]: mifs fsck took 40 seconds.
...done Initializing Flash.
done.
Loading flash:/c3560e-universalk9npe-mz.152-4.E8/c3560e-universalk9npe-mz.152-4.E8.bin...@@@@@@@@@@@@@@@@@...@@@@@@@@@@@@@@@@@@@@@
File "flash:/c3560e-universalk9npe-mz.152-4.E8/c3560e-universalk9npe-mz.152-4.E8.bin" uncompressed and installed, entry point: 0x3000
executing...
Loading flash:/c3560e-universalk9npe-mz.152-4.E8/c3560e-universalk9npe-mz.152-4.E8.bin...@@@@@@@@@@@@@@@@@...@@@@@@@@@@@@@@@@@@@@@
File flash:/c3560e-universalk9npe-mz.152-4.E8/c3560e-universalk9npe-mz.152-4.E8.bin uncompressed and installed, entry point: 0x3000
executing...
Boot process failed...
The system is unable to boot automatically. The BOOT
environment variable needs to be set to a bootable
image.
switch:
05-07-2019 10:07 AM
05-07-2019 08:38 PM
Of course I already do it after download new ios to SW.
Download new ios -> boot flash:/c3560e-universalk9npe-mz.152-4.E8/c3560e-universalk9npe-mz.152-4.E8.bin -> wr -> reload
And no effect.
After reload switch uncompressed both (c3560e-universalk9npe-mz.122-55.SE13 and c3560e-universalk9npe-mz.152-4.E8 ) image, but download with c3560e-universalk9npe-mz.122-55.SE13.
05-07-2019 11:19 PM
05-08-2019 01:07 AM
I try it, same problem.
If in internal flash 2 ios (old and new) located and boot = path to new ios - switch uncompressed old ios then uncompressed new and download with old ios.
If in internal flash 1 new ios and boot = path to new ios - switch after reload uncompressed new ios and go to rommon.
After all boot all boot change procedures I do "write mem" command.
04-30-2019 04:39 AM
05-05-2019 08:45 PM
Of course I save boot statement and verify ios image before change boot. Verify is OK.
Directory of flash:/
2 -rwx 5280 Apr 8 1993 23:24:14 +00:00 old.text
3 -rwx 1096 Mar 12 2019 04:18:08 +00:00 vlan.dat
4 -rwx 14572173 Jan 1 1970 00:22:55 +00:00 c3560e-universalk9npe-mz.122-55.SE13.bin
5 -rwx 26775552 Mar 30 2011 01:33:46 +00:00 c3560e-universalk9npe-mz.152-4.E8.bin
7 -rwx 2274 Mar 1 1993 00:04:37 +00:00 private-config.text
8 drwx 512 Apr 8 2019 11:44:27 +00:00 c3560e-universalk9-mz.122-55.SE5
325 -rwx 7111 Mar 1 1993 00:04:37 +00:00 config.text
326 -rwx 4120 Mar 1 1993 00:03:33 +00:00 multiple-fs
BOOT path-list : flash:/c3560e-universalk9npe-mz.152-4.E8.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: 524288
Timeout for Config
Download: 0 seconds
Config Download
via DHCP: disabled (next boot: disabled)
04-30-2019 06:22 AM
05-05-2019 08:50 PM
Cisco IOS Software, C3560E Software (C3560E-UNIVERSALK9NPE-M), Version 12.2(55)SE13, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2018 by Cisco Systems, Inc.
Compiled Fri 07-Sep-18 00:11 by prod_rel_team
Image text-base: 0x00003000, data-base: 0x02800000
ROM: Bootstrap program is C3560E boot loader
BOOTLDR: C3560E Boot Loader (C3560X-HBOOT-M) Version 12.2(53r)SE1, RELEASE SOFTWARE (fc1)
SW03 uptime is 6 minutes
System returned to ROM by power-on
System image file is "flash:/c3560e-universalk9npe-mz.122-55.SE13.bin"
License Level: ipbase
License Type: Permanent
Next reload license Level: ipbase
cisco WS-C3560X-24 (PowerPC405) processor (revision A0) with 262144K bytes of memory.
Last reset from power-on
2 Virtual Ethernet interfaces
1 FastEthernet interface
28 Gigabit Ethernet interfaces
2 Ten Gigabit Ethernet interfaces
The password-recovery mechanism is enabled.
512K bytes of flash-simulated non-volatile configuration memory.
Model revision number : A0
Motherboard revision number : B0
Model number : WS-C3560X-24T-S
Top Assembly Revision Number : C0
Version ID : V06
Hardware Board Revision Number : 0x05
Switch Ports Model SW Version SW Image
------ ----- ----- ---------- ----------
* 1 30 WS-C3560X-24 12.2(55)SE13 C3560E-UNIVERSALK9NPE-M
Configuration register is 0xF
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide