All MIBs › CISCO-STACKWISE-MIB › cswSwitchSwPriority
cswSwitchSwPriority
Module: CISCO-STACKWISE-MIB
OID (symbolic): CISCO-STACKWISE-MIB::cswSwitchSwPriority
OID (numeric): 1.3.6.1.4.1.9.9.500.1.2.1.1.4
Node type: OBJECT-TYPE
Type: CswSwitchPriority
Access: read-write
Description: 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'.
What is cswSwitchSwPriority?
A configurable priority value used in master election, where the switch with the highest priority becomes the stack master, up to a maximum defined by cswMaxSwitchConfigPriority.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.9.9.500.1.2.1.1.4 snmpwalk -v2c -c public <target> CISCO-STACKWISE-MIB::cswSwitchSwPriority
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.9.9.500.1.2.1.1.4.1 snmpget -v2c -c public <target> CISCO-STACKWISE-MIB::cswSwitchSwPriority.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.9.9.500.1.2.1.1.4.1 s <value>
Start monitoring Cisco Catalyst StackWise-capable switches with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the CISCO-STACKWISE-MIB::cswSwitchSwPriority OID value, configure state conditions and alerts, and monitor any Cisco Catalyst StackWise-capable switches from a single console.
OID Breakdown
Upper-level ancestors (8 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| 1.3.6.1.4.1.9 | cisco | CAT2600-MIB |
| 1.3.6.1.4.1.9.9 | ciscoMgmt | CISCO-SMI |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.9.9.500 | ciscoStackWiseMIB | CISCO-STACKWISE-MIB |
| 1.3.6.1.4.1.9.9.500.1 | ciscoStackWiseMIBObjects | CISCO-STACKWISE-MIB |
| 1.3.6.1.4.1.9.9.500.1.2 | cswStackInfo | CISCO-STACKWISE-MIB |
| 1.3.6.1.4.1.9.9.500.1.2.1 | cswSwitchInfoTable | CISCO-STACKWISE-MIB |
| 1.3.6.1.4.1.9.9.500.1.2.1.1 | cswSwitchInfoEntry | CISCO-STACKWISE-MIB |
| 1.3.6.1.4.1.9.9.500.1.2.1.1.4 | cswSwitchSwPriority | CISCO-STACKWISE-MIB |