Hey, Ultimate aim is to classify drop counters and its reason. I need a VAPI handler to fetch all these details but I couldn't find any such VAPI to get these. Yes "show hard" will get me the interface stats but I need a respective VAPI to handle using APK and never use vppctl.
/Akash On Thu, Nov 25, 2021, 18:58 Mohsin Kazmi (sykazmi) <syka...@cisco.com> wrote: > > > > > *From: *Akash S R <akashsr.akas...@gmail.com> > *Date: *Thursday, November 25, 2021 at 12:21 PM > *To: *"Mohsin Kazmi (sykazmi)" <syka...@cisco.com> > *Cc: *vpp-dev <vpp-dev@lists.fd.io> > *Subject: *Re: [vpp-dev] Information of drop counters on "show interface" > > > > Hey, > > > > “Show errors” will give you information about drops if interface is down. > I am unable to understand w.r.t. policer. Please provide more context to it. > > Another place to look for detailed counters is in “show > hardware-interfaces” for physical NICs. > > > > -br > > Mohsin > > > > "show errors" will get me only node level info and I cannot get the reason > for drops like we will get the reason like policer miss but not interface > down or anything similar to that. > > > > /Akash > > > > On Wed, Nov 24, 2021, 18:26 Mohsin Kazmi (sykazmi) <syka...@cisco.com> > wrote: > > Hello, > > > > Mostly drop errors are reported in per node counters. You can use CLI > command “show errors” > > > > -br > > Mohsin > > > > *From: *<vpp-dev@lists.fd.io> on behalf of Akash S R < > akashsr.akas...@gmail.com> > *Date: *Wednesday, November 24, 2021 at 12:29 PM > *To: *vpp-dev <vpp-dev@lists.fd.io> > *Subject: *[vpp-dev] Information of drop counters on "show interface" > > > > Hello, > > > > I need to understand if there is any support to classify drop counters > under "show interface" with the reason for drop, like Interface Down or due > to Policer Violate, anything like that. I couldn't find such support and > please help what can be done for the same. > > > > /Akash > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#20541): https://lists.fd.io/g/vpp-dev/message/20541 Mute This Topic: https://lists.fd.io/mt/87279920/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-