ptpbaseClockPortNumOfAssociatedPorts
PTPBASE-MIB ·
.1.3.6.1.2.1.241.1.2.7.1.10
Object
column SNMPv2-SMIGauge32
This object specifies the following: For a master port - the number of PTP slave sessions (peers) associated with this PTP port. For a slave port - the number of masters available to this slave port (might or might not be peered).
Context
- MIB
- PTPBASE-MIB
- OID
.1.3.6.1.2.1.241.1.2.7.1.10- Type
- column
- Access
- readonly
- Status
- current
- Parent
- ptpbaseClockPortEntry
- 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::ptpbaseClockPortNumOfAssociatedPorts'
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::ptpbaseClockPortNumOfAssociatedPorts.<ptpbaseClockPortDomainIndex>.<ptpbaseClockPortClockTypeIndex>.<ptpbaseClockPortClockInstanceIndex>.<ptpbaseClockPortTablePortNumberIndex>'
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::ptpbaseClockPortNumOfAssociatedPorts'
Syntax
- Source
- SNMPv2-SMIGauge32
- Base type
Unsigned32
Values & Constraints
Type Constraints
range: 0..4294967295
Conformance
Member of