cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
10790
Views
0
Helpful
6
Replies

How to format and erase Flash in a Cisco ASA remotely

Mirzo
Level 1
Level 1

I have a cisco asa 5500 series. From this cisco IOS working from tftp server. I want to format flash card and import configuration file remotely. If it possible If it yes but how i can do it? 

1 Accepted Solution

Accepted Solutions

You can do erase disk0 to delete everything in there.
You want to copy from tftp to Flash then the command should be copy tftp disk0.
I don't know if it's a typo but you did the other way around using copy disk tftp.

Can you get a log from your tftp server?
You can also try using scp to copy files.

Thanks
Francesco
PS: Please don't forget to rate and select as validated answer if this answered your question

View solution in original post

6 Replies 6

Francesco Molino
VIP Alumni
VIP Alumni
Hi
What do you mean by format Flash remotely on asa?
Can you describe what you want to achieve please?

Thanks
Francesco
PS: Please don't forget to rate and select as validated answer if this answered your question

Hi

What do you mean by format Flash remotely on asa? 

 

It's now Asa is loading from Tftp server. i can connect to asa via putty(remotely).

after connecting to ASA can i format Flash?

 

Can you describe what you want to achieve please?

I want to format Flash than import IOS file and configure files

I was done backup firewall ASA via ASDM

 Connect to the firewall via ASDM, then Tools > Backup Configuration > Browse to a Location to Save the File > If you have certificates to backup, then choose and confirm a password > OK.

and copy show run 

Hi,

CiscoASA# erase flash:

or 

CiscoASA# format flash:

 

This command overwrites all files and erases the file system, which includes hidden system files, and then re installs the file system. On Cisco ASA 5500 series security appliances, the erase command destroys all user data on the disk with the 0xFF pattern. In contrast, the format command only resets the file system control structures. When the erase option is used, it deletes all the information related to the licensing. You need to fetch the activation keys in order to retain the licenses on Cisco ASA. 

 

HTH

Abheesh

Hi 

I want to format flash:   then copy to flash IOS files 

i tried copy disk0: tftp

Source filename []? asa942-11-smp-k8.bin

Address or name of remote host []? 192.168.1.10

Destination filename [asa942-11-smp-k8.bin]?

Writing file tftp://192.168.1.10/asa942-11-smp-k8.bin...
!
%Error writing tftp://192.168.1.10/asa942-11-smp-k8.bin (Timed out attempting to connect)

 

i try to ping from ciscoASA

ping 192.168.1.10
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.10, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/4/10  

 

BR 

Mirzo

Hi Mirzo,

This is connection timed out error, do a packet capture and see what happens when you do copy.

 

HTH

Abheesh

You can do erase disk0 to delete everything in there.
You want to copy from tftp to Flash then the command should be copy tftp disk0.
I don't know if it's a typo but you did the other way around using copy disk tftp.

Can you get a log from your tftp server?
You can also try using scp to copy files.

Thanks
Francesco
PS: Please don't forget to rate and select as validated answer if this answered your question
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: