cswSwitchNumCurrent

OBS ✓
CISCO-STACKWISE-MIB · .1.3.6.1.4.1.9.9.500.1.2.1.1.1

Object

This object contains the current switch identification number.
This number should match any logical labeling on the switch.
For example, a switch whose interfaces are labeled
'interface #3' this value should be 3.
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.1
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::cswSwitchNumCurrent'
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::cswSwitchNumCurrent.<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::cswSwitchNumCurrent'

Syntax

Source
CswSwitchNumber
Base type
Unsigned32

Values & Constraints

Type Constraints
range: 1..4294967295