cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2570
Views
5
Helpful
4
Replies

Export NAT Rules from FMC (Manual or API)

mrlorincz
Level 1
Level 1

Does anyone know of a way to export the NAT policies from FMC? Preferably with API but even a manual report would suffice. I've found some handy scripts on exporting ACP policies, but nothing on NAT.

Thanks!

Mike

4 Replies 4

Thanks, this is helpful and I'm able to run some gets in postman, but i need to run a separate get for each object_uuid (rule) in the nat policy list, a bit tedious for my applications.

Anyone know of a script that gets the natrules and parses the various object_uuids, maybe into a csv or something? If I had any scripting skills of my own I'd take a crack but alas I'm not very knowledgeable there.

Has anyone come up with a reasonable work around on how to export all NAT Policies from FMC?

@jjevans 

Nothing natively built in that I can find. For ACP rules, I ultimately I ended up getting familiar enough with python to be able to run this script, it worked great

https://github.com/raghukul-cisco/csvExportFirepower

For NAT rules, it's possible to use API, but I didn't find a pre-canned script. I utlimately just did a 'show nat' from the cli and manually pasted into excel file. 

I might toy with creating NAT to CSV feature using the fireREST suite. https://github.com/kaisero/fireREST 

I wouldn't be surprised if someone already created one, just need to scour the cisco dev exchange for it

Review Cisco Networking for a $25 gift card