API query from panorama to get IPsec tunnel data

Showing results for 
Show  only  | Search instead for 
Did you mean: 
Please sign in to see details of an important advisory in our Customer Advisories area.

API query from panorama to get IPsec tunnel data

L1 Bithead

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 ]]>


Cyber Elite
Cyber Elite


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. 



Hi @ieng_netops ,


I would agree with @BPry - VPN tunnel status is not available on the Panorama, you need to get this information from the firewall.

not getting response for above api
<response status="error" code="17">
<![CDATA[ show -> vpn not available to xmlapi client ]]>
  • 3 replies
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

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!