hpStackPortNeighbor
HP-STACK-MIB ·
.1.3.6.1.4.1.11.2.14.11.5.1.69.1.5.1.4
Object
column OctetString
This contains the value of the hpStackMemberId and hpStackPortId of the switch's chassis to which this stack port is connected. If the stack port is not connected, it returns a value of zero.
Context
- MIB
- HP-STACK-MIB
- OID
.1.3.6.1.4.1.11.2.14.11.5.1.69.1.5.1.4- Type
- column
- Access
- readonly
- Status
- current
- Parent
- hpStackPortEntry
- 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 'HP-STACK-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HP-STACK-MIB::hpStackPortNeighbor'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HP-STACK-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HP-STACK-MIB::hpStackPortNeighbor.<hpStackMemberId>.<hpStackPortId>.<hpStackPortType>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HP-STACK-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HP-STACK-MIB::hpStackPortNeighbor'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 1-255
Conformance
Member of