Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1894
  • Last Modified:

Restore ASA 5510 startup-config from tftp

How do i restoe starup-config form tftp server model asa 5510
0
Mohamed5815
Asked:
Mohamed5815
  • 6
  • 5
  • 3
  • +1
1 Solution
 
fgasimzadeCommented:
Use this command:

copy tftp: running-config

And follow the instructions it gives you
0
 
Mohamed5815Author Commented:
I need to replace exiting config, i don't want to merge, i want to erase current startup-config and restore backup startup-config
0
 
fgasimzadeCommented:
It will not be merged, it will be overridden. Once you copied it to your ASA, save it with "wr mem" command. You config will be replaced with the new one
0
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

 
Mohamed5815Author Commented:
when i do this i recieve alot of 'WARNING: <> found duplicate element' what does this mean
0
 
fgasimzadeCommented:
Hm, do you see your new configs as well as your old one?
0
 
Dangle79Commented:
it sounds like you're copy/pasting the config into the console instead of actually doing the tftp, but i may be mis-reading it.

in this case if you want to totally blow away what's running and restore the backed up config do this

erase start

copy tftp start
(supply tftp host, file name, etc)

when complete type the reload command
it will probably tell you the running config is different than the startup and ask you to save, don't save and just proceed with reload. when it boots back up you'll be running the config you restored
0
 
Mohamed5815Author Commented:

fqasimzade - Yes

Dangle79 - by doing this, will it bring down the internet?
0
 
Mohamed5815Author Commented:
Dangle79 - please excuse me, i am very new at this. Can you give me an example of how i would 'copy tftp start'
0
 
fgasimzadeCommented:
Hm, Dangle79 is correct, if you copy it from tftp, it does not merge, it replaces config

If you erase config without reboot, you will not lose your internet connection. Your old config will still be there (running config) Only your startup config will be erased

0
 
Mohamed5815Author Commented:
and the command is 'erase start'?  have attached an image
erase.jpg
0
 
fgasimzadeCommented:
Try:


write erase
0
 
Mohamed5815Author Commented:
'write erase' did not work
0
 
Dangle79Commented:
sorry, yes, write erase is the correct command. i wasn't speaking "asa"

> enable
(supply enable password)
# configure terminal
(config)# write erase
(config)# end
# copy tftp startup-config
Address or name of remote host []? (enter the ip of your tftp server)
Source filename []? (your backup file name)
Destination filename [startup-config]? (just hit enter if it says startup-config, otherwise type it there)

You should see something like this
Accessing tftp://172.16.11.50/startup-config…!!
Writing system file…
!!
5277 bytes copied in 0.470 secs

then it will return to the enable prompt, type "reload" and confirm

yes this will take down your connection while the asa is rebooting, but i believe there's no way to clear the running config while the asa is functional, you could only merge
0
 
Istvan KalmarHead of IT Security Division Commented:
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 6
  • 5
  • 3
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now