hwPtpBitsClockAccuracy
HUAWEI-CLK-MIB ·
.1.3.6.1.4.1.2011.6.25.1.9.1.4
Object
column r/w
Integer32
The clockAccuracy characterizes a clock for the purpose of the best master clock (BMC) algorithm. The value of
this attribute shall be estimated by the clock to a precision consistent with the value of the selected enumeration.
BC:
Range: 0x0-0xFF
01 0x20 - indicates that the time is accurate to within 25 ns
02 0x21 - indicates that the time is accurate to within 100 ns
03 0x22 - indicates that the time is accurate to within 250 ns
04 0x23 - indicates that the time is accurate to within 1 us
05 0x24 - indicates that the time is accurate to within 2.5 us
06 0x25 - indicates that the time is accurate to within 10 us
07 0x26 - indicates that the time is accurate to within 25 us
08 0x27 - indicates that the time is accurate to within 100 us
09 0x28 - indicates that the time is accurate to within 250 us
10 0x29 - indicates that the time is accurate to within 1 ms
11 0x2A - indicates that the time is accurate to within 2.5 ms
12 0x2B - indicates that the time is accurate to within 10 ms
13 0x2C - indicates that the time is accurate to within 25 ms
14 0x2D - indicates that the time is accurate to within 100 ms
15 0x2E - indicates that the time is accurate to within 250 ms
16 0x2F - indicates that the time is accurate to within 1 s
17 0x30 - indicates that the time is accurate to within 10 s
18 0x31 - indicates that the time is accurate to >10 s
19 0x80-0xFD - indicates that for use by alternate PTP profiles
Default: 0x20
T-BC:
Options:
01 0xFE - indicates that the time accuracy is unknown
02 0x21 - indicates that the time is accurate to within 100 ns
Default: 0xFE
Context
- MIB
- HUAWEI-CLK-MIB
- OID
.1.3.6.1.4.1.2011.6.25.1.9.1.4- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwBitsPortManageEntry
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 'HUAWEI-CLK-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-CLK-MIB::hwPtpBitsClockAccuracy'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-CLK-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-CLK-MIB::hwPtpBitsClockAccuracy.<ifIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-CLK-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-CLK-MIB::hwPtpBitsClockAccuracy'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-255