zxAnPtpSlaveOnly
ZTE-AN-IEEE1588-MIB ·
.1.3.6.1.4.1.3902.1015.66.1.2.1.6
Object
The value of defaultDS.slaveOnly shall be TRUE if the clock is a slave-only clock; see 9.2.2. The value shall be FALSE if the clock is a non-slave-only clock; see 9.2.3 of IEEE1588-2008.
Context
- MIB
- ZTE-AN-IEEE1588-MIB
- OID
.1.3.6.1.4.1.3902.1015.66.1.2.1.6- 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::zxAnPtpSlaveOnly'
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::zxAnPtpSlaveOnly.<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::zxAnPtpSlaveOnly'
Syntax
- Source
- SNMPv2-TCTruthValue
- Base type
Enumeration
Type Description
Represents a boolean value.
Values & Constraints
Type Values
1 | true |
2 | false |