prtParamResetStatsCmd
RAD-GEN-MIB ·
.1.3.6.1.4.1.164.6.2.15.5.1.1.5
Object
column r/w
Enumeration
on (3) - Reset all statistics of the selected port.
lacp (4) - Reset LACP statistics of the selected port.
l2cp (5) - Reset L2CP statistics of the selected port.
elmi (6) - Reset ELMI statistics of the selected port
optPrtMonitor (7) - Reset optical port monitoring minimum
and maximum values, see OptPrtMonitorEntry
interval (8) - Reset current interval counters,
day (9) - Reset current day counters.
efm (10) - Reset oamefm counters.
Context
- MIB
- RAD-GEN-MIB
- OID
.1.3.6.1.4.1.164.6.2.15.5.1.1.5- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- prtParamEntry
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'RAD-GEN-MIB' -M '/opt/observium/mibs/rad:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RAD-GEN-MIB::prtParamResetStatsCmd'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'RAD-GEN-MIB' -M '/opt/observium/mibs/rad:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RAD-GEN-MIB::prtParamResetStatsCmd.<prtParamIdx>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'RAD-GEN-MIB' -M '/opt/observium/mibs/rad:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'RAD-GEN-MIB::prtParamResetStatsCmd'
Syntax
Enumeration
Values & Constraints
Enumerated Values
2 | off |
3 | on |
4 | lacp |
5 | l2cp |
6 | elmi |
7 | optPrtMonitor |
8 | interval |
9 | day |
10 | efm |
11 | lldp |