switchPortID

ELH100-MIB · .1.3.6.1.4.1.52.259.10.3.4.1.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;  note that this port is inactive on
media modules.  Port 3 is always the external port;  note that
this port is inactive on internal switch modules.

Context

MIB
ELH100-MIB
OID
.1.3.6.1.4.1.52.259.10.3.4.1.1.1.2
Type
column
Access
readonly
Status
mandatory
Parent
switchPortEntry

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::switchPortID'
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::switchPortID.<switchPortGroupID>.<switchPortID>'
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::switchPortID'

Syntax

Integer32

Values & Constraints

Object Constraints
range: 1-3