cswSwitchRole

OBS ✓
CISCO-STACKWISE-MIB · .1.3.6.1.4.1.9.9.500.1.2.1.1.3

Object

column Enumeration
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.
Observium directly uses this object
This object is referenced by an Observium discovery or polling workflow.
Used in: Status
Explore Observium network monitoring

Context

MIB
CISCO-STACKWISE-MIB
OID
.1.3.6.1.4.1.9.9.500.1.2.1.1.3
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::cswSwitchRole'
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::cswSwitchRole.<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::cswSwitchRole'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1master
2member
3notMember
4standby