ripStatisticsReset
ZELAX-MIB ·
.1.3.6.1.4.1.7840.2.1.100.16.3.5
Object
scalar r/w
Enumeration
Write it to reset(1), the following objects in RFC 1724 should be reset: 1. Global Counters: 'rip2GlobalRouteChanges', 'rip2GlobalQueries'. 2. Interface Status Table, for each 'rip2IfStatAddress': 'rip2IfStatRcvBadPackets', 'rip2IfStatRcvBadRoutes', 'rip2IfStatSendUpdates' 3. Peer Table, for each 'rip2PeerAddress' and 'rip2PeerDomain', 'rip2PeerRcvBadPackets', 'rip2PeerRcvBadRoutes' When read it, this value always is noReset(2).
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZELAX-MIB' -M '/opt/observium/mibs/zelax:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZELAX-MIB::ripStatisticsReset.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZELAX-MIB' -M '/opt/observium/mibs/zelax:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZELAX-MIB::ripStatisticsReset'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | reset |
2 | noReset |