11-21-2014 11:09 AM - edited 03-11-2019 10:07 PM
The Cisco web site state:
By default, the ASA boots from a startup configuration that is a hidden file. You can alternatively set any configuration to be the startup configuration by entering the following command:
Solved! Go to Solution.
11-23-2014 09:29 PM
Hi Jimmyc_2,
First copy the running config file into disk0/1/or any path you want and then do boot config command as below.
copy run disk0:/.private/startup-config
boot config disk0:/.private/startup-config
wr mem
i think the boot config commands changes the path where ASA can extract the start-up config file by default it will load from hidden file but if you change it during booting it will load from the place where you explicitly defined.
HTH
Murali.
11-22-2014 02:18 AM
Hi,
What happens if you try to boot with the ASA disk0: ? Does the same issue happens ?
Thanks and Regards,
Vibhor Amrodia
11-23-2014 09:30 AM
Hi Vibhor,
That's worth a shot.
I'll try to copy the config file from disk1 to disk0, then inserting the "boot config flash:/Newconfig" into my running config. If I do a "wr mem", that will save it to startup.confg.
Here's the question: If I do a reload, the ASA will grab the startup-config. The startup-config has the command "boot config flash:/Newconfig", which means it has to abort the rest of the startup-config and launch a new config from flash. Is that how it works?
Thanks.
11-23-2014 09:29 PM
Hi Jimmyc_2,
First copy the running config file into disk0/1/or any path you want and then do boot config command as below.
copy run disk0:/.private/startup-config
boot config disk0:/.private/startup-config
wr mem
i think the boot config commands changes the path where ASA can extract the start-up config file by default it will load from hidden file but if you change it during booting it will load from the place where you explicitly defined.
HTH
Murali.
11-24-2014 06:49 AM
Thank you Murali,
That is interesting, and not in any of my ASA books, at least I didn't see it.
You are asking me to copy NewConfig to startup-config prior to reload. Not a problem, but my practical experience says I found a bug, or the documentation is wrong. The documentation says:
By default, the ASA boots from a startup configuration that is a hidden file. You can alternatively set any configuration to be the startup configuration by entering the following command:
hostname(config)# boot config {disk0:/ | disk1:/}[path/]filename
12-01-2014 01:10 PM
The stated procedure works on a v8.4, but did not work on 9.0.
If I get time, I'll open a case with TAC.
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