11-04-2013 05:36 AM - edited 03-11-2019 07:59 PM
hi all,
i want to do some file clean up on my 5505 without affecting any of its services.
could someone help me take a look and highlight what needs to be deleted?
thanks in advance!
ASA5505# dir
Directory of disk0:/
152 -rwx 27260928 13:53:20 Nov 24 2012 asa901-k8.bin
153 -rwx 4181246 07:32:20 Jun 05 2010 securedesktop-asa-3.2.1.103-k9.pkg
154 -rwx 398305 07:32:38 Jun 05 2010 sslclient-win-1.1.0.154.pkg
155 -rwx 17449432 13:23:38 Nov 24 2012 asdm-701.bin
156 -rwx 14240396 15:53:48 Mar 11 2010 asdm-631.bin
17 drwx 4096 07:36:28 Jun 05 2010 crypto_archive
10 drwx 4096 22:12:48 Dec 04 2010 log
158 -rwx 1530 04:31:54 May 17 2013 7_2_4_0_startup_cfg.sav
18 drwx 4096 22:13:20 Dec 04 2010 coredumpinfo
159 -rwx 4096 03:00:06 Apr 14 2013 ._asa901-k8.bin
160 -rwx 4096 03:00:10 Apr 14 2013 ._asdm-701.bin
161 drwx 4096 12:01:08 Apr 14 2013 .fseventsd
162 -rwx 4096 23:38:12 Dec 04 2010 ._.Trashes
163 drwx 4096 23:38:12 Dec 04 2010 .Trashes
164 drwx 4096 23:38:14 Dec 04 2010 .Spotlight-V100
165 -rwx 15943680 15:51:14 Mar 11 2010 asa831-k8.bin
166 -rwx 28119320 13:23:52 Nov 24 2012 asdm-demo-701.msi
167 -rwx 4096 03:00:16 Apr 14 2013 ._asdm-demo-701.msi
168 -rwx 1189 00:42:28 Apr 14 2013 upgrade_startup_errors_201304140042.log
169 -rwx 1189 09:36:58 Apr 14 2013 upgrade_startup_errors_201304140936.log
170 -rwx 1189 22:13:20 Dec 04 2010 upgrade_startup_errors_201012042213.log
171 -rwx 1189 04:11:30 May 06 2013 upgrade_startup_errors_201305060411.log
172 -rwx 1189 22:52:32 Dec 04 2010 upgrade_startup_errors_201012042252.log
173 -rwx 1189 06:41:10 May 09 2013 upgrade_startup_errors_201305090641.log
174 -rwx 1189 02:45:26 Dec 05 2010 upgrade_startup_errors_201012050245.log
175 -rwx 1189 06:34:08 May 10 2013 upgrade_startup_errors_201305100634.log
176 -rwx 1189 15:19:34 Dec 11 2010 upgrade_startup_errors_201012111519.log
177 -rwx 1189 03:38:04 May 16 2013 upgrade_startup_errors_201305160338.log
178 -rwx 1189 17:04:14 Dec 12 2010 upgrade_startup_errors_201012121704.log
179 -rwx 1189 04:31:58 May 17 2013 upgrade_startup_errors_201305170431.log
180 -rwx 1189 21:44:30 Jan 25 2011 upgrade_startup_errors_201101252144.log
181 -rwx 100 05:50:40 Jun 30 2013 upgrade_startup_errors_201306300550.log
182 -rwx 200 06:20:12 Jun 30 2013 upgrade_startup_errors_201306300620.log
183 -rwx 14524416 05:50:46 Jul 27 2013 asa802-k8.bin
184 -rwx 2142 05:23:44 Oct 25 2013 8_0_2_0_startup_cfg.sav
185 -rwx 1138 03:33:20 Aug 29 2013 upgrade_startup_errors_201308290333.log
186 -rwx 1138 05:23:48 Oct 25 2013 upgrade_startup_errors_201310250523.log
127111168 bytes total (2596864 bytes free)
Solved! Go to Solution.
11-04-2013 05:53 AM
first check what ASA version you are running (show version). If you are running version 9.1 then you can remove
183 -rwx 14524416 05:50:46 Jul 27 2013 asa802-k8.bin
165 -rwx 15943680 15:51:14 Mar 11 2010 asa831-k8.bin
check which ASDM version you are running (show version and show run asdm). If you are running version 7.1 then you can remove
56 -rwx 14240396 15:53:48 Mar 11 2010 asdm-631.bin
You have two 7.1 images and a couple demo images also. The demos you should be able to remove no problem but you need to identify which ASDM versionyou are running before you remove the extra 7.1
166 -rwx 28119320 13:23:52 Nov 24 2012 asdm-demo-701.msi
167 -rwx 4096 03:00:16 Apr 14 2013 ._asdm-demo-701.msi
160 -rwx 4096 03:00:10 Apr 14 2013 ._asdm-701.bin
155 -rwx 17449432 13:23:38 Nov 24 2012 asdm-701.bin
you should be able to remove all the upgrade start up error logs...unless you need them for future documentation.
11-04-2013 06:01 AM
And in addition to what Marius wrote, you can also remove all the hiden files that your Mac placed on the CF-card.
159 -rwx 4096 03:00:06 Apr 14 2013 ._asa901-k8.bin
160 -rwx 4096 03:00:10 Apr 14 2013 ._asdm-701.bin
161 drwx 4096 12:01:08 Apr 14 2013 .fseventsd
162 -rwx 4096 23:38:12 Dec 04 2010 ._.Trashes
163 drwx 4096 23:38:12 Dec 04 2010 .Trashes
164 drwx 4096 23:38:14 Dec 04 2010 .Spotlight-V100
167 -rwx 4096 03:00:16 Apr 14 2013 ._asdm-demo-701.msi
--
Don't stop after you've improved your network! Improve the world by lending money to the working poor:
http://www.kiva.org/invitedby/karsteni
11-04-2013 06:41 AM
you can't disable the timeout, you can only set the timeout to the maximum of 60 minutes.
--
Don't stop after you've improved your network! Improve the world by lending money to the working poor:
http://www.kiva.org/invitedby/karsteni
11-04-2013 05:53 AM
first check what ASA version you are running (show version). If you are running version 9.1 then you can remove
183 -rwx 14524416 05:50:46 Jul 27 2013 asa802-k8.bin
165 -rwx 15943680 15:51:14 Mar 11 2010 asa831-k8.bin
check which ASDM version you are running (show version and show run asdm). If you are running version 7.1 then you can remove
56 -rwx 14240396 15:53:48 Mar 11 2010 asdm-631.bin
You have two 7.1 images and a couple demo images also. The demos you should be able to remove no problem but you need to identify which ASDM versionyou are running before you remove the extra 7.1
166 -rwx 28119320 13:23:52 Nov 24 2012 asdm-demo-701.msi
167 -rwx 4096 03:00:16 Apr 14 2013 ._asdm-demo-701.msi
160 -rwx 4096 03:00:10 Apr 14 2013 ._asdm-701.bin
155 -rwx 17449432 13:23:38 Nov 24 2012 asdm-701.bin
you should be able to remove all the upgrade start up error logs...unless you need them for future documentation.
11-04-2013 06:23 AM
hi marius,
i'm currently using IOS and ASDM as below.
i would probably need asa802-k8.bin to practice old NAT setup.
ASA5505# sh ve
Cisco Adaptive Security Appliance Software Version 9.0(1)
Device Manager Version 7.0(1)
thank you for spotting asdm-701.bin!
11-04-2013 06:01 AM
And in addition to what Marius wrote, you can also remove all the hiden files that your Mac placed on the CF-card.
159 -rwx 4096 03:00:06 Apr 14 2013 ._asa901-k8.bin
160 -rwx 4096 03:00:10 Apr 14 2013 ._asdm-701.bin
161 drwx 4096 12:01:08 Apr 14 2013 .fseventsd
162 -rwx 4096 23:38:12 Dec 04 2010 ._.Trashes
163 drwx 4096 23:38:12 Dec 04 2010 .Trashes
164 drwx 4096 23:38:14 Dec 04 2010 .Spotlight-V100
167 -rwx 4096 03:00:16 Apr 14 2013 ._asdm-demo-701.msi
--
Don't stop after you've improved your network! Improve the world by lending money to the working poor:
http://www.kiva.org/invitedby/karsteni
11-04-2013 06:26 AM
thanks karsten!
guys,
one more thing, could we disable SSH timeout?
i tried to do a no ssh timeout and ssh timeout 0 but the command is still there.
ASA5505# sh run ssh
ssh 172.16.1.0 255.255.255.0 inside
ssh 192.168.1.0 255.255.255.0 outside
ssh timeout 5
11-04-2013 06:41 AM
you can't disable the timeout, you can only set the timeout to the maximum of 60 minutes.
--
Don't stop after you've improved your network! Improve the world by lending money to the working poor:
http://www.kiva.org/invitedby/karsteni
11-04-2013 06:50 AM
Using the no ssh timeout will just set the timeout to the default 5 minutes.
11-04-2013 06:51 AM
karsten,
thanks for clarifying my doubt on SSH timeout!
the ASA keeps on kicking me out when doing some web surfing time
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