Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

ASA Erase Config Commands

Just wondering the easiest method to clear my config on an ASA 5520 and start "from scratch".... I have an old config on my ASA that I am looking erase but last time I tried to do this I ended up deleting my asa704-k8.bin file and ended up in a world of hurt. (I had been working with an older version of the IOS on some routers and switches... I miss the good old erase run, erase start)

Thanks,

Chris

1 ACCEPTED SOLUTION

Accepted Solutions
New Member

Re: ASA Erase Config Commands

If you already have 7.0(x) or better code installed, then you could also reset it to "factory default" with the following command:

configure factory-default [ip_address [mask]]

Using this command will reset it like it just came from Cisco.

A write erase will clear the entire config. If you clear it, make sure when you write your new config that you put things like your boot system variable in.

TD

4 REPLIES
New Member

Re: ASA Erase Config Commands

Issue a write erase command. Just dont erase the disk0:

New Member

Re: ASA Erase Config Commands

Dennt,

Thanks for the quick response, I know it was a pretty lame question... I just wanted to make sure before I ended up messing anything up. So if I issue the "write erase" command I am sure it will prompt me first I say yes... and then it should just load up with no interfaces configured just like "new"??

Thanks a lot,

Chris

New Member

Re: ASA Erase Config Commands

If you already have 7.0(x) or better code installed, then you could also reset it to "factory default" with the following command:

configure factory-default [ip_address [mask]]

Using this command will reset it like it just came from Cisco.

A write erase will clear the entire config. If you clear it, make sure when you write your new config that you put things like your boot system variable in.

TD

New Member

Re: ASA Erase Config Commands

I just change firewall modes, transparent to routed or vice versa. This will wipe out the config.

62424
Views
10
Helpful
4
Replies