switchPortStatsID

ELH100-MIB · .1.3.6.1.4.1.52.259.10.3.4.2.1.1.2

Object

column mandatory Integer32
The port ID of the switch module port being referenced.  Port 1 is
always the internal 100Mbps port.  Port 2 is always the internal
10Mbps port.  Port 3 is always the external port.  Note that port
2 is inactive on media modules and port 3 is inactive on internal
switch modules.
              
Note:  Statistics for the external port are unavailable to the
agent and are reported as 0.

Context

MIB
ELH100-MIB
OID
.1.3.6.1.4.1.52.259.10.3.4.2.1.1.2
Type
column
Access
readonly
Status
mandatory
Parent
switchPortStatsEntry

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

Syntax

Integer32

Values & Constraints

Object Constraints
range: 1-3