How to export and import Cisco ASA 5510's configuration?

I have a Cisco 5510 firewall and I am having trouble to find a way to export and import the configurations I made.
I know ASA can save the configuration to a tftp server by using the command: copy flash  tftp
But how can I import the configuration?
Thanks for the help.
LVL 1
VartanaAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

batry_boyCommented:
You can use the following command syntax to do what you want:

copy tftp://server[/path]/filename {startup-config | running-config}

This is from the ASA command line configuration guide.  Just use "startup-config" or "running-config" for the last option depending on where you want to put the configuration you're getting from the TFTP server.

Hope this helps...
VartanaAuthor Commented:
I tried the command but it did not work. I think I did something wrong.
copy tftp://192.168.81.20/c/test running-config
My tftp server Ip is 192.168.81.20. The file that I saved the configuration is test with no file extensions.
Please help.
Thanks
batry_boyCommented:
If you look at the TFTP server when you try to pull over the file, do you see any status or error messages?  Are you sure you have the right path in you "tftp://" part of the command?
Exploring ASP.NET Core: Fundamentals

Learn to build web apps and services, IoT apps, and mobile backends by covering the fundamentals of ASP.NET Core and  exploring the core foundations for app libraries.

VartanaAuthor Commented:
I typed the command copy tftp running-config    first
Then I typed the tftp server's IP, source file name which is test, destination filename which I typed running-config.
I got a response
command Ignored, configuration in progress.
I see that tftp server sends file to ASA but nothing has changed in ASA.
Thank you so much for the help.
batry_boyCommented:
What version 7.x code are you running?  Did you enter a "show run" command to see if there were changes?
VartanaAuthor Commented:
I am running version 7.0(6).
I made one change. I first save the config to tftp server. Then I delete one user account in ASA. Afterwards I imported the backup file from tftp server to ASA and I expect to see the deleted user account to come back. But that never happened.
batry_boyCommented:
Try this:

copy tftp: running-config

and then specify the information it prompts for.  Doing it this way will MERGE the file you specify from the TFTP server into the current running configuration on the firewall, so it will get messy in that it will display some error messages about matching entries, duplicate elements and multiple peers, depending on what you have in your configuration.

What you might want to do is this command instead:

copy tftp: startup-config

This is a lot cleaner, but you will have to reboot your ASA for the changes to take effect.  If you are looking to define a process for you to import a complete configuration file from an external source and you want the configuration to completely overlay the existing configuration, then this is the way to do it.  If you want to merge your current running configuration with the file you get from the TFTP server, then do it with the "running-config" as the last parameter.

Give it a shot...

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
marksheeksCommented:
great instruction adn tahnks for putting the explanation in context. Thank you!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
TCP/IP

From novice to tech pro — start learning today.