hpStackSwitchPreferredMemberId

HP-STACK-MIB · .1.3.6.1.4.1.11.2.14.11.5.1.69.1.2.1.4

Object

column r/w Integer32
This allows the user to set the preferred
member ID of a switch when stacking is enabled on
it. hpStackSwitchPreferredMemberId needs to be
set along with setting hpStackSwitchAdminStatus
being set to 'true (1)'. This entry is useful only
at the time of setting hpStackSwitchAdminStatus to
'true (1)'.  hpStackSwitchPreferredMemberId is
unused when hpStackSwitchAdminStatus is set to
false (2).

Context

MIB
HP-STACK-MIB
OID
.1.3.6.1.4.1.11.2.14.11.5.1.69.1.2.1.4
Type
column
Access
readwrite
Status
current
Parent
hpStackConfigEntry
Groups
2

Walk 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::hpStackSwitchPreferredMemberId'
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::hpStackSwitchPreferredMemberId.<hpStackSequenceNum>'
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::hpStackSwitchPreferredMemberId'

Syntax

Integer32

Values & Constraints

Object Constraints
range: 1-65535