hh3cPTPPortState

HH3C-PTP-MIB · .1.3.6.1.4.1.25506.2.235.1.1.3

Object

scalar Enumeration
PTP port state.

Context

MIB
HH3C-PTP-MIB
OID
.1.3.6.1.4.1.25506.2.235.1.1.3
Type
scalar
Access
notifyonly
Status
current
Parent
hh3cPTPNotificationObjects

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HH3C-PTP-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HH3C-PTP-MIB::hh3cPTPPortState.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HH3C-PTP-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HH3C-PTP-MIB::hh3cPTPPortState'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1initializing
2faulty
3disabled
4listening
5premaster
6master
7passive
8uncalibrated
9slave