hw1588ClkPtpPortState
HUAWEI-CLK-MIB ·
.1.3.6.1.4.1.2011.6.25.1.10.1.1
Object
column Enumeration
1588 port status. Options: 1.initializing(1) - indicates that the state of 1588 clock PTP port is initializing 2.faulty(2) - indicates that the state of 1588 clock PTP port is faulty 3.disabled(3) - indicates that the state of 1588 clock PTP port is disabled 4.listening(4) - indicates that the state of 1588 clock PTP port is listening 5.premaster(5) - indicates that the state of 1588 clock PTP port is premaster 6.master(6) - indicates that the state of 1588 clock PTP port is master 7.passive(7) - indicates that the state of 1588 clock PTP port is passive 8.uncalibrated(8) - indicates that the state of 1588 clock PTP port is uncalibrated 9.slave(9) - indicates that the state of 1588 clock PTP port is slave 10.invalid(255) - indicates that the state of 1588 clock PTP port is invalid
Context
- MIB
- HUAWEI-CLK-MIB
- OID
.1.3.6.1.4.1.2011.6.25.1.10.1.1- Type
- column
- Access
- readonly
- Status
- current
- Parent
- hw1588ClkPtpPortManageEntry
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-CLK-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-CLK-MIB::hw1588ClkPtpPortState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-CLK-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-CLK-MIB::hw1588ClkPtpPortState.<ifIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-CLK-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-CLK-MIB::hw1588ClkPtpPortState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | initializing |
2 | faulty |
3 | disabled |
4 | listening |
5 | premaster |
6 | master |
7 | passive |
8 | uncalibrated |
9 | slave |
255 | invalid |