01-20-2016 11:27 AM - edited 03-08-2019 03:28 AM
Hello,
I have tried to use the ASDM to backup a config which includes vpn tunnels and other objects, I selected all the tick options full the backup through the asdm and I assumed all was ok but then when I went to restore it to a new factory asa I noticed all the site to site vpn details were missing.
Any reason why they would happen?
If I use putty to do a Wr t and copy the config which has all the keys showing as encrypted can I pasted this into the new one or do I need to enter the correct details before pasting. Basically is the password shown as encrypted but I can past in ok.
Thanks,
Simon
Solved! Go to Solution.
01-25-2016 09:44 AM
Simon
I do not have much experience with ASA rommon, so this will be a bit of a learning experience for both of us. You say that you have loaded the old code on the ASA and changed the boot system statement. If it does not boot then either there is some issue with the code that you loaded or perhaps some issue with the boot system command. I have two alternatives for how we might proceed.
1) we can work from rommon and try to boot an image file that is currently on the disk.
2) we can use a procedure that I found at this link to load a new image file to the ASA and to boot that image file.
http://www.cisco.com/public/technotes/smbsa/en/us/remote/5500_image_rcvry.pdf
My suggestion is to try 1) and if that does not work then try 2). But if you prefer to just use 2) that is your choice.
If we want to start with 1) we need to see what commands are available in rommon on this ASA. So start with the question mark to show the available commands and post the result.
In doing some research it does look like there is a confreg available in rommon for the ASA, so my earlier comment about no confreg appears to be in error.
HTH
Rick
01-20-2016 11:00 PM
I'm guessing you needed a newer ASDM. And make sure the unit you are doing a restore on is running the same software (ASA and ASDM).
To take the config off an existing ASA, including the keys you can't do a "wr t". You need to do a:
term pag 0
more system:running-config
01-21-2016 07:13 AM
It is an interesting point about the possibility that version differences might explain why the vpn tunnel details were missing. I wonder if it was some detail or all details? And I wonder if there were differences in model between the ASA on which the backup was done and the new factory ASA that might account for some things that might have been backed up but not restored.
HTH
Rick
01-21-2016 09:21 AM
01-21-2016 09:37 AM
There are always potential issues when updating software on ASA (or any other type of network device). There may be new features but that is not likely to make much impact since your older config would just not use those features. But what you do need to worry about is the possibility that the syntax for some functions may have changed. You also need to be aware that some features may have been dropped from the new version. I recently did a code upgrade on an ASA and discovered that the older version of code supported NT authentication as a way to authenticate with Windows credentials. But the new version of ASA code had dropped support for that feature. So we had a bit of a scramble when we did that code upgrade.
And those are just considerations about different code levels when applied to the same platform. If you take a config from one ASA and then restore that config to an ASA that is a different model then there is the possibility that some things may not work based on differences between models. For example SourceFire/FireSight is a hardware module in some models but is a software module in others. Or there might be differences in interfaces or other hardware attributes that might affect the restored config.
Most software updates go smoothly. But you do need to be careful because sometimes they do not.
HTH
Rick
01-21-2016 09:55 AM
Thanks Rick,
That's a really helpful reply!
Can the software be rolled back at all?
Thanks !
01-21-2016 10:40 AM
Yes the software can be rolled back. Assuming that you have both the new version of code and the old version of code on the disk then you just change the boot system statement to point to the old version of code and reboot. Sometimes in rolling back you might need to restore part of the config. If the new version of code made changes in the config (changed syntax, or deprecated features, etc) you might need to back that out by restoring older config.
HTH
Rick
01-21-2016 11:54 AM
Thanks Rick,
Appreciate your help!
01-25-2016 10:25 AM
Normally when you do an upgrade or downgrade the ASDM does not remove the current software.
So chances are you'll be able to do a "dir disk0:" from rommon and see the existing ASA image. So you may just be able to "boot disk0:/ asa942-k8.bin".
Once the ASA is up and running it is much easier to change things.
01-25-2016 10:30 AM
Thanks for that Phillip!
I had to delete a file from the flash to create room as the device gave an error of having no room.
The first thing I done out of the box was upgrade to the latest version but then realised I needed the older one. The file I deleted was the older bin file though.
I will do a disk dir and check.
Many thanks,
Simon
01-25-2016 08:15 AM
Hi Rick,
I have made a bit of a mess of downgrading the ASA to an older version.
My device is now stuck on Loading disk0:/ asa841-k8.bin..... I followed this https://supportforums.cisco.com/document/98421/how-upgrade-or-downgrade-ios-isr-or-similar-router
and reloaded and its' now stuck, Could you help me load the flash file so it boots ok? I have copied the older version via FTP to the Cisco device and changed the boot entry but now it won't boot. Can it be sorted via - confreg?
Many thanks,
Simon
01-25-2016 08:48 AM
Simon
I have not yet looked at the link that you reference but I do notice that the link is explaining about IOS routers and not about ASA. In general the approach to upgrade/downgrade would be similar but there are differences which could be part of your issue. The routers do have confreg but the ASA does not. So that is not an alternative for solving your current issue.
Can you provide us some details about what is going on? What model of ASA is it that you are attempting to downgrade? What version of code was it originally running and what version of code are you downgrading to? Was that ASA running successfully and stable before the downgrade? Or is this the new factory ASA? Do you have a good copy of the config? How did you make that copy? (ASDM, copy running-config, more system:running-config) Was the config that you have taken from this ASA or was it taken from a different ASA?
HTH
Rick
01-25-2016 09:00 AM
Hi Rick,
Whoops that looks like the issue possibly. This is the factory asa that was running 9.1 but I need to downgrade to 8.4. The ASA is a 5505, at the moment the ASA will not boot and sticks on the below.
I am not worried about the config as this is the new ASA that I am trying to get the working config from another ASA to the new one but I wanted to get the versions the same as the one I was trying to get the backup from.
All I need to do is get a working bootable image on the device, can I do this from ROMMON?
Many thanks!
01-25-2016 09:44 AM
Simon
I do not have much experience with ASA rommon, so this will be a bit of a learning experience for both of us. You say that you have loaded the old code on the ASA and changed the boot system statement. If it does not boot then either there is some issue with the code that you loaded or perhaps some issue with the boot system command. I have two alternatives for how we might proceed.
1) we can work from rommon and try to boot an image file that is currently on the disk.
2) we can use a procedure that I found at this link to load a new image file to the ASA and to boot that image file.
http://www.cisco.com/public/technotes/smbsa/en/us/remote/5500_image_rcvry.pdf
My suggestion is to try 1) and if that does not work then try 2). But if you prefer to just use 2) that is your choice.
If we want to start with 1) we need to see what commands are available in rommon on this ASA. So start with the question mark to show the available commands and post the result.
In doing some research it does look like there is a confreg available in rommon for the ASA, so my earlier comment about no confreg appears to be in error.
HTH
Rick
01-25-2016 09:59 AM
Hi Rick,
Before I tried to downgrade the software on the device I factory reloaded it so there was no config on the device apart from the base factory config.
I will take a look at those options this evening and I will come back to you.
Many thanks for the help!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide