aluPtpPortNumPeers
ALU-PTPV2-MIB ·
.1.3.6.1.4.1.6527.6.1.2.2.12.2.1.1.5
Object
column SNMPv2-SMIUnsigned32
The value of aluPtpPortNumPeers indicates the number of peers
that are associated with this PTP port. The value of this object
is derived based on the values of the aluPtpClockType and
aluPtpClockSlaveOnly objects for the aluPtpClockIndex. The values
are derived based on the following rules:
aluPtpClockType | aluPtpClockSlaveOnly | aluPtpPortNumPeers
-----------------------------------------------------------
'ordinary (2)' | 'true (1)' | 2
| 'false (2)' | 50
'boundary (1)' | n/a | 1
Context
- MIB
- ALU-PTPV2-MIB
- OID
.1.3.6.1.4.1.6527.6.1.2.2.12.2.1.1.5- Type
- column
- Access
- readonly
- Status
- current
- Parent
- aluPtpPortEntry
- 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 'ALU-PTPV2-MIB' -M '/opt/observium/mibs/nokia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ALU-PTPV2-MIB::aluPtpPortNumPeers'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ALU-PTPV2-MIB' -M '/opt/observium/mibs/nokia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ALU-PTPV2-MIB::aluPtpPortNumPeers.<aluPtpPortClockIndex>.<aluPtpPortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ALU-PTPV2-MIB' -M '/opt/observium/mibs/nokia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ALU-PTPV2-MIB::aluPtpPortNumPeers'
Syntax
- Source
- SNMPv2-SMIUnsigned32
- Base type
Unsigned32
Values & Constraints
Type Constraints
range: 0..4294967295
Conformance
Member of