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
Solved

Changing an ASA 5505 config file

Posted on 2008-10-14
4
947 Views
Last Modified: 2012-08-13
I'm connected to an ASA 5505 via the console cable and I know what changes need to be made to the config file but I'm not well-versed in this and am nervous about making the changes.  I need help/advice with two issues:

1) I have to add a few lines to the config file to open a port.  I know what lines I have to add (thanks to other users here) but I have no idea how to get them into the config file.

2) I DO NOT want the changes I make to overwrite the existing config file and I'm worried that when I add something it will create a new file in place of the old one.  How do I add the lines while ensuring that the existing config file remains intact?

Can anyone offer assistance with these two issues?

Thanks,

James  
0
Comment
Question by:james_axton
  • 2
4 Comments
 
LVL 33

Accepted Solution

by:
MikeKane earned 200 total points
ID: 22715961
If you know the commands to add....  then connect to the console port with the console cable.  Use Hyperterminal if you are using windows and open up the COM port you are using to connect to the console.  

You will need to signin to the console using an ID and password with sufficient privilege.  

You will see a
ASA>
prompt.  

Type
ASA>enable
and then enter password.   You will now see a
ASA#
Prompt.

Now enter
ASA# config terminal
the prompt changes to
ASA(config)#

Here is where you enter your config lines.   You can copy and paste them out of notepad, or enter them in one by one.  

type ASA(config)# exit  

Now the config is in running memory.  If you reboo the pix, it will revert back to the old code.  
To save the code, the command is:
ASA# write mem


You can keep backup copies of the code by using a TFTP server and the WRITE NET command to send the code to the TFTP server for storage....    HEre's the cisco site on that...
http://www.cisco.com/en/US/products/hw/vpndevc/ps2030/products_tech_note09186a008072142a.shtml


0
 
LVL 4

Assisted Solution

by:yurisk
yurisk earned 50 total points
ID: 22716683
This would help if you gave commands to enter (sanitazing distinguishable information in it)
BTW , after you are connected - and entered enable mode issuing show run will give on the terminal all the configuration of the ASA you copy paste to Notepad
In any case follow MikeKane's walkthrough and it'll  be fine.
0
 

Author Comment

by:james_axton
ID: 22936359
Both of you, thanks for your replies.  I'm still here, I just haven't had a chance to test these in the field.  I'll be closing this out shortly.  Thanks for your patience.

James
0
 

Author Comment

by:james_axton
ID: 23159962
I let this sit for too long to warrant any follow-up.  I want to thank both of you for the information and if anything else arises I'll post a new question.  Again, thanks to both of you!
James
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How VPC help preventing STP Loops 4 128
unable to set full duplex 100 on WAN interface 11 60
What Cisco IOS has CBAC support? 4 20
Cisco Prime 2.2 7 33
If you have an ASA5510 then this sort of thing would be better handled with a CSC Module, however on an ASA5505 thats not an option, and if you want to throw in a quick solution to stop your staff going to facebook during work time, then this is the…
From Cisco ASA version 8.3, the Network Address Translation (NAT) configuration has been completely redesigned and it may be helpful to have the syntax configuration for both at a glance. You may as well want to read official Cisco published AS…
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …
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…

809 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