QoS stats via XML

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

QoS stats via XML

Not applicable

Hello,

I was wondering if anyone has had luck retrieving QoS statistics via the XML API?

I am trying to find the equivalent of this CLI command:

andrew@PA-5050> show qos interface ethernet1/13 throughput 0

  Class 1              0 kbps

  Class 2              0 kbps

  Class 3              0 kbps

  Class 4         728158 kbps

  Class 5            502 kbps

  Class 6              0 kbps

  Class 7              0 kbps

  Class 8              0 kbps

via this XML <show><qos><interface>ethernet1/13</interface><throughput>0</throughput></qos></show> but i am receiving this error:

<response status="error">

  <msg>

    <line>An error occured. See dagger.log for information.</line>

  </msg>

</response>

thanks in advance for any clues as to what i am doing wrong.

-andrew

3 REPLIES 3

L3 Networker

HI,

the command that works on my VM-100 5,0,4 is:

https://<HOSTNAME>/api/?key=<KEY>&type=op&cmd=<show><qos><interface>ethernet1/3</interface><throughput>1</throughput></qos></show>

I returns sometghing like this

<response cmd="status" status="success">

<result>

QoS throughput for interface ethernet1/3, node default-group (Qid 0): class 4: 2 kbps

</result>

</response>

Not applicable

Just to update this question:

in the end it is a known problem on PA-5050 devices (not sure if others) and has been corrected in firmware 5.0.6.

-andrew

thx... damned platform specific bug 🙂

  • 3330 Views
  • 3 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!