zxr10PTPShowPortState
ZXR10-PTP-MIB ·
.1.3.6.1.4.1.3902.3.101.10.4.1.12
Object
column Enumeration
The port state.
Context
- MIB
- ZXR10-PTP-MIB
- OID
.1.3.6.1.4.1.3902.3.101.10.4.1.12- Type
- column
- Access
- readonly
- Status
- current
- Parent
- zxr10ptpIntfConfEntry
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 'ZXR10-PTP-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZXR10-PTP-MIB::zxr10PTPShowPortState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZXR10-PTP-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZXR10-PTP-MIB::zxr10PTPShowPortState.<zxr10PTPPortConfigName>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZXR10-PTP-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZXR10-PTP-MIB::zxr10PTPShowPortState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | initializing |
2 | faulty |
3 | disable |
4 | listening |
5 | premaster |
6 | master |
7 | passive |
8 | uncalibrated |
9 | slave |
10 | masterslave |
254 | invalid |