Cisco ASA 5505 Config -> Text File

32

Solution 1

  • TFTP it off, if you can get IP connectivity to it
  • Configure PuTTY to allow more scrollback in the Window options: putty
  • ASDM also has an option to give you a copy of the config, with IP connectivity
  • Define "smushed" - perhaps it's giving you output with LF line endings? Try opening it in a better text editor than notepad.

Solution 2

The only way to get the full configuration off the ASA is either use more system:running-config (as opposed to show running-configuration) or to gain IP connectivity to it and copy the configuration to a tftp server. with copy running-config tftp://my.tftp.server/config.txt. Any other method will ommit 'sensitive' configuration information, such as pre-shared keys.

To make a local backup of the running configuration you can simply do copy running-config flash:/config.backup

Then you can do a write erase to clear the current startup config and reload the ASA to start configuring again from scratch.

Solution 3

Log into your ASA 5505. Type show run to display the running configuration.

Click the top/left screen icon (in Putty) and select COPY ALL TO CLIPBOARD Open a text editor and paste the output.

The cleaner method is to use tftp, as it will preserve passwords. For basic backup, the above is okay.

If you're planning to use this firewall long-term, I'd recommend acquiring current copies of the ASA software and ASDM (graphical interface). There have been some major changes to the ASA software, and it makes sense to work with the newer versions.

Share:
32

Related videos on Youtube

Sanju B Myh
Author by

Sanju B Myh

Updated on September 18, 2022

Comments

  • Sanju B Myh
    Sanju B Myh over 1 year

    How can I pass a Array values to check box I have an Array say loan["1","2","3"] and in my view

     <%= check_box_tag "loan[]" ,c.id , true %> 
    

    For the first time i select the ids and Ill save. But at the second time only selected ids(which i have selected for the first time) should be displayed and rest should be unchecked. Thanks in advance

    • Robin Gill
      Robin Gill about 12 years
      Problem solved but thought I would add this anyway, "everything is all smushed together" - try changing Session, Logging, Session Logging to "Printable Output" rather than "All Session Output"
  • ravi yarlagadda
    ravi yarlagadda over 12 years
    more system:running-config will give you the passwords and keys that are redacted with a * in show running-config.
  • B_Billy
    B_Billy over 12 years
    Thank you both!!! I wound up doing a combo of both of your suggestions; I had to change the scrollback to 5000 to get it all!
  • Jason Berg
    Jason Berg over 12 years
    Your first statement is wrong. more system:running-config will show the config in all of its unsanitized glory.
  • Sanju B Myh
    Sanju B Myh almost 9 years
    I have an model Subject, after selecting an id from subject , i have did like this <% @subjects.each do |c| %> <%= check_box_tag "loan[]" ,c.id, @subject.loan.any? { |sub| sub.loan_id == loan.id } %>