cisco copy config

Posted on 2013-11-04
Last Modified: 2013-11-05
I need to copy a config file from one asa to another, 5505 series. Both ASA's have the same version. I plan on copying the config from the source to the target ASA via a tftp server. Once copied over I will reboot the target ASA. Anything I need to watch out for? This will be done from a remote location.
Question by:tolinrome
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
  • 2
  • +2
LVL 26

Expert Comment

ID: 39622826
Change the IP address either on the old one if you don't shut it down or in the config after you download but before you upload.
LVL 50

Expert Comment

by:Don Johnston
ID: 39622922
IIRC, If you have any crypto keys defined, I think they're not part of the config.

Author Comment

ID: 39623089
can you please show me step by step on how to do this, to copy from one to the other? Thanks.
Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.


Expert Comment

ID: 39623554
first router
1. copy flash:running-config tftp:host
2. copy flash:vlan-database tftp:host

secound router
1. copy tftp:host/running-config  flash:startup-config
2. copy tftp:host/vlan-databaase flash:vlan-database

reboot secound router, make changes.
and also generate new SSH keys:

crypto key generate rsa mod 2048 general-keys

Expert Comment

ID: 39623557
you might need to do this aswell on the routers:
ip tftp source-interface "wan interface"
LVL 35

Accepted Solution

Ernie Beek earned 500 total points
ID: 39623657
@aamodt: We're talking ASA's here, not routers so the procedure is a bit different.

Should look something like:
ASA#copy running-config tftp
Address or name of remote host []?
Destination filename [pix-confg]? backup_cfg_for_pix
1030 bytes copied in 2.489 secs (395 bytes/sec)

Assuming you have a tftp server set up at:


ASA#copy tftp running-config
Address or name of remote host []?
Source filename []? backup_cfg_for_pix
Destination filename [running-config]?
Accessing tftp://
Loading backup_cfg_for_pix from (via Ethernet0): !
[OK - 1030 bytes]

1030 bytes copied in 9.612 secs (107 bytes/sec)

Make sure the ASA you are restoring to only has a basic config.
Also keep in mind the differences between the two ASA's like the internal and external IP's. If they're not changed you loose connectivity.
LVL 35

Expert Comment

by:Ernie Beek
ID: 39623663
Oh, since you are copying the running config, you can build in some sort of fail safe.
As long as you don't commit the new running config to memory, a reload will restore the current config on the ASA.
Before you upload the copied config, issue the following command on the target ASA:
reload in xx

xx is the number of minutes after which the ASA will reload automatically. So if you mess something up and loose connection, you'll only have to wait those xx minutes before the ASA reloads and restores its original config.

Expert Comment

ID: 39623870
oh, sorry was abit quick @erniebeek . but yeah almost the same. some changes on ASA contra routers.
LVL 35

Expert Comment

by:Ernie Beek
ID: 39623874
@aamodt: No probs, we all want to get this to work, don't we :)

Author Comment

ID: 39624342
well, the 2 asa's dont have baisc config's but they are similar. Thanks.
Also, once I do a wr mem it is saved to the startup config correct?
LVL 35

Expert Comment

by:Ernie Beek
ID: 39624379
Correct,  you could see it like a:
copy running-config startup-config

Featured Post

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Legal Discovery - Export Keywords to PST 2 55
Certifications 8 40
Error after upgrade of 3850s 15 54
SNMP Interface sending messages to UPS log– But Why 3 24
Many of the companies I’ve worked with have embraced cloud solutions due to their desire to “get out of the datacenter business.” The ability to achieve better security and availability, and the speed with which they are able to deploy, is far grea…
When speed and performance are vital to revenue, companies must have complete confidence in their cloud environment.
Internet Business Fax to Email Made Easy - With  eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question