zxAnPtpIfConfState
ZTE-AN-IEEE1588-MIB ·
zte-ng variant
·
.1.3.6.1.4.1.3902.1082.120.15.2.1.7.1.3
Object
column Enumeration
The PTP port state.
Context
- MIB
- ZTE-AN-IEEE1588-MIB
- OID
.1.3.6.1.4.1.3902.1082.120.15.2.1.7.1.3- Type
- column
- Access
- readonly
- Status
- current
- Default
initializing- Parent
- zxAnPtpIfConfEntry
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 'ZTE-AN-IEEE1588-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZTE-AN-IEEE1588-MIB::zxAnPtpIfConfState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZTE-AN-IEEE1588-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZTE-AN-IEEE1588-MIB::zxAnPtpIfConfState.<ifIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZTE-AN-IEEE1588-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZTE-AN-IEEE1588-MIB::zxAnPtpIfConfState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | initializing |
2 | faulty |
3 | disabled |
4 | listening |
5 | preMaster |
6 | master |
7 | passive |
8 | uncalibrated |
9 | slave |