ptpParentPortNumber
SIAE-PTP-MIB ·
.1.3.6.1.4.1.3373.1103.100.6.1.1.2
Object
column ClockPortNumber
This is the port number identity of the port on the master that issues sync message used in synchronizing this clock. Combination of ptpParentClockIdentity and ptpParentPortNumber gives the port identity of the parent clock.
Context
- MIB
- SIAE-PTP-MIB
- OID
.1.3.6.1.4.1.3373.1103.100.6.1.1.2- Type
- column
- Access
- readonly
- Status
- current
- Parent
- ptpParentDataSetEntry
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 'SIAE-PTP-MIB' -M '/opt/observium/mibs/siaemic:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SIAE-PTP-MIB::ptpParentPortNumber'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SIAE-PTP-MIB' -M '/opt/observium/mibs/siaemic:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SIAE-PTP-MIB::ptpParentPortNumber.<ptpClockDomainIndex>.<ptpClockTypeIndex>.<ptpClockInstanceIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SIAE-PTP-MIB' -M '/opt/observium/mibs/siaemic:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SIAE-PTP-MIB::ptpParentPortNumber'
Syntax
- Source
- ClockPortNumber
- Base type
Unsigned32
Values & Constraints
Type Constraints
range: 0..65535