Solved

How to delete the boot variable shown in the bootvar

Posted on 2014-02-27
2
3,329 Views
Last Modified: 2014-03-01
Hi guys,
How can I delete the boot variable shown in the bootvar result below?
Just upgraded this 4506, and deleted 53.sg4.
As you can see I have only one boot image in the directory, and I want the switch to boot to that image i.e. cat4500e-ipbasek9-mz.122-54.SG1.bin.
-----¿C01#dir
Directory of bootflash:/
    6  -rw-    25093330  Feb 26 2014 11:36:06 +00:00  cat4500e-ipbasek9-mz.122-54.SG1.bin
128206848 bytes total (93587456 bytes free)

-----¿C01#sh bootvar
BOOT variable = bootflash:cat4500e-ipbase-mz.122-53.SG4.bin,12;bootflash:cat4500e-ipbasek9-mz.122-54.SG1.bin,12;
CONFIG_FILE variable does not exist
BOOTLDR variable does not exist
Configuration register is 0x2102

As you can see below I have tried deleting it, but getting the error below
boot-start-marker
boot system bootflash:cat4500e-ipbase-mz.122-53.SG4.bin
boot system bootflash:cat4500e-ipbasek9-mz.122-54.SG1.bin
boot-end-marker
----¿C01#delete ?
  /force          Force delete
  /recursive      Recursive delete
  bootflash:      File to be deleted
  cat4000_flash:  File to be deleted
  nvram:          File to be deleted
  slot0:          File to be deleted

---¿C01#delete bootflash:cat4500e-ipbase-mz.122-53.SG4.bin
Delete filename [cat4500e-ipbase-mz.122-53.SG4.bin]?
Delete bootflash:cat4500e-ipbase-mz.122-53.SG4.bin? [confirm]
%Error deleting bootflash:cat4500e-ipbase-mz.122-53.SG4.bin (File not found)
0
Comment
Question by:gbolly1913
2 Comments
 
LVL 1

Accepted Solution

by:
netdsg earned 500 total points
ID: 39892766
Since the ipbase image is not on the flash the switch cannot boot to it.  The boot system commands tell the switch the order of preference to boot an image.  It will try to boot the ipbase image, not find it, and fail.  It will then boot the ipbaseK9 image.  to verify this boot the switch and execute a 'show version' command.  This should reveal the switch running on the ipbaseK9 image.

In order to remove the ipbase image from the config file boot preferences try the following commands:


enable
config t
no boot system bootflash:cat4500e-ipbase-mz.122-53.SG4.bin
exit

### verify

show run | inc boot

### if satisfied save the config file.

wr mem
0
 

Author Comment

by:gbolly1913
ID: 39893708
Thanks netdsg,  if you look at the  last part of my question above you can see that i have done that, with error below coming up.

C01#delete bootflash:cat4500e-ipbase-mz.122-53.SG4.bin

Delete filename [cat4500e-ipbase-mz.122-53.SG4.bin]?
Delete bootflash:cat4500e-ipbase-mz.122-53.SG4.bin? [confirm]
%Error deleting bootflash:cat4500e-ipbase-mz.122-53.SG4.bin (File not found)

So now i have two image on the same line in boot avriable as shown below.

BOOT variable = bootflash:cat4500e-ipbase-mz.122-53.SG4.bin,12;bootflash:cat4500e-ipbasek9-mz.122-54.SG1.bin,12;
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Outgoing Call restriction in Cisco UC560 2 106
md5 password 3 74
QoS for Voip 7 54
Performance monitors 6 18
Don’t let your business fall victim to the coming apocalypse – use our Survival Guide for the Fax Apocalypse to identify the risks and signs of zombie fax activities at your business.
This paper addresses the security of Sennheiser DECT Contact Center and Office (CC&O) headsets. It describes the DECT security chain comprised of “Pairing”, “Per Call Authentication” and “Encryption”, which are all part of the standard DECT protocol.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question