ptpPortVersionNumber
SIAE-PTP-MIB ·
.1.3.6.1.4.1.3373.1103.100.8.1.1.12
Object
column Integer32
This indicates the PTP version in use on the port.
Context
- MIB
- SIAE-PTP-MIB
- OID
.1.3.6.1.4.1.3373.1103.100.8.1.1.12- Type
- column
- Access
- readonly
- Status
- current
- Parent
- ptpPortDataSetEntry
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::ptpPortVersionNumber'
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::ptpPortVersionNumber.<ptpClockDomainIndex>.<ptpClockTypeIndex>.<ptpClockInstanceIndex>.<ptpPortIndex>'
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::ptpPortVersionNumber'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 2-2