API Command doesn't work anymore

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

API Command doesn't work anymore

L2 Linker

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.

2 REPLIES 2

L2 Linker

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

L1 Bithead

Please try this command:

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

  • 3359 Views
  • 2 replies
  • 0 Likes
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!