07-31-2011 05:18 PM - edited 03-07-2019 01:28 AM
Hi all,
My switch is not loading image from boot system.
sw#sh boot sys
flash:c3560-ipservicesk9-mz.122-58.SE1.bin
sw#sh flash
Directory of flash:/
2 drwx 192 Mar 1 1993 00:07:49 +00:00 c3560-advipservicesk9-mz.1
22-35.SE
460 -rwx 736 Mar 3 1993 12:47:06 +00:00 vlan.dat
461 -rwx 1740 Mar 1 1993 04:11:34 +00:00 config.old
462 -rwx 15959803 Jul 28 2011 10:44:40 +00:00 c3560-ipservicesk9-mz.122-
58.SE1.bin
464 -rwx 6930 Jul 28 2011 10:48:08 +00:00 private-config.text
465 -rwx 9276 Jul 28 2011 10:48:08 +00:00 config.text
466 -rwx 3096 Jul 28 2011 10:48:08 +00:00 multiple-fs
32514048 bytes total (5901824 bytes free)
sw#sh ver
Cisco IOS Software, C3560 Software (C3560-ADVIPSERVICESK9-M), Version 12.2(35)SE
, RELEASE SOFTWARE (fc2)
Copyright (c) 1986-2006 by Cisco Systems, Inc.
Compiled Sun 03-Dec-06 14:38 by yenanh
Image text-base: 0x00003000, data-base: 0x013627D0
ROM: Bootstrap program is C3560 boot loader
BOOTLDR: C3560 Boot Loader (C3560-HBOOT-M) Version 12.2(25r)SEE4, RELEASE SOFTWA
RE (fc1)
sw uptime is 1 hour, 11 minutes
System returned to ROM by power-on
System image file is "flash:/c3560-advipservicesk9-mz.122-35.SE/c3560-advipservi
cesk9-mz.122-35.SE.bin"
cisco WS-C3560G-24TS (PowerPC405) processor (revision D0) with 122880K/8184K byt
es of memory.
Processor board ID FOC1203ZBUW
Last reset from power-on
4 Virtual Ethernet interfaces
28 Gigabit Ethernet interfaces
The password-recovery mechanism is enabled.
512K bytes of flash-simulated non-volatile configuration memory.
Base ethernet MAC Address : 00:25:46:2D:43:00
Motherboard assembly number : 73-10215-04
Power supply part number : 341-0098-02
Motherboard serial number : FOC13131R3C
Power supply serial number : AZS1308349D
Model revision number : D0
Motherboard revision number : D0
Model number : WS-C3560G-24TS-E
System serial number : FOC1203ZBUW
Top Assembly Part Number : 800-26851-01
Top Assembly Revision Number : C0
Version ID : V03
CLEI Code Number : CNMW200ARC
Hardware Board Revision Number : 0x09
Switch Ports Model SW Version SW Image
------ ----- ----- ---------- ----------
* 1 28 WS-C3560G-24TS 12.2(35)SE C3560-ADVIPSERVICESK
Configuration register is 0xF
This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
like that , i can see image file is in flash, i can see boot system is from that image file but when i reload my switch it's starting from old image?!
Any idea? also how to change that syntex before the lines?
07-31-2011 05:35 PM
Hi,
First try this:
config t
no boot system
then try this:
boot system flash:c3560-ipservicesk9-mz.122-58.SE1.bin
make sure that this is the image you want to boot from.
also make sure you see this image nane in the config
then reboot
HTH
Reza
08-01-2011 01:00 AM
Hi,
Router is always booting from the first found valid IOS image (lowest order number).
To be able to run from a new IOS image, two possibilities.
1) use the boot system flash command to tell the router to use the right IOS image. Be sure that there is no other similar command.
2) delete the old image. I don't like to do this. You may before upload the image to your TFTP server first to be able to reinstall later on if needed.
Hope this will help.
Christian
08-01-2011 01:38 AM
Hey man,
That is why i am asking,
1. If you see next 2 rows, you can find that new image is hard coded and boot is already directed to that.
" sw#sh boot sys
flash:c3560-ipservicesk9-mz.122-58.SE1.bin "
2. On below rows i can see that old image file has "2" priority or what hell is that no idea, and new image is "462", i am jealous on that coz of the error. So how do i change new one lower than that old image?!
sw#sh flash
Directory of flash:/
2 drwx 192 Mar 1 1993 00:07:49 +00:00 c3560-advipservicesk9-mz.1
22-35.SE
460 -rwx 736 Mar 3 1993 12:47:06 +00:00 vlan.dat
461 -rwx 1740 Mar 1 1993 04:11:34 +00:00 config.old
462 -rwx 15959803 Jul 28 2011 10:44:40 +00:00 c3560-ipservicesk9-mz.122-
58.SE1.bin
464 -rwx 6930 Jul 28 2011 10:48:08 +00:00 private-config.text
465 -rwx 9276 Jul 28 2011 10:48:08 +00:00 config.text
466 -rwx 3096 Jul 28 2011 10:48:08 +00:00 multiple-fs
3. I don't wanna delete old image, because this switch is placing in my remote site so i don't wanna take any risk on it. Someone told me that hard code image from ROMMON , even that i can't do it! i can access only telnet.
08-01-2011 02:50 AM
Can you post running config of the switch ?
Also when you boot what do you see ie. does it just boot straight from old image ?
Jon
08-01-2011 05:16 AM
Hi,
If you have correctly configured the boot statements......... i guess it may be the case that your new IOS might be corrupted., hence eventhough if u have configured boot statement to boot with higher version image its falling back to old ios.
Try verifying the md5 hash value of your new image
command "verify /md5 flash:c3560-ipservicesk9-mz.122-58.SE1.bin"
the hash value should match with the one is cisco site.
Can you pls provide answer to what Jon Marshall has asked for.
Do u have access to see console messages remotely during reboot?
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