Hi Everyone,
I'm trying setup a remote Unix box to get a copy of the ASA running config once a week.
I've been able to do this with the below command:
scp admin@<ASA IP>:config.txt .
The problem I have is that before I can run this command I have to run:
copy running-config disk0:config.txt
What I would like to do is something like:
scp admin@<ASA IP>:running-config .
The issue is that I cannot find the location of the running-config or startup-config on the ASA, for example if I run:
ASA# show disk0:
--#-- --length-- -----date/time------ path
86 5548032 Jan 01 2003 10:05:30 asa708-k8.bin
10 8192 Sep 11 2009 04:07:00 crypto_archive
87 6163744 Sep 11 2009 04:08:48 asdm-508.bin
89 16275456 Oct 05 2009 08:14:04 asa821-k8.bin
90 11348300 Oct 05 2009 08:16:08 asdm-621.bin
91 6851212 Oct 05 2009 08:31:32 asdm-603.bin
92 14266368 Oct 05 2009 08:32:42 asa804-16-k8.bin
3 8192 Oct 05 2009 08:37:22 log
Or
ASA# show flash:
--#-- --length-- -----date/time------ path
86 5548032 Jan 01 2003 10:05:30 asa708-k8.bin
10 8192 Sep 11 2009 04:07:00 crypto_archive
87 6163744 Sep 11 2009 04:08:48 asdm-508.bin
89 16275456 Oct 05 2009 08:14:04 asa821-k8.bin
90 11348300 Oct 05 2009 08:16:08 asdm-621.bin
91 6851212 Oct 05 2009 08:31:32 asdm-603.bin
92 14266368 Oct 05 2009 08:32:42 asa804-16-k8.bin
3 8192 Oct 05 2009 08:37:22 log
Can someone point me in the direction of where the running or startup config is located.
Thanks,
Peter.
I'm trying setup a remote Unix box to get a copy of the ASA running config once a week.
I've been able to do this with the below command:
scp admin@<ASA IP>:config.txt .
The problem I have is that before I can run this command I have to run:
copy running-config disk0:config.txt
What I would like to do is something like:
scp admin@<ASA IP>:running-config .
The issue is that I cannot find the location of the running-config or startup-config on the ASA, for example if I run:
ASA# show disk0:
--#-- --length-- -----date/time------ path
86 5548032 Jan 01 2003 10:05:30 asa708-k8.bin
10 8192 Sep 11 2009 04:07:00 crypto_archive
87 6163744 Sep 11 2009 04:08:48 asdm-508.bin
89 16275456 Oct 05 2009 08:14:04 asa821-k8.bin
90 11348300 Oct 05 2009 08:16:08 asdm-621.bin
91 6851212 Oct 05 2009 08:31:32 asdm-603.bin
92 14266368 Oct 05 2009 08:32:42 asa804-16-k8.bin
3 8192 Oct 05 2009 08:37:22 log
Or
ASA# show flash:
--#-- --length-- -----date/time------ path
86 5548032 Jan 01 2003 10:05:30 asa708-k8.bin
10 8192 Sep 11 2009 04:07:00 crypto_archive
87 6163744 Sep 11 2009 04:08:48 asdm-508.bin
89 16275456 Oct 05 2009 08:14:04 asa821-k8.bin
90 11348300 Oct 05 2009 08:16:08 asdm-621.bin
91 6851212 Oct 05 2009 08:31:32 asdm-603.bin
92 14266368 Oct 05 2009 08:32:42 asa804-16-k8.bin
3 8192 Oct 05 2009 08:37:22 log
Can someone point me in the direction of where the running or startup config is located.
Thanks,
Peter.