5 years ago
FirePower Config Source
The current Cisco IOS config source does not work for firepower. I tried my own hand at writing a config source for the FirePower series of Cisco Firewalls but ran into a snag and could never get ...
I am not an coder by any means so excuse the terrible coding, but I had this template from another script that I tried to re-use here. I've never written a groovy script before so I am not sure really how well this existing template really works to be honest.
You do not need to set term length because firepowers always send everything at once regardless of length. You also need to issue complete commands as it does not accept sh run for example. You would need to do show running-config.
When I assign this to a device the config check goes through but when I download the config its empty. I think it has to do with my output segment but im not entirely sure -- is there a way to get logging or would I have to build that into the script? Thanks for any help you can share.