Hi Andre, The adjacency counters are for TX. There’s no way currently to get RX stats per MAC.
/neale From: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> on behalf of Andre Courchesne via lists.fd.io <courchea=net-forces....@lists.fd.io> Date: Thursday, 29 September 2022 at 04:00 To: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> Subject: Re: [vpp-dev] Stats (rx/tx bytes) per MAC address Thanks Neale. This seems to provide only total packet/bytes and does not split between RX and TX. Know any way to get the discrete RX and TX counters ? Andre Courchesne - Consultant http://net-forces.blogspot.ca<https://nam12.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.net-forces.com%2F&data=05%7C01%7Cneale%40graphiant.com%7C29b06cd3424248607ec308daa17b1a8d%7C162101cdceb34e62ab2e3abc7aeede47%7C0%7C0%7C637999848565627091%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000%7C%7C%7C&sdata=DXDl5SJ%2FagTleDd8BH4oiPEVlPlYoKRjWpCA%2Boh89MU%3D&reserved=0> https://www.co2.click<https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.co2.click%2F&data=05%7C01%7Cneale%40graphiant.com%7C29b06cd3424248607ec308daa17b1a8d%7C162101cdceb34e62ab2e3abc7aeede47%7C0%7C0%7C637999848565627091%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000%7C%7C%7C&sdata=Gf52RnRC9%2B1QWuBDRo40zg%2BE8LkSu7gYPbLJ3T%2BlMw0%3D&reserved=0> Twitter: @IndianaTux LinkedIn: http://www.linkedin.com/pub/andr%C3%A9-courchesne/0/b0b/688<https://nam12.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.linkedin.com%2Fpub%2Fandr%25C3%25A9-courchesne%2F0%2Fb0b%2F688&data=05%7C01%7Cneale%40graphiant.com%7C29b06cd3424248607ec308daa17b1a8d%7C162101cdceb34e62ab2e3abc7aeede47%7C0%7C0%7C637999848565627091%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000%7C%7C%7C&sdata=Uo%2FW6Q0LKjeB%2Bcs1l57xChwPmbsnSetmjuRPhDvJMVs%3D&reserved=0> L'information contenue dans le présent document est la propriété de Andre Courchesne. Et est divulguée en toute confidentialité. Cette information ne doit pas être utilisée, divulguée à d'autres personnes ou reproduite sans le consentement écrit explicite de Andre Courchesne. The information contained in this document is confidential and property of Andre Courchesne. It shall not be used, disclosed to others or reproduced without the express written consent of Andre Courchesne. On Tue, Sep 27, 2022 at 8:43 PM Neale Ranns <ne...@graphiant.com<mailto:ne...@graphiant.com>> wrote: Hi Andre, For L3 forwarding you can use the per-adjacency counters. This are not enabled by default, because, like all stats, they come with a performance cost. DBGvpp# adjacency counters ? adjacency counters adjacency counters [enable|disable] you’ll then find then in the ‘sh adj’ output and also in the stats segment at ‘/net/adjacency’’. /neeale From: vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io> <vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io>> on behalf of Andre Courchesne via lists.fd.io<https://nam12.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.fd.io%2F&data=05%7C01%7Cneale%40graphiant.com%7C29b06cd3424248607ec308daa17b1a8d%7C162101cdceb34e62ab2e3abc7aeede47%7C0%7C0%7C637999848565627091%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000%7C%7C%7C&sdata=3XJbNpv1nMAGg%2BragRAOHO1ea5EsF5aoNa3PabR34II%3D&reserved=0> <courchea=net-forces....@lists.fd.io<mailto:net-forces....@lists.fd.io>> Date: Wednesday, 28 September 2022 at 05:47 To: vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io> <vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io>> Subject: [vpp-dev] Stats (rx/tx bytes) per MAC address Hi, Is there a way to retrieve the number of bytes per MAC address transferred through VPP ? Thanks. Andre
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#21945): https://lists.fd.io/g/vpp-dev/message/21945 Mute This Topic: https://lists.fd.io/mt/93958112/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/1480452/21656/631435203/xyzzy [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-