optixPktPtpClockRealState
OPTIX-PKT-PTPCLOCK-MIB ·
.1.3.6.1.4.1.2011.2.25.4.50.13.1.22.1.29
Object
column Enumeration
this parameter describes the real state of PTP port. 1 initializing, 2 faulty, 3 disabled, 4 listening, 4 preMaster, 6 master, 7 passive, 8 uncalibrated, 9 slave, 255 snmp
Context
- MIB
- OPTIX-PKT-PTPCLOCK-MIB
- OID
.1.3.6.1.4.1.2011.2.25.4.50.13.1.22.1.29- Type
- column
- Access
- readonly
- 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::optixPktPtpClockRealState'
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::optixPktPtpClockRealState.<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::optixPktPtpClockRealState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | initializing |
2 | faulty |
3 | disabled |
4 | listening |
5 | preMaster |
6 | master |
7 | passive |
8 | uncalibrated |
9 | slave |
255 | snmp |