API query from panorama to get IPsec tunnel data
tried the following queries:
but not getting proper response:
<response status="error" code="17">
<![CDATA[ show -> running is unexpected ]]>
While I'm not around a Panorama instance at the moment to verify, have you used the XML-API browser to verify that you actually have the format setup properly? I don't believe that what you are trying to do falls under show running at all. The reason your first command is failing is because the command isn't available.
If you're just looking for flow information the following is the only thing you need, toss your &key=<key> on the end to authenticate and you should get what you're looking for do you not? That would work on a firewall, but I'm not 100% positive without verifying on a Panorama instance.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!