ptpClockTwoStepFlag
SIAE-PTP-MIB ·
.1.3.6.1.4.1.3373.1103.100.4.1.1.5
Object
column SNMPv2-TCTruthValue
This value is TRUE if the clock is two step clock, otherwise it is FALSE. If this value is configured as TRUE, then PTP will transmit the originTimeStamp only through follow-up messages.
Context
- MIB
- SIAE-PTP-MIB
- OID
.1.3.6.1.4.1.3373.1103.100.4.1.1.5- Type
- column
- Access
- readonly
- Status
- current
- Parent
- ptpClockDataSetEntry
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 'SIAE-PTP-MIB' -M '/opt/observium/mibs/siaemic:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SIAE-PTP-MIB::ptpClockTwoStepFlag'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SIAE-PTP-MIB' -M '/opt/observium/mibs/siaemic:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SIAE-PTP-MIB::ptpClockTwoStepFlag.<ptpClockDomainIndex>.<ptpClockTypeIndex>.<ptpClockInstanceIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SIAE-PTP-MIB' -M '/opt/observium/mibs/siaemic:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SIAE-PTP-MIB::ptpClockTwoStepFlag'
Syntax
- Source
- SNMPv2-TCTruthValue
- Base type
Enumeration
Type Description
Represents a boolean value.
Values & Constraints
Type Values
1 | true |
2 | false |