cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4237
Views
0
Helpful
3
Replies

bootvar output

p.klostermaier
Level 1
Level 1

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

3 Replies 3

deilert
Level 6
Level 6

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

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.

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".