12-01-2022 01:41 PM
Hello all,
I thought there was a way to dump the ACI running config in XML format using the show running-config command but I can't figure it out. I know I can do moquery -o xml but I'm not sure if that's the same thing? I thought there was an argument you could somehow pass to show running-config to get it to output in either JSON or XML format.
Solved! Go to Solution.
12-02-2022 02:25 AM - edited 12-02-2022 02:27 AM
I just found out a couple of days ago about a command which gets you the running config in XML or JSON format:
showconfig xml
showconfig json
Credit goes to @ecsnnsls
EDIT: funny enough, both commands returns the config in xml format (^_^).
Take care,
Sergiu
12-02-2022 02:25 AM - edited 12-02-2022 02:27 AM
I just found out a couple of days ago about a command which gets you the running config in XML or JSON format:
showconfig xml
showconfig json
Credit goes to @ecsnnsls
EDIT: funny enough, both commands returns the config in xml format (^_^).
Take care,
Sergiu
12-05-2022 06:26 AM
@Sergiu.Daniluk worked perfectly, thanks! I save my SSH session logs but I had gotten a new computer since the last time I ran the command so I couldn't find/remember what it was. Thanks again!
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