03-22-2013 05:37 AM - edited 03-11-2019 06:18 PM
Hi guys, I would like to tell the asa exactly which file to use for the configuration when booting up. is the start up config file hidden? I would like to set the config file variable but I can't seem to find the actual file
show bootvar
BOOT variable = disk0:/asa911-smp-k8.bin
Current BOOT variable = disk0:/asa911-smp-k8.bin
CONFIG_FILE variable =
Current CONFIG_FILE variable =
Thanks
Delmiro
Solved! Go to Solution.
03-22-2013 05:53 AM
Hi,
Yes, the Start Up configuration file is hidden on the Flash among other things like licensing information.
This documentation will probably have alot what you are after
http://www.cisco.com/en/US/docs/security/asa/asa91/configuration/general/admin_swconfig.html
I dont remember ever having to define a configuration file to boot from (other than in some of my own test) a separate file.
Most commonly I just need to define the typical OS and ASDM files
boot system flash:/filename.bin
asdm image flash:/filename.bin
And espeacially in the case of the OS boot file configuration remember to delete the old command for it before reboot. Issuing another command for a different file wont remove the previous one.
To my understanding the configuration command to specify the file used to boot configuration from is
boot config flash:/filename
Still I would suggest reading the above material or the one for the software you are using.
- Jouni
03-22-2013 05:53 AM
Hi,
Yes, the Start Up configuration file is hidden on the Flash among other things like licensing information.
This documentation will probably have alot what you are after
http://www.cisco.com/en/US/docs/security/asa/asa91/configuration/general/admin_swconfig.html
I dont remember ever having to define a configuration file to boot from (other than in some of my own test) a separate file.
Most commonly I just need to define the typical OS and ASDM files
boot system flash:/filename.bin
asdm image flash:/filename.bin
And espeacially in the case of the OS boot file configuration remember to delete the old command for it before reboot. Issuing another command for a different file wont remove the previous one.
To my understanding the configuration command to specify the file used to boot configuration from is
boot config flash:/filename
Still I would suggest reading the above material or the one for the software you are using.
- Jouni
03-22-2013 07:47 AM
you don't need to configure the config_file variable if you want the asa to boot the config from the startup config, you just need to make sure that the config-register of the asa is set to 0x1, this way it will look up for the startup config everytime the asa boots up. if the config-register is set to 0x40, it will ignore the startup config when it boots (for password recovery).
but if you want to see something on the config_file variable for fun, one way you can do is by copying the startup config to the flash, then you define it using above command mentioned by Jouni. (boot config flash:/filename). please keep in mind, by doing this te asa will use the config from that file everytime it boots.
03-22-2013 06:25 PM
Thank you guys for the explanation, I think I would just leave the register 0x1 and know that it would boot to the hidden start-up config file in flash.
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