agnPtpClkNetMetricsClearCounters
RAD-Clock-MIB ·
.1.3.6.1.4.1.164.6.2.52.4.1.1.29
Object
column r/w
Enumeration
Setting this object to masterToSlave(2) or slaveToMaster(3), will enforce a clear operation for agnPtpClkNetMetricsCurrentTable (Master to Slave or Slave to Master) Counters. Upon completion, the value will automatically change to off.
Context
- MIB
- RAD-Clock-MIB
- OID
.1.3.6.1.4.1.164.6.2.52.4.1.1.29- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- agnPtpClkEntry
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-Clock-MIB' -M '/opt/observium/mibs/rad:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RAD-Clock-MIB::agnPtpClkNetMetricsClearCounters'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'RAD-Clock-MIB' -M '/opt/observium/mibs/rad:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RAD-Clock-MIB::agnPtpClkNetMetricsClearCounters.<agnPtpClkType>.<agnPtpClkId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'RAD-Clock-MIB' -M '/opt/observium/mibs/rad:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'RAD-Clock-MIB::agnPtpClkNetMetricsClearCounters'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | off |
2 | masterToSlave |
3 | slaveToMaster |
4 | all |