switchNum

ZELAX-MIB · .1.3.6.1.4.1.7840.2.1.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.

Context

MIB
ZELAX-MIB
OID
.1.3.6.1.4.1.7840.2.1.100.3.2.1.3
Type
column
Access
readonly
Status
current
Parent
priPortEntry

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 'ZELAX-MIB' -M '/opt/observium/mibs/zelax:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZELAX-MIB::switchNum'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZELAX-MIB' -M '/opt/observium/mibs/zelax:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZELAX-MIB::switchNum.<portIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZELAX-MIB' -M '/opt/observium/mibs/zelax:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZELAX-MIB::switchNum'

Syntax

Integer32

Values & Constraints

Object Constraints
range: 0-16