osPtpSlaveDirection
OS-PTP-MIB ·
.1.3.6.1.4.1.6926.2.22.1.3.2.1.22
Object
scalar r/w
Enumeration
direction of ptp used for time calculation both: Both directions: SlaveToMaster as well as MasterToSlave are acceptable. (Default.) slaveToMaster: Only the direction slaveToMaster is acceptable. (Used if traffic in the direction MasterToSlave is significantly higher.) masterToSlave: Only the direction masterToSlave is acceptable. (Used if traffic in the direction SlaveToMaster is significantly higher.)
Context
- MIB
- OS-PTP-MIB
- OID
.1.3.6.1.4.1.6926.2.22.1.3.2.1.22- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- osPtpMIBSlaveCfgGen
- Groups
- 1
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'OS-PTP-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OS-PTP-MIB::osPtpSlaveDirection.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'OS-PTP-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'OS-PTP-MIB::osPtpSlaveDirection'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | unknown |
1 | both |
2 | slaveToMaster |
3 | masterToSlave |
Conformance
Member of