- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
04-22-2013 04:29 AM
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
05-05-2013 10:28 AM
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">
QoS throughput for interface ethernet1/3, node default-group (Qid 0): class 4: 2 kbps
</result>
</response>
06-15-2013 08:28 AM
thx... damned platform specific bug 🙂
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!