cPtpClockPortRunningState

CISCO-PTP-MIB · .1.3.6.1.4.1.9.9.760.1.2.9.1.6

Object

This object specifies the port state returned by PTP engine.
              
initializing - In this state a port initializes
               its data sets, hardware, and
               communication facilities.
faulty       - The fault state of the protocol.
disabled     - The port shall not place any
               messages on its communication path.
listening    - The port is waiting for the
               announceReceiptTimeout to expire or
               to receive an Announce message from
               a master.
preMaster    - The port shall behave in all respects
               as though it were in the MASTER state
               except that it shall not place any
               messages on its communication path
               except for Pdelay_Req, Pdelay_Resp,
               Pdelay_Resp_Follow_Up, signaling, or
               management messages.
master       - The port is behaving as a master port.           
              
passive      - The port shall not place any
               messages on its communication path
               except for Pdelay_Req, Pdelay_Resp,
               Pdelay_Resp_Follow_Up, or signaling
               messages, or management messages
               that are a required response to
               another management message
uncalibrated - The local port is preparing to
               synchronize to the master port.
slave        - The port is synchronizing to the
               selected master port.

Context

MIB
CISCO-PTP-MIB
OID
.1.3.6.1.4.1.9.9.760.1.2.9.1.6
Type
column
Access
readonly
Status
current
Parent
cPtpClockPortRunningEntry
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::cPtpClockPortRunningState'
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::cPtpClockPortRunningState.<cPtpClockPortRunningDomainIndex>.<cPtpClockPortRunningClockTypeIndex>.<cPtpClockPortRunningClockInstanceIndex>.<cPtpClockPortRunningPortNumberIndex>'
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::cPtpClockPortRunningState'

Syntax

Source
ClockPortState
Base type
Enumeration

Values & Constraints

Type Values
1initializing
2faulty
3disabled
4listening
5preMaster
6master
7passive
8uncalibrated
9slave