cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
663
Views
10
Helpful
2
Replies

ACI show running-config in XML format

vv0bbLeS
Level 1
Level 1

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.

0xD2A6762E
1 Accepted Solution

Accepted Solutions

Sergiu.Daniluk
VIP Alumni
VIP Alumni

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

View solution in original post

2 Replies 2

Sergiu.Daniluk
VIP Alumni
VIP Alumni

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

@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!

0xD2A6762E
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Save 25% on Day-2 Operations Add-On License