cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
66454
Views
36
Helpful
13
Replies

BOOT variable

soporteca
Level 1
Level 1

Hi pals!

 

I'm trying to upgrade a 4900M

I manage to copy the new firmare, but even I edit the boot file using command line I still see the old firmware file as first  boot image

BOOT variable = bootflash:cat4500e-entservicesk9-mz.152-4.E2.bin,1;cat4500e-entservicesk9-mz.152-4.E7.bin,1;flash1:cat4500e-entservicesk9-mz.152-4.E7.bin,12;bootflash:cat4500e-entservicesk9-mz.152-4.E7.bin,1;

How can I edit the boot variable to show only  bootflash:cat4500e-entservicesk9-mz.152-4.E7.bin,

Thanks

Mariano

1 Accepted Solution

Accepted Solutions

Follow below steps :

 

 

Pre-requisites, make sure you uploaded the image in to Switch cat4500e-entservicesk9-mz.152-4.E7.bin

 

#dir bootflash:    <--- check the this file available in bootflash - cat4500e-entservicesk9-mz.152-4.E7.bin

 

#configure terminal
(config)#no boot system flash bootflash:cat4500e-entservicesk9-mz.152-4.E2.bin
(config)#no boot system flash bootflash:cat4500e-entservicesk9-mz.152-4.E7.bin
(config)#no boot system flash flash1:cat4500e-entservicesk9-mz.152-4.E7.bin
(config)#no boot system flash bootflash:cat4500e-entservicesk9-mz.152-4.E7.bin


(config)#boot system flash bootflash:cat4500e-entservicesk9-mz.152-4.E7.bin
(config)#end
#write memory
Check the boot variable again to make sure it is set properly so that the switch boots up the correct system file on the next reboot.
#show bootvar
Configuration register is 0x2102

 

connect the console cable and capture all the boot process (if any issue, post the complete boot process to look.)

Reload the device

 

BB

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

How to Ask The Cisco Community for Help

View solution in original post

13 Replies 13

Reza Sharifi
Hall of Fame
Hall of Fame

Hi,

Did you try:

no bootflash:cat4500e-entservicesk9-mz.152-4.E2.bin

bootflash: cat4500e-entservicesk9-mz.152-4.E7.bin

HTH

It doesn't works

Hello,

 

You need to slightly change the commands to:

 

conf t
no boot system
boot system bootflash:cat4500e-entservicesk9-mz.152-4.E7.bin
end
copy run start

 Once you have done that check the boot configuration with

show boot

 

Does it look better now?

 

ADP

Can you please post the complete output to the command "dir bootflash:"?

balaji.bandi
Hall of Fame
Hall of Fame

check below steps :

 

show bootflash:   - shows al the images in the boot flash
verify bootflash: imagename.bin - verify the image is correct
show boot - what is current boot variable set to.
boot bootflash:cat4500e-entservicesk9-mz.152-4.E7.bin  - this sets the new variable. 

 

BB

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

How to Ask The Cisco Community for Help

Leo Laohoo
Hall of Fame
Hall of Fame
Post the complete output to the command "sh version". Maybe the config-registry is 0x2101.

hi!

This is the output

switch4900m.comarb#show boot
BOOT variable = bootflash:cat4500e-entservicesk9-mz.152-4.E2.bin,1;cat4500e-entservicesk9-mz.152-4.E7.bin,1;flash1:cat4500e-entservicesk9-mz.152-4.E7.bin,12;bootflash:cat4500e-entservicesk9-mz.152-4.E7.bin,1;
CONFIG_FILE variable = bootflash:cat4500e-entservicesk9-mz.152-4.E7.bin
BOOTLDR variable = bootflash:cat4500e-entservicesk9-mz.152-4.E7.bin
Configuration register is 0x2102

What should I do to boot using E7 firmware?

Thanks

Can you post show version as suggested. to look what is now current booted image.

BB

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

How to Ask The Cisco Community for Help

switch4900m.comarb#sh version
Cisco IOS Software, Catalyst 4500 L3 Switch  Software (cat4500e-ENTSERVICESK9-M), Version 15.2(4)E2, RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2016 by Cisco Systems, Inc.
Compiled Mon 27-Jun-16 10:02 by prod_rel_team

ROM: 12.2(44r)SG10
switch4900m.comarb uptime is 12 hours, 25 minutes
System returned to ROM by reload
System restarted at 20:55:15 ART Tue Oct 9 2018
System image file is "bootflash:cat4500e-entservicesk9-mz.152-4.E2.bin"
Sushi Revision 11, Tatooine Revision 141, Forerunner Revision 1.83

Last reload reason: Reload command



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-C4900M (MPC8548) processor (revision 2) with 1048576K bytes of memory.
Processor board ID JAE17480CWP
MPC8548 CPU at 1.33GHz, Cisco Catalyst 4900M
Last reset from Reload
8 Virtual Ethernet interfaces
24 Gigabit Ethernet interfaces
24 Ten Gigabit Ethernet interfaces
511K bytes of non-volatile configuration memory.

Configuration register is 0x2102

Follow below steps :

 

 

Pre-requisites, make sure you uploaded the image in to Switch cat4500e-entservicesk9-mz.152-4.E7.bin

 

#dir bootflash:    <--- check the this file available in bootflash - cat4500e-entservicesk9-mz.152-4.E7.bin

 

#configure terminal
(config)#no boot system flash bootflash:cat4500e-entservicesk9-mz.152-4.E2.bin
(config)#no boot system flash bootflash:cat4500e-entservicesk9-mz.152-4.E7.bin
(config)#no boot system flash flash1:cat4500e-entservicesk9-mz.152-4.E7.bin
(config)#no boot system flash bootflash:cat4500e-entservicesk9-mz.152-4.E7.bin


(config)#boot system flash bootflash:cat4500e-entservicesk9-mz.152-4.E7.bin
(config)#end
#write memory
Check the boot variable again to make sure it is set properly so that the switch boots up the correct system file on the next reboot.
#show bootvar
Configuration register is 0x2102

 

connect the console cable and capture all the boot process (if any issue, post the complete boot process to look.)

Reload the device

 

BB

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

How to Ask The Cisco Community for Help

Thanks!

Seems to solve the issue. I have to reboot and it0s done

Building configuration...
Compressed configuration from 8507 bytes to 4093 bytes[OK]
switch4900m.comarb#show boot
BOOT variable = cat4500e-entservicesk9-mz.152-4.E7.bin,1;bootflash:cat4500e-entservicesk9-mz.152-4.E7.bin,1;
CONFIG_FILE variable = bootflash:cat4500e-entservicesk9-mz.152-4.E7.bin
BOOTLDR variable = bootflash:cat4500e-entservicesk9-mz.152-4.E7.bin
Configuration register is 0x2102

switch4900m.comarb#show bootvar
BOOT variable = cat4500e-entservicesk9-mz.152-4.E7.bin,1;bootflash:cat4500e-entservicesk9-mz.152-4.E7.bin,1;
CONFIG_FILE variable = bootflash:cat4500e-entservicesk9-mz.152-4.E7.bin
BOOTLDR variable = bootflash:cat4500e-entservicesk9-mz.152-4.E7.bin
Configuration register is 0x2102

Good to know and thank you for your feedback.

BB

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

How to Ask The Cisco Community for Help

Thank you, as this helped me cleanup some mistakes I have on a C1111-4P figuration. It would boot, but had a couple of "hiccups," which were annoying me. Thank you!

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:

Review Cisco Networking products for a $25 gift card