gptp0PortState
MERIDIAN2-MIB ·
.1.3.6.1.4.1.13827.14.5.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
- MERIDIAN2-MIB
- OID
.1.3.6.1.4.1.13827.14.5.12- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- gptp0
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 'MERIDIAN2-MIB' -M '/opt/observium/mibs/endrun:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MERIDIAN2-MIB::gptp0PortState.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MERIDIAN2-MIB' -M '/opt/observium/mibs/endrun:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MERIDIAN2-MIB::gptp0PortState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | init |
2 | faulty |
3 | disabled |
4 | listening |
5 | preMaster |
6 | master |
7 | passive |
8 | unCalibrated |
9 | slave |