hwOntObjectPtpGmTimeSource
HUAWEI-CLK-MIB ·
.1.3.6.1.4.1.2011.6.25.2.3.1.17
Object
column Enumeration
Indicates the source of time used by the grandmaster clock. Invalid(-1)
Context
- MIB
- HUAWEI-CLK-MIB
- OID
.1.3.6.1.4.1.2011.6.25.2.3.1.17- Type
- column
- Access
- readonly
- Status
- current
- Parent
- hwOntClkGlobalInfoEntry
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::hwOntObjectPtpGmTimeSource'
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::hwOntObjectPtpGmTimeSource.<ifIndex>.<hwOntClkObjectIndex>'
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::hwOntObjectPtpGmTimeSource'
Syntax
Enumeration
Values & Constraints
Enumerated Values
-1 | invalid |
16 | atomicclock |
32 | gps |
48 | terrestrialradio |
64 | ptp |
80 | ntp |
96 | handset |
144 | other |
160 | internaloscillator |