ieee8021AsPortDSVersionNumber

IEEE8021-AS-MIB · .1.3.111.2.802.1.1.20.1.5.1.31

Object

column Unsigned32
Indicates the PTP version in use on the port.
The version number for this standard is set to  
the value 2 (see 10.5.2.2.3).
              
The contents of this variable SHALL be maintained  
across a restart of the system.

Context

MIB
IEEE8021-AS-MIB
OID
.1.3.111.2.802.1.1.20.1.5.1.31
Type
column
Access
readonly
Status
current
Parent
ieee8021AsPortDSIfEntry
Groups
1

Walk 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 'IEEE8021-AS-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'IEEE8021-AS-MIB::ieee8021AsPortDSVersionNumber'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'IEEE8021-AS-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'IEEE8021-AS-MIB::ieee8021AsPortDSVersionNumber.<ieee8021AsBridgeBasePort>.<ieee8021AsPortDSAsIfIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'IEEE8021-AS-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'IEEE8021-AS-MIB::ieee8021AsPortDSVersionNumber'

Syntax

Unsigned32

Values & Constraints

Object Constraints
range: 0-63