ostPtpPortCfgMode

OMNITRON-PTP-MIB · .1.3.6.1.4.1.7342.14.2.1.2

Object

column r/w Enumeration
The PTP port mode.
              
notConfigured(1)      Port does not participate in PTP
sourcePort(2)         Source port of PTP PDUs
egressPort(3)         Egress port for PTP PDUs
              
Ports defind as either a source or egress port need to be
a part of the EVC associated with the instance.

Context

MIB
OMNITRON-PTP-MIB
OID
.1.3.6.1.4.1.7342.14.2.1.2
Type
column
Access
readwrite
Status
current
Parent
ostPtpPortCfgEntry
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 'OMNITRON-PTP-MIB' -M '/opt/observium/mibs/omnitron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OMNITRON-PTP-MIB::ostPtpPortCfgMode'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'OMNITRON-PTP-MIB' -M '/opt/observium/mibs/omnitron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OMNITRON-PTP-MIB::ostPtpPortCfgMode.<ostPtpPortCfgIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'OMNITRON-PTP-MIB' -M '/opt/observium/mibs/omnitron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'OMNITRON-PTP-MIB::ostPtpPortCfgMode'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1notConfigured
2sourcePort
3egressPort

Conformance

Member of