zxAnPtpClockType
ZTE-AN-IEEE1588-MIB ·
.1.3.6.1.4.1.3902.1015.66.1.2.1.5
Object
column r/w
Enumeration
The value of clock type shall indicate the type of PTP node as defined in table 42 of IEEE1588-2008.
Context
- MIB
- ZTE-AN-IEEE1588-MIB
- OID
.1.3.6.1.4.1.3902.1015.66.1.2.1.5- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- zxAnPtpEntry
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:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZTE-AN-IEEE1588-MIB::zxAnPtpClockType'
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:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZTE-AN-IEEE1588-MIB::zxAnPtpClockType.<zxAnPtpRack>.<zxAnPtpShelf>.<zxAnPtpSlot>.<zxAnPtpId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZTE-AN-IEEE1588-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZTE-AN-IEEE1588-MIB::zxAnPtpClockType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | ordinary |
2 | boundary |