swDevInfoPortType
DES2218-MIB ·
.1.3.6.1.4.1.171.11.7.1.1.1.4
Object
scalar mandatory
Enumeration
The connector type of this port.
Context
- MIB
- DES2218-MIB
- OID
.1.3.6.1.4.1.171.11.7.1.1.1.4- Type
- scalar
- Access
- readonly
- Status
- mandatory
- Parent
- swDeviceInfo
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DES2218-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DES2218-MIB::swDevInfoPortType.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DES2218-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DES2218-MIB::swDevInfoPortType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | other |
2 | portType-UTP |
3 | portType-AUI |
4 | portType-Fiber |
5 | portType-BNC |
6 | portType-Option-module-RAS |
7 | portType-Option-module-100Bridge |