hwPtpOldPortState
HUAWEI-PTP-MIB ·
.1.3.6.1.4.1.2011.5.25.187.2.1.1.28
Object
column Enumeration
Old port state.
Context
- MIB
- HUAWEI-PTP-MIB
- OID
.1.3.6.1.4.1.2011.5.25.187.2.1.1.28- Type
- column
- Access
- readonly
- Status
- current
- Parent
- hwPtpPortEntry
- Groups
- 1
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 'HUAWEI-PTP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-PTP-MIB::hwPtpOldPortState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-PTP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-PTP-MIB::hwPtpOldPortState.<hwPtpPortIfIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-PTP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-PTP-MIB::hwPtpOldPortState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | master |
2 | slave |
3 | passive |
4 | listening |
5 | faulty |
6 | initializing |
7 | premaster |
8 | disabled |
9 | uncalibrated |
Conformance
Member of