cptp0PortState
SONOMA-MIB ·
.1.3.6.1.4.1.13827.11.4.12
Object
scalar Enumeration
This value maps to the PTP Port State, one of Initializing, Faulty, Disabled, Listening, PreMaster, Master, Passive, Uncalibrated or Slave.
Context
- MIB
- SONOMA-MIB
- OID
.1.3.6.1.4.1.13827.11.4.12- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- cptp0
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 'SONOMA-MIB' -M '/opt/observium/mibs/endrun:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SONOMA-MIB::cptp0PortState.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SONOMA-MIB' -M '/opt/observium/mibs/endrun:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SONOMA-MIB::cptp0PortState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | init |
2 | faulty |
3 | disabled |
4 | listening |
5 | preMaster |
6 | master |
7 | passive |
8 | unCalibrated |
9 | slave |