All MIBs › CISCO-STACKWISE-MIB › cswSwitchRole
cswSwitchRole
Module: CISCO-STACKWISE-MIB
OID (symbolic): CISCO-STACKWISE-MIB::cswSwitchRole
OID (numeric): 1.3.6.1.4.1.9.9.500.1.2.1.1.3
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-only
Description: This object describes the function of the switch:
master - stack master.
member - active member of the stack.
notMember - none-active stack member, see cswSwitchState for status.
standby - stack standby switch.
What is cswSwitchRole?
Reports the switch's functional role in the stack: master, active member, non-active member, or standby.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.9.9.500.1.2.1.1.3 snmpwalk -v2c -c public <target> CISCO-STACKWISE-MIB::cswSwitchRole
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.9.9.500.1.2.1.1.3.1 snmpget -v2c -c public <target> CISCO-STACKWISE-MIB::cswSwitchRole.1
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::cswSwitchRole 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.3 | cswSwitchRole | CISCO-STACKWISE-MIB |