prtPerfSaveAndResetCmd
RAD-GEN-MIB ·
.1.3.6.1.4.1.164.6.2.15.3.1.1.10
Object
column r/w
Enumeration
A command per port/interface, to Save data of Current Period in Last Period data-set and start a new counting period for Current Period. This object is applicable only for prtPerfPeriodRef=currentPeriod. Setting this object to on(3) for prtPerfPeriodRef=last, will cause the agent to return: Bad Value response. When setting validly this object to on(3), agent will perform the required command and will reset automatically the value of this object to off(2). Setting this object to off(2), will do nothing.
Context
- MIB
- RAD-GEN-MIB
- OID
.1.3.6.1.4.1.164.6.2.15.3.1.1.10- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- prtPerfEntry
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::prtPerfSaveAndResetCmd'
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::prtPerfSaveAndResetCmd.<prtPerfIdx>.<prtPerfPeriodRef>'
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::prtPerfSaveAndResetCmd'
Syntax
Enumeration
Values & Constraints
Enumerated Values
2 | off |
3 | on |