switchNum
OBS ✓
SNR-SWITCH-MIB ·
.1.3.6.1.4.1.40418.7.100.3.2.1.3
Object
column Integer32
This value is denoting the number of swith in which this port resides. For the non-stackable device,the value is always 1. While for the stackable device, the value is real switch stack number.
Observium directly uses this object
This object is referenced by an Observium discovery or polling workflow.
Used in:
Inventory
Explore Observium network monitoring
Context
- MIB
- SNR-SWITCH-MIB
- OID
.1.3.6.1.4.1.40418.7.100.3.2.1.3- Type
- column
- Access
- readonly
- Status
- current
- Parent
- priPortEntry
Net-SNMP examples
How SNMP and these commands workWalk 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 'SNR-SWITCH-MIB' -M '/opt/observium/mibs/snr:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SNR-SWITCH-MIB::switchNum'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SNR-SWITCH-MIB' -M '/opt/observium/mibs/snr:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SNR-SWITCH-MIB::switchNum.<portIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SNR-SWITCH-MIB' -M '/opt/observium/mibs/snr:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SNR-SWITCH-MIB::switchNum'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-16