09-15-2022 10:49 AM
I have Cisco ASA Firewall configuration. We typically save the configuration in text format. Is there an easy way to parse the configuration to extract all Object Network information & output in CSV format? The CSV format I'd like is:
NAME, DESCRIPTION, TYPE, IP, NETMASK
TEST, TEST HOST, HOST, 1.2.3.4, 255.255.255.255
Do I need to write my own parsing program to do that? We also have Cisco Firewall Management Center. Can I accomplish it using FMC?
Solved! Go to Solution.
09-15-2022 12:52 PM
Hi Xinhuan,
You can simply use a command "show running-config object in-line" this will provide the output you need. Hope this help
09-15-2022 12:34 PM
Hi,
If you're currently using ASDM, you can download all of them with a right click to CSV, if you need an automation, you might want to download the API bundle and install it. Please, keep me posted which one do you need.
Also, I've created this code a long time ago that will connect to the FMC RestAPI and download the ACP to a csv file: https://github.com/AngelIV23/cisco-fmc-excel-from-json
try it out and let me know
09-15-2022 12:40 PM
I just saw my code and I think is a little frustrating to see so many errors, let me update it
09-15-2022 12:52 PM
Hi Xinhuan,
You can simply use a command "show running-config object in-line" this will provide the output you need. Hope this help
09-15-2022 01:09 PM
That's what I need. Thank you!
09-15-2022 01:37 PM
I'm glad that helped.
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