cswSwitchSwPriority

CISCO-STACKWISE-MIB · .1.3.6.1.4.1.9.9.500.1.2.1.1.4

Object

column r/w CswSwitchPriority
A number containing the priority of a switch.  The switch with
the highest priority will become the master.  The maximum value
for this object is defined by the cswMaxSwitchConfigPriority
object.
              
If after a reload the value of cswMaxSwitchConfigPriority
changes to a smaller value, and the value of cswSwitchSwPriority
has been previously set to a value greater or equal to the
new cswMaxSwitchConfigPriority, then the SNMP agent must set
cswSwitchSwPriority to the new cswMaxSwitchConfigPriority.
              
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.4
Type
column
Access
readwrite
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::cswSwitchSwPriority'
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::cswSwitchSwPriority.<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::cswSwitchSwPriority'

Syntax

Source
CswSwitchPriority
Base type
Unsigned32

Values & Constraints

Type Constraints
range: 0..4294967295

Conformance

Member of
Compliance refinements
Write access is not required.
Write access is not required.
Write access is not required.