ptpClockPortCurrentPortNumberIndex

PTPBASE-MIB · .1.3.6.1.2.1.241.1.2.11.1.4

Object

This object specifies the PTP portNumber for the given port.

Context

MIB
PTPBASE-MIB
OID
.1.3.6.1.2.1.241.1.2.11.1.4
Type
column
Access
noaccess
Status
current
Parent
ptpbaseClockPortAssociateEntry

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 'PTPBASE-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PTPBASE-MIB::ptpClockPortCurrentPortNumberIndex'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'PTPBASE-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PTPBASE-MIB::ptpClockPortCurrentPortNumberIndex.<ptpClockPortCurrentDomainIndex>.<ptpClockPortCurrentClockTypeIndex>.<ptpClockPortCurrentClockInstanceIndex>.<ptpClockPortCurrentPortNumberIndex>.<ptpbaseClockPortAssociatePortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'PTPBASE-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'PTPBASE-MIB::ptpClockPortCurrentPortNumberIndex'

Syntax

Source
PtpClockPortNumber
Base type
Unsigned32

Values & Constraints

Type Constraints
range: 0..65535