01-28-2003 01:28 AM - edited 03-02-2019 04:35 AM
Hi,
I would like to understand the meaning of the number appended to the filename at the output of a show bootvar. ,1 or ,12. I could not find a definitve statement at the cco. Can anybody help ?
Switch>sh bootvar
BOOT variable = bootflash:cat4000-is-mz.121-12c.EW.bin,1;bootflash:cat4000-is-mz.121-12c.EW1.bin,12
Thanks
Peter
01-28-2003 07:40 AM
this is the sequence of how the image is loaded when the box boots up.
Firsrt it will load bootflash:cat4000-is-mz.121-12c.EW.bin, if that fails it will load bootflash:cat4000-is-mz.121-12c.EW1.bin,12
01-28-2003 08:31 AM
Thanks for your reply. I have been aware of this and I'm rather interested in the meaning of the number following the name of the image
*.bin,1 or
*.bin,12
Those indicators also appear if only one image is listed in the boot sequence list.
03-27-2020 08:32 AM
Based on https://community.cisco.com/t5/switching/6509-e-boot-variable-sup-bootdisk-1/td-p/1152977 "The number displayed after the image name (for example, c6sup12-js-mz.121-13.E,12) indicates the number of times that the Cisco 7600 series router tries to reboot the file before giving up."
From my small amount of testing, I have seen both ",1" and ",12" which appear to depend on the command used:
(config)boot system bootflash:cat4500e-lanbasek9-mz.152-2.E8.bin
#show bootvar
BOOT variable = bootflash:cat4500e-lanbasek9-mz.152-2.E8.bin,12;
(config)boot system flash bootflash:cat4500e-lanbasek9-mz.152-2.E8.bin
#show bootvar
BOOT variable = bootflash:cat4500e-lanbasek9-mz.152-2.E8.bin,1;
*****
You can also add more variables to the system image string, but I am unsure what, if anything this does. For example:
(config)boot system flash bootflash:cat4500e-lanbasek9-mz.152-2.E8.bin,3
#show bootvar
BOOT variable = bootflash:cat4500e-lanbasek9-mz.152-2.E8.bin,3,1; - ???
I have found no way of modifying the default ",1" or ",12".
06-14-2024 10:19 AM
something we just possibly discovered with this. is that we ran the command in config t "boot system bootflash:(ios)". then it defaults that trailing number to 12. My boss just ran this command "boot system flash bootflash:(ios)" and that seems to have changed that trailing number to 1 in the boot variable.
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