How can I get the current bitrate of a logical interface at the time its queried via the API or CLI?
I've tried 'show interface tunnel.x' but that shows be the overall counters for that interface.
I know it can be done as Pan(w)achrome displays that information. When I click on the birate speed in Pan(w)achrome it shows me 'tunnel.x.ibytes.rate', I just don't know where it's getting that from.
Will someone be able to help me.
Pan(w)achrome seems to be polling this <show><counter><interface>all</interface></counter></show>. I tried the above in REST API Browser and it showed me ibytes for the logical interface as well:
Let me know if this is what you are looking for.
Thanks csharma. That still seems to be a count of the overall bytes in not the active/current rate.
When I look at that value it just keeps rising and I doubt I can have an active bitrate of <ibytes>17992771529714</ibytes>.
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!