API Command doesn't work anymore

L2 Linker

API Command doesn't work anymore

Case - 870337

 

As per the Customer Before the upgrade the PAN-OS to version 8.0.X, the following command was working on API:
<show><qos><interface>ethernet1/1</interface><throughput>0</throughput></qos></show>
It doesn't work anymore, The reply content is:

 

<response status="error" code="17">
<msg>
<line>
<![CDATA[ show -> qos -> interface has unexpected text. ]]>
</line>
<line>
<![CDATA[ show -> qos -> interface is invalid ]]>
</line>
</msg>
</response>

When I did on my side

<response status="unauth" code="16">
<msg>
<line>Unauthorized request</line>

</msg>
</response>

 

Can you let me know why it's not working.

L2 Linker

Re: API Command doesn't work anymore

Verify the qos policy is still shown as applied to the ethernet1/1 via the GUI.

L1 Bithead

Re: API Command doesn't work anymore

Please try this command:

<show><qos><interface><entry name='ethernet1/1'><throughput>0</throughput></entry></interface></qos></show>

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!