hwPtpGrandMasterClockTimeSource
HUAWEI-CLK-MIB ·
.1.3.6.1.4.1.2011.6.25.1.3.32
Object
scalar Enumeration
Indicates the source of time used by the grandmaster clock.
Context
- MIB
- HUAWEI-CLK-MIB
- OID
.1.3.6.1.4.1.2011.6.25.1.3.32- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- hwSystemClockManagePara
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 'HUAWEI-CLK-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-CLK-MIB::hwPtpGrandMasterClockTimeSource.0'
More examples
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::hwPtpGrandMasterClockTimeSource'
Syntax
Enumeration
Values & Constraints
Enumerated Values
16 | atomicclock |
32 | gps |
48 | terrestrialradio |
64 | ptp |
80 | ntp |
96 | handset |
144 | other |
160 | internaloscillator |