eSWPortType
ASANTE-SWITCH-MIB ·
.1.3.6.1.4.1.298.1.5.1.2.6.1.3
Object
column mandatory
Enumeration
The type port in this switch. MII-Empty(1) means there is no expansion module plugged in.
Context
- MIB
- ASANTE-SWITCH-MIB
- OID
.1.3.6.1.4.1.298.1.5.1.2.6.1.3- Type
- column
- Access
- readonly
- Status
- mandatory
- Parent
- eSWPortInfoEntry
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 'ASANTE-SWITCH-MIB' -M '/opt/observium/mibs/asante:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ASANTE-SWITCH-MIB::eSWPortType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ASANTE-SWITCH-MIB' -M '/opt/observium/mibs/asante:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ASANTE-SWITCH-MIB::eSWPortType.<eSWPortGrpIndex>.<eSWPortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ASANTE-SWITCH-MIB' -M '/opt/observium/mibs/asante:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ASANTE-SWITCH-MIB::eSWPortType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | other |
2 | mii-Empty |
3 | mii-FL |
4 | mii-RJ45 |
5 | mii-FX |
6 | rj45 |
7 | foil |