cPtpClockPortRole

CISCO-PTP-MIB · .1.3.6.1.4.1.9.9.760.1.2.7.1.6

Object

column ClockRoleType
This object describes the current role (slave/master) of the
port.

Context

MIB
CISCO-PTP-MIB
OID
.1.3.6.1.4.1.9.9.760.1.2.7.1.6
Type
column
Access
readonly
Status
current
Parent
cPtpClockPortEntry
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 'CISCO-PTP-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-PTP-MIB::cPtpClockPortRole'
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::cPtpClockPortRole.<cPtpClockPortDomainIndex>.<cPtpClockPortClockTypeIndex>.<cPtpClockPortClockInstanceIndex>.<cPtpClockPortTablePortNumberIndex>'
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::cPtpClockPortRole'

Syntax

Source
ClockRoleType
Base type
Enumeration

Values & Constraints

Type Values
1master
2slave

Conformance