?
Solved

How do I extract and backup my Cisco ASA 5510 configuration information  to a text file?

Posted on 2010-11-10
5
Medium Priority
?
840 Views
Last Modified: 2012-06-21
I only have access to my firewall via a telnet session so i need the commands to backup the configuration file. I am already running a TFTP server on my machine.
0
Comment
Question by:wademi
[X]
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
  • 3
5 Comments
 
LVL 18

Expert Comment

by:jmeggers
ID: 34101703
"copy run disk0:<filename>" will back it up locally on the ASA.  
"copy disk0:<filename> tftp will copy that file to a TFTP server to store off-box
"copy run tftp" and follow the prompts to store it off-box without storing it locally  
0
 
LVL 14

Accepted Solution

by:
Otto_N earned 2000 total points
ID: 34101751
I copied the following right out of "Cisco Security Appliance Command Line Configuration Guide":

"To copy from a TFTP server, enter the following command:
hostname# copy tftp://server[/path]/filename {flash:/ | disk0:/ | disk1:/}[path/]filename

"The flash:/ keyword represents the internal Flash memory on the PIX 500 series security appliance.  You can enter flash:/ or disk0:/ for the internal Flash memory on the ASA 5500 series adaptive security appliance. The disk1:/ keyword represents the external Flash memory on the ASA."

To copy to the TFTP server, just reverse the two arguments of the copy command.  Hope it helps...
0
 
LVL 14

Expert Comment

by:Otto_N
ID: 34101859
Sorry, jmeggers, it seems we've answered the same question at the same time.

wademi
Please ignore my comment, as it state the same as jmeggers' comment, and is actually applicable to file transfer (such as software backup and upgrade, visible in the flash: and disk0/1: file systems), rather that configs (not visible in flash: and disk:, but reachable through "running-config" and "startup-config" handles).
0
 

Author Comment

by:wademi
ID: 34103262
Hi guys. Just to be clear i am copying to a location on the TFTP server.
Whats the exact command to specify the IP address of the TFTP server and file  path where I want the backup config to be copied to.
0
 
LVL 14

Expert Comment

by:Otto_N
ID: 34110475
I was always under the impression that TFTP does not have the folder-handling capabilities that FTP has.  But I do notice that the info I pasted in my previous comment have an optional "/path" variable.  I assume that TFTP cannot browse folders (like with FTP), but that you can specify the path.

Therefore "copy run tftp://tftp.acme.com/folder/subfolder/my-router-config" should copy the running config to a my-router-config file located in the folder/subfolder-directory in the receive folder of the TFTP server running on the tftp.acme.com server.  This can also be replaced with an IP address, i.e. tftp://192.168.0.1/folder/subfolder/my-router-config.

Just one thing, the folders have to exist, as TFTP will not create them.
0

Featured Post

Simple, centralized multimedia control

Watch and learn to see how ATEN provided an easy and effective way for three jointly-owned pubs to control the 60 televisions located across their three venues utilizing the ATEN Control System, Modular Matrix Switch and HDBaseT extenders.

Question has a verified solution.

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

I had an issue with InstallShield not being able to use Computer Browser service on Windows Server 2012. Here is the solution I found.
WARNING:   If you follow the instructions here, you will wipe out your VTP and VLAN configurations.  Make sure you have backed up your switch!!! I recently had some issues with a few low-end Cisco routers (RV325) and I opened a case with Cisco TA…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Suggested Courses
Course of the Month13 days, 18 hours left to enroll

800 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