02-24-2025 02:55 AM
hi,
i have a cisco ASA context-based mode that's currently in production.
it has BGP peering with ISP and ipsec VPN in the 'admin' context.
since there's no more customer context configured, plan is to convert back to single/native ASA mode with BGP and ipsec vpn configured.
my question is, do i convert the ASA to single mode, issue a 'write erase' and reconfigure BGP and ipsec VPN?
or 'write erase', convert to single mode then reconfigure?
02-24-2025 05:57 AM - edited 02-24-2025 06:02 AM
To convert your Cisco ASA from context-based mode back to single mode while preserving/keeping your BGP and IPsec VPN configurations in the "admin context", you should first convert the ASA to single mode using the "mode single" command, which will initiate a reboot. After the reboot, the 'admin' context configuration will become the running configuration of the single mode ASA Here and Here . You should then review the configuration to ensure that your BGP and IPsec VPN settings are intact make any necessary adjustments, and save the configuration using the "write memory" command. It's important not to use the "write erase" command before or after the conversion, as this would erase your existing configuration. Do this work in change windows for some un-excepted things show up. Also have the configuration file either on notepad or download it via tftp.
Edit: I have not configure multi-context firewall ASA for long time. So my Knowldege is not fresh and I dont have hardware to test. This is the information I get from the website I have reference already them at above.
02-24-2025 04:14 PM
hi,
thanks for the info! you've reference the same question i had last year
can't recall if i've done ASA context to single mode conversion before.
but i know the single/native ASA config will be preserved/moved over the 'admin' context when converting single to context mode.
this will be done in a change window, but ASA is just for a backup ipsec VPN so there's really no impact.
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