portType
QTECH-GBNDeviceSwitch-MIB ·
.1.3.6.1.4.1.27514.1.2.2.1.2.1.1.2
Object
column Enumeration
?˿?????:1Ϊ?????ڣ?2Ϊ10/100M??ڣ?3Ϊ100M??ģ???ˣ? 4Ϊ100M??ģ???ˣ?5Ϊ1000M??ģ???ˣ?6Ϊ1000M??ģ???ˣ? 7Ϊ1000M???; 8ΪCPU?ӿ?
Context
- MIB
- QTECH-GBNDeviceSwitch-MIB
- OID
.1.3.6.1.4.1.27514.1.2.2.1.2.1.1.2- Type
- column
- Access
- readonly
- Status
- current
- Parent
- portTypeEntry
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 'QTECH-GBNDeviceSwitch-MIB' -M '/opt/observium/mibs/qtech:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'QTECH-GBNDeviceSwitch-MIB::portType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'QTECH-GBNDeviceSwitch-MIB' -M '/opt/observium/mibs/qtech:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'QTECH-GBNDeviceSwitch-MIB::portType.<portNumber>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'QTECH-GBNDeviceSwitch-MIB' -M '/opt/observium/mibs/qtech:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'QTECH-GBNDeviceSwitch-MIB::portType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | blank |
2 | fE |
3 | single100FX |
4 | double100FX |
5 | single1000FX |
6 | double1000FX |
7 | fE1000 |
8 | cpu |