ptpDeviceType
FS-SWITCH-V2-MIB ·
.1.3.6.1.4.1.52642.1.85.1.24
Object
scalar r/w
Enumeration
The type of the clock. oc(0), bc(1), e2etc(2), p2ptc(3).
Context
- MIB
- FS-SWITCH-V2-MIB
- OID
.1.3.6.1.4.1.52642.1.85.1.24- Type
- scalar
- Access
- readwrite
- Status
- current
- Default
bc- Parent
- ptpGlobalInfo
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 'FS-SWITCH-V2-MIB' -M '/opt/observium/mibs/fscom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'FS-SWITCH-V2-MIB::ptpDeviceType.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'FS-SWITCH-V2-MIB' -M '/opt/observium/mibs/fscom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'FS-SWITCH-V2-MIB::ptpDeviceType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | oc |
1 | bc |
2 | e2etc |
3 | p2ptc |