QoS stats via XML

Reply
Not applicable

QoS stats via XML

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

Tags (2)
NGS
L3 Networker

Re: QoS stats via XML

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

Re: QoS stats via XML

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

NGS
L3 Networker

Re: QoS stats via XML

thx... damned platform specific bug :-)

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!