Applying an Updated Configuration to an ASA

I want to change a few addresses in the configuration of my ASA 5510.  I want to edit a copy of the current configuration and then paste the updated configuration at the prompt in config mode.  Is it as simple as that (after saving the new config and restarting the ASA)?  I am pasting right back into the same ASA with only a few address changes in the ACL (I'm not comfortable editing the ACL list from the command prompt).  Do I need to consider any checksums, cypto, secret passwords, banner text, etc?  Do I need to reset anything?  

In short, if I simply paste the updated config (provided I use the appropraite IP address), will I mess anything up?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Pete LongTechnical ConsultantCommented:
if you are simply changing an ACL just copy the ACL and issue the same command prefixed by no, like so

no access-list outbound extended permit ip

then execure it again with the new IP

no access-list outbound extended permit ip

save the changes with a

write mem

tmaususerAuthor Commented:
Cool, thanks!  I was afraid that you had to re-enter the entire ACL, or it would get out of order.  I guess this is not true?
tmaususerAuthor Commented:
can I just do the same for this situation?  IP address?

interface Ethernet0/0
 nameif outside
 security-level 0
 ip address
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

tmaususerAuthor Commented:
Just to be on the safe side, this is an example of one of the access list lines.  I believe it is a numbered list.  Does what you initially said about the ACL still apply in this case?
access-list 101 extended permit tcp any host eq smtp
Pete LongTechnical ConsultantCommented:
Yes - if your changing the public IP you MAY also need to change the outside route statement as well :)
tmaususerAuthor Commented:
Will I be able to use the 'no' with lines like the following, or do they require extra commands?

static (inside,outside) tcp https https netmask
route outside 1

Will I be better off editing a copy of the config and then pasting it back in?
tmaususerAuthor Commented:
Sorry, I was wrong about scope of the changes.
tmaususerAuthor Commented:
So, with all that said, could I just simply pasted the updated config into the config mode prompt?
Feroz AhmedSenior Network Security  / Senior System EngineerCommented:

It is always better to take backup of current configuration before doing any changes in the ASA .One can take backup of the current configuration with the help of TFTP (Trivial File Transfer Protocol) first install TFTP and by typing the command as below :

ASA#config -t
ASA#copy runnining_config to TFTP
once the backup is taken then one can edit or modify configuration and can reload the modified configuration to ASA as below :

ASA#copy TFTP to startup configuration

The modified changes will take place on ASA and then one can modify ASA configuration as required.If the modified changes does not reflect on ASA then one can Roll back changes from the previous Backup .
Pete LongTechnical ConsultantCommented:
Hi Agreed ^^

though its quicker to back the ASA up to itself

copy running-configuration disk0:/backup-config

Open in new window

then make your changes - if it breaks simply
copy disk0:/backup-config running-config
write mem

Open in new window

to answer your question yes you can prefix those commands with a 'no'


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
tmaususerAuthor Commented:
Yes, I always backup my config first.
tmaususerAuthor Commented:
Pete Long,
Thank you for your helpful suggestions.  I am considering them.  I'm always a little nervous about affecting the network as a whole.
tmaususerAuthor Commented:
Oh Pete Long, thank you for telling me about backing up to the server itself.  That seems much more reliable.  I did not know about that.
Pete LongTechnical ConsultantCommented:
No problem - obviously a backup to TFTP server is always better, but for a quick change a flash backup has saved my ass many times.
tmaususerAuthor Commented:
Back tracking a little - I guess after I make my changes, a reboot is required, so I would need to write the changes startup-config?  the reboot would be required?
Pete LongTechnical ConsultantCommented:
Save the config with a "write memory" command

Then theres no need to reboot - the changes will be in the startup and running configs :)
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.