11-15-2024 01:29 PM - edited 11-15-2024 01:30 PM
Hi,
I am trying to clean up boot variables but I am unable to do so despite using the no boot system switch or no boot system flash command
BOOT variable = flash:/flash:cat3k_caa-universalk9ldpe.16.12.12.SPA.bin;flash:cat3k_caa--universalk9ldpe.16.12.12.SPA.conf;flash:packages.conf;
Here is the boot variable I want it to only say flash:packages.conf
Using the no command to tidy up does not work so wondering how I can do this. On boot it looks for the first bin file and the conf file and comes up with error file not found - however it does go on ahead and boot as the packages.conf works.
Any help much appreciated in advance - thank you.
11-15-2024 01:52 PM
11-16-2024 07:22 AM
Thanks @Flavio Miranda
I tried that but variable was still there after doing that
So I seen that those commands were in running config. i.e boot system flash:/flash:cat3k_caa-universalk9ldpe.16.12.12.SPA.bin and boot system flash:cat3k_caa--universalk9ldpe.16.12.12.SPA I just did not statement against those in global config
Then they went away and all good - you steered me in the right direction though - thanks.
11-16-2024 05:14 PM
@donalcox wrote:
I tried that but variable was still there after doing that
After clearing the boot variable statement in config mode, if the config is not saved, the boot variable statement will remain unchanged.
conf t
no boot system switch all
end
wr
02-19-2025 12:37 PM
It depends on the IOS or switch. The correct command is:
conf t
no boot system
end
wr
note: you do not need to add anything else see options below:
SWITCH(config)#no boot system ?
bootflash: System image file
flash: System image file
ftp: System image file
http: System image file
sftp: System image file
tftp: System image file
<cr> <cr>
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