swL2PortInfoType
SWL2MGMT-MIB ·
d-link variant
·
.0.2.4.1.1.3
Object
column Enumeration
This object indicates the connector type of this port.
Context
- MIB
- SWL2MGMT-MIB
- OID
.0.2.4.1.1.3- Type
- column
- Access
- readonly
- Status
- current
- Parent
- swL2PortInfoEntry
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 'SWL2MGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SWL2MGMT-MIB::swL2PortInfoType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SWL2MGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SWL2MGMT-MIB::swL2PortInfoType.<swL2PortInfoPortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SWL2MGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SWL2MGMT-MIB::swL2PortInfoType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | portType-100Base-TX |
2 | portType-100Base-FX |
3 | portType-100Base-FL |
4 | portType-1000Base-TX |
5 | portType-1000Base-SX |
6 | portType-1000Base-LX |
7 | portType-1000Base-SX-GBIC |
8 | portType-1000Base-LX-GBIC |
9 | portType-1000Base-TX-GBIC |
10 | portType-1000Base-1394 |
11 | none |