L2 Linker



We have a development what extract the configuration via rest api and analize this. 

In a firewall with vsys and panoroma, i have this problem. 

in PAN-OS 7.0.x extract the policy configuration for all vsys with this call 


in PAN-OS 7.1.x if i utilice the same rest api url, the result is empty. 


<response status="success"><result>No shared policy pushed to device</result></response> 

Via cli, i can extract the config of each vsys whith this command. But this command is no available via rest api. 

show config pushed-shared-policy vsys vsys1 

the call: 



<response status="error" code="17"><msg><line> show -> config -> pushed-shared-policy -> vsys is invalid</line></msg></response> 

How i can extract the pushed-shared-policy for all of each vsys via rest api in 7.1.x ?


Marco Poffal Daza

Tags (1)
L1 Bithead

Re: pushed-shared-policy



Try using the following:




You have to have the "vsys1" surrounded by the <vsys></vsys> tags.

L2 Linker

Re: pushed-shared-policy

Thanks @scottdware

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 Live Community as a whole!

The Live Community thanks you for your participation!