ptpbaseClockPortRunningState
PTPBASE-MIB ·
.1.3.6.1.2.1.241.1.2.9.1.6
Object
column PtpClockPortState
This object specifies the port state returned by PTP engine:
initializing
faulty
disabled
listening
preMaster
master
passive
uncalibrated
slave
Context
- MIB
- PTPBASE-MIB
- OID
.1.3.6.1.2.1.241.1.2.9.1.6- Type
- column
- Access
- readonly
- Status
- current
- Parent
- ptpbaseClockPortRunningEntry
- Groups
- 1
Net-SNMP examples
How SNMP and these commands workWalk 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::ptpbaseClockPortRunningState'
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::ptpbaseClockPortRunningState.<ptpbaseClockPortRunningDomainIndex>.<ptpbaseClockPortRunningClockTypeIndex>.<ptpbaseClockPortRunningClockInstanceIndex>.<ptpbaseClockPortRunningPortNumberIndex>'
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::ptpbaseClockPortRunningState'
Syntax
- Source
- PtpClockPortState
- Base type
Enumeration
Values & Constraints
Type Values
1 | initializing |
2 | faulty |
3 | disabled |
4 | listening |
5 | preMaster |
6 | master |
7 | passive |
8 | uncalibrated |
9 | slave |
Conformance
Member of