-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Enhancement: SNMP dot3 stats (RFC3635 / RFC1284) #22359
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
Enhancement: SNMP dot3 stats (RFC3635 / RFC1284) #22359
Comments
Net-snmp already supports Dot3StatsTable(1.3.6.1.2.1.10.7.2). Why do we need this?. |
snmpwalk -v2c -c public 1.3.6.1.2.1.10.7.2EtherLike-MIB::dot3StatsIndex.1000 = INTEGER: 1000 |
@suresh-rupanagudi For the same reason SONiC implements rfc1213.py and rfc2863.py which are also implemented already by net-snmp, because net-snmp only has access to the management port(s), not the front panel ports. |
@bradh352 I could see net-snmp has code for front panel ports also. But its failing because of driver does not support stats. |
@suresh-rupanagudi like I said, this is the same situation as rfc1213.py and rfc2863.py. net-snmp has native code to support this, but the front panel stats aren't available to net-snmp. So we have to grab them via SAI. |
Ok, I will take a look at sonic-snmpagent part of code. |
Is it platform specific
generic
Importance or Severity
Medium
Description of the enhancement
SNMP is not currently advertising dot3 statistics originally defined in https://www.rfc-editor.org/rfc/rfc1284.html#page-9 sometimes referred to as "Ethernet-like statistics".
Current Behavior
statistics are not output via snmpwalk
Proposed Behavior
per-port statistics should be output per-port
Implementation
The text was updated successfully, but these errors were encountered: