optixPktPtpClockSrcType
OPTIX-PKT-PTPCLOCK-MIB ·
.1.3.6.1.4.1.2011.2.25.4.50.13.1.22.1.26
Object
column r/w
Enumeration
This parameter describes the type of the source PTP clock. 1 ATOMICCLOCK, 2 GPS, 3 TerrestrialRadio, 4 PTP, 5 NTP, 6 HANDSET, 7 OTHER, 8 Internaloscillator
Context
- MIB
- OPTIX-PKT-PTPCLOCK-MIB
- OID
.1.3.6.1.4.1.2011.2.25.4.50.13.1.22.1.26- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- optixPktPtpClockEntry
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 'OPTIX-PKT-PTPCLOCK-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OPTIX-PKT-PTPCLOCK-MIB::optixPktPtpClockSrcType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'OPTIX-PKT-PTPCLOCK-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OPTIX-PKT-PTPCLOCK-MIB::optixPktPtpClockSrcType.<optixLogBoardId>.<optixLogSubCardId>.<optixPktPtpClockPhyPortId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'OPTIX-PKT-PTPCLOCK-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'OPTIX-PKT-PTPCLOCK-MIB::optixPktPtpClockSrcType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | atomicClock |
2 | gps |
3 | terrestrialRadio |
4 | ptp |
5 | ntp |
6 | handSet |
7 | other |
8 | internalOscillator |