zxAnPtpTwoStepFlag
ZTE-AN-IEEE1588-MIB ·
.1.3.6.1.4.1.3902.1015.66.1.2.1.12
Object
The value of defaultDS.twoStepFlag shall be TRUE if the clock is a two-step clock; otherwise, the value shall be FALSE.
Context
- MIB
- ZTE-AN-IEEE1588-MIB
- OID
.1.3.6.1.4.1.3902.1015.66.1.2.1.12- 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::zxAnPtpTwoStepFlag'
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::zxAnPtpTwoStepFlag.<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::zxAnPtpTwoStepFlag'
Syntax
- Source
- SNMPv2-TCTruthValue
- Base type
Enumeration
Type Description
Represents a boolean value.
Values & Constraints
Type Values
1 | true |
2 | false |