ptpPortStaticRole

SIAE-PTP-MIB · .1.3.6.1.4.1.3373.1103.100.8.1.1.4

Object

column r/w Enumeration
Role of this port. This object forces the role of the port if
ptpStaticPortRole is true.

Context

MIB
SIAE-PTP-MIB
OID
.1.3.6.1.4.1.3373.1103.100.8.1.1.4
Type
column
Access
readwrite
Status
current
Parent
ptpPortDataSetEntry

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 'SIAE-PTP-MIB' -M '/opt/observium/mibs/siaemic:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SIAE-PTP-MIB::ptpPortStaticRole'
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::ptpPortStaticRole.<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::ptpPortStaticRole'

Syntax

Enumeration

Values & Constraints

Enumerated Values
6master
7passive
9slave