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

Scalars 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
1init
2faulty
3disabled
4listening
5preMaster
6master
7passive
8unCalibrated
9slave