cswSwitchHwPriority

CISCO-STACKWISE-MIB · .1.3.6.1.4.1.9.9.500.1.2.1.1.5

Object

This object contains the hardware priority of a switch.  If
two or more entries in this table have the same
cswSwitchSwPriority value during the master election time,
the switch with the highest cswSwitchHwPriority will become
the master.
              
Note: This object will contain the value of 0 if the
cswSwitchState value is other than 'ready'.

Context

MIB
CISCO-STACKWISE-MIB
OID
.1.3.6.1.4.1.9.9.500.1.2.1.1.5
Type
column
Access
readonly
Status
current
Parent
cswSwitchInfoEntry
Groups
3

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 'CISCO-STACKWISE-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-STACKWISE-MIB::cswSwitchHwPriority'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CISCO-STACKWISE-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-STACKWISE-MIB::cswSwitchHwPriority.<entPhysicalIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CISCO-STACKWISE-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CISCO-STACKWISE-MIB::cswSwitchHwPriority'

Syntax

Source
CswSwitchPriority
Base type
Unsigned32

Values & Constraints

Type Constraints
range: 0..4294967295