API-Call for QOS results in 'interface has unexpected text'

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Please sign in to see details of an important advisory in our Customer Advisories area.

API-Call for QOS results in 'interface has unexpected text'

L1 Bithead

Hi,

 

when I try to use an api call to query the qos statistics of an interface i get this errormessage:

 

<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>
 
I tried these requests:
 
&type=op&cmd=<show><qos><interface>ethernet1%2F3<%2Finterface><%2Fqos><%2Fshow>
 
&type=op&cmd=<show><qos><interface>ethernet1%2F3<%2Finterface><throughput>1<%2Fthroughput><%2Fqos><%2Fshow>
 
Do I have an error in my syntax?
 
 
Thank you in advance,
 
Andreas Bux
1 accepted solution

Accepted Solutions

L1 Bithead

Hi all,

 

I created a support case and got this feedback:

 

Syntax:

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

 

 

Just i case someone has the same problem.

 

Regards,

Andreas

View solution in original post

4 REPLIES 4

L1 Bithead

Hi all,

 

I created a support case and got this feedback:

 

Syntax:

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

 

 

Just i case someone has the same problem.

 

Regards,

Andreas

L7 Applicator

Hi @ABux

 

Do you maybe also know how to run the cli command "show qos interface ethernet1/1 counter"?

 

Regards,

Remo

Hi Remo,

 

no, I do not know the syntax. Sorry.

 

Regards,

Andreas

Thank you!!!

  • 1 accepted solution
  • 5588 Views
  • 4 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!