hpStackSwitchPreferredPriority

HP-STACK-MIB · .1.3.6.1.4.1.11.2.14.11.5.1.69.1.2.1.3

Object

column r/w Integer32
This allows the user to set the priority of a
switch when stacking is enabled on it.
hpStackSwitchPreferredPriority needs to be set
along with hpStackSwitchAdminStatus being set to
'true (1)'.
                               
Note that this is to be used only when enabling
stacking. To set the priority of a switch on
which stacking is already enabled, 
use hpStackMemberTable.
                               
hpStackSwitchPreferredPriority is unused when 
hpStackSwitchAdminStatus is false (2).

Context

MIB
HP-STACK-MIB
OID
.1.3.6.1.4.1.11.2.14.11.5.1.69.1.2.1.3
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::hpStackSwitchPreferredPriority'
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::hpStackSwitchPreferredPriority.<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::hpStackSwitchPreferredPriority'

Syntax

Integer32

Values & Constraints

Object Constraints
range: 1-255