Skip to content

dot3 Stats collection #3615

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

bhouse-nexthop
Copy link

@bhouse-nexthop bhouse-nexthop commented Apr 17, 2025

What I did

Implement RFC3635 dot3 statistics collection.

Used by sonic-net/sonic-snmpagent#350
Fixes sonic-net/sonic-buildimage#22359

Why I did it

RFC1284 defines dot3 stats that most switch vendors support. This RFC was superseded by RFC3635 which includes 64bit "HC" counters. We need to collect these statistics for use by sonic_snmpagent.

How I verified it

Tested on Mellanox SN2201 physical hardware, where dot3 stats are implemented by the SAI.

Details if related

The Broadcom SAI does not currently implement these statistics. A case has been raised with Broadcom to implement these stats.

RFC1284 defines dot3 stats that most switch vendors support.  This
RFC was superceded by RFC3635 which includes 64bit "HC" counters.
We need to collect these statistics for use by sonic_snmpagent.

Signed-off-by: Brad House <[email protected]>
@bhouse-nexthop bhouse-nexthop requested a review from prsunny as a code owner April 17, 2025 12:35
@mssonicbld
Copy link
Collaborator

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Collaborator

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enhancement: SNMP dot3 stats (RFC3635 / RFC1284)
3 participants