Solved

Changing an ASA 5505 config file

Posted on 2008-10-14
4
958 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
[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
  • 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

Will You Be GDPR Compliant by 5/28/2018?

GDPR? That's a regulation for the European Union. But, if you collect data from customers or employees within the EU, then you need to know about GDPR and make sure your organization is compliant by May 2018. Check out our preparation checklist to make sure you're on track today!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Configure IP on Sonicwall 2 41
Equivalent of WSUS for Solaris, AIX and Cisco devices 11 139
ASA 5506 Port Forward 4 63
Turning Verizon Fios Router into a Bridge? 28 134
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…
Use of TCL script on Cisco devices:  - create file and merge it with running configuration to apply configuration changes
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…
Both in life and business – not all partnerships are created equal. Spend 30 short minutes with us to learn:   • Key questions to ask when considering a partnership to accelerate your business into the cloud • Pitfalls and mistakes other partners…

710 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