cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

Community Helping Community

3519
Views
10
Helpful
13
Replies
Beginner

BOOT variable

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
VIP Advisor

Re: BOOT variable

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 ***

View solution in original post

13 REPLIES 13
VIP Expert

Re: BOOT variable

Hi,

Did you try:

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

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

HTH

Beginner

Re: BOOT variable

It doesn't works

Beginner

Re: BOOT variable

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

Hall of Fame Community Legend

Re: BOOT variable

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

Re: BOOT variable

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 ***
Hall of Fame Community Legend

Re: BOOT variable

Post the complete output to the command "sh version". Maybe the config-registry is 0x2101.
Beginner

Re: BOOT variable

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

VIP Advisor

Re: BOOT variable

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

BB
*** Rate All Helpful Responses ***
Beginner

Re: BOOT variable

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

VIP Advisor

Re: BOOT variable

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 ***

View solution in original post

Beginner

Re: BOOT variable

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

Highlighted
VIP Advisor

Re: BOOT variable

Good to know and thank you for your feedback.

BB
*** Rate All Helpful Responses ***
Beginner

Re: BOOT variable

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!

CreatePlease to create content
Content for Community-Ad