01-19-2022 08:32 AM - edited 01-19-2022 08:36 AM
It's been obvious to me that the FTD upgrade process is a bit fragile and requires extreme care. Cisco's hostage state for VRT/VDB deployments is also a real show-stopper in more ways than one. The good news is, Cisco developed the FTD devices to be resilient and sort of "smart" so that you don't completely destroy them. Also, in most cases, HA works even with disparate FXOS versions. That said, they can still self-destruct in a way that TAC will have trouble working around some issues without recommending a rebuild if you don't perform upgrades exactly as you should ("should" is ambiguous, btw, because I still don't truly know what that entails, procedurally).
This post is to show you a method I've pieced together that worked for me in the following scenario:
I first attempted an upgrade for an HA pair of FTD devices using CDO. It succeeded in upgrading the Secondary device but failed to upgrade the Primary device, and rollback also failed. The OS versions were too different, requiring changes to be deployed before proceeding--but the deployment of those staged changes also failed (Catch-22). This caused issues because of the HA error that the two OS versions were different. So, I performed a manual upgrade of each device separately, while maintaining HA mode. Again, the Secondary was successful, but (example) when an Intrusion Rule and Vulnerability DataBase update was downloaded and saved to the Primary somehow failed to deploy, and placed the firewall into a "brick" state, where I can't perform any further upgrades, deploy, or discard staged changes.
NOTE This post assumes you use the Management interfaces on the FTD firewalls to access them, and you do NOT use the FTD devices (AnyConnect) for VPN access as a means to access the Management interfaces (why I always recommend a separate VPN solution).
Nothing is more frustrating than a firewall, whose state is working, but you cannot make any changes to it. Most experts will suggest there's a positive way to deploy the stuck change (there must be something wrong), and for most problems like this, they are correct. I've run into many of them.
In the 1990's I worked for Adtran. My job was to break things and recreate those issues for design engineers. It was the job made for me and my last name was used in, "If anyone can break it, Brian Murphree can!". So, here I am, back at it, but as a long-time (22-years) customer of Cisco. And the relatively new FTD provided me with quite the cannon fodder. I'm seemingly breaking them at every turn. Log4J was certainly a classic example of "hold my beer."
It's frustrating to the nth degree when you have seriously, no choice but to contact TAC to support an open-source OS that uses a database-driven configuration for firewalls. What was an incredibly reliable Finesse OS that remained rock-solid for well over a decade, now, FTD runs on Linux (or FXOS). It's a bit more complicated now. The configurations are deployable in an Ansible fashion, and OS updates are software upgrades. While these concepts are cool, they're a bit frail and slow.
Having been using FTD FXOS now for over 2 years, I've learned to love it and at times, hate it. But this scenario is where I drew the line and I feel it's time to help.
I want to recover a broken FTD firewall, but I don't want to screw up the Management interface config, now default the admin password. Everything else I either have a backup of or I use the firewall in an HA pair. This procedure is written as if you have an HA pair, and the PRIMARY device is all but bricked. Alter the procedure as you see fit.
NOTE This post assumes you use the Management interfaces on the FTD firewalls to access them, and you do NOT use them for VPN access as a means to access the Management interfaces (why I always recommend a separate VPN solution).
NOTE If the devices are being used in production, you should schedule a maintenance window of at least 2 hours.
Thanks to Todd Lammle for the Transparent mode tip, and to Cisco for providing some of the best documentation in the industry!
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