cPtpClockPortCurrentClockTypeIndex

CISCO-PTP-MIB · .1.3.6.1.4.1.9.9.760.1.2.11.1.2

Object

column ClockType
This object specifies the given port's clock type.

Context

MIB
CISCO-PTP-MIB
OID
.1.3.6.1.4.1.9.9.760.1.2.11.1.2
Type
column
Access
noaccess
Status
current
Parent
cPtpClockPortAssociateEntry

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 'CISCO-PTP-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-PTP-MIB::cPtpClockPortCurrentClockTypeIndex'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CISCO-PTP-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-PTP-MIB::cPtpClockPortCurrentClockTypeIndex.<cPtpClockPortCurrentDomainIndex>.<cPtpClockPortCurrentClockTypeIndex>.<cPtpClockPortCurrentClockInstanceIndex>.<cPtpClockPortCurrentPortNumberIndex>.<cPtpClockPortAssociatePortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CISCO-PTP-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CISCO-PTP-MIB::cPtpClockPortCurrentClockTypeIndex'

Syntax

Source
ClockType
Base type
Enumeration

Values & Constraints

Type Values
1ordinaryClock
2boundaryClock
3transparentClock
4boundaryNode