osPortIfType
OS-PORT-MIB ·
.1.3.6.1.4.1.6926.2.1.2.1.101
Object
column Enumeration
Port installed physical interface (if any): aui/tp...
Context
- MIB
- OS-PORT-MIB
- OID
.1.3.6.1.4.1.6926.2.1.2.1.101- Type
- column
- Access
- readonly
- Status
- current
- Parent
- osPortEntry
- Groups
- 1
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 'OS-PORT-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OS-PORT-MIB::osPortIfType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'OS-PORT-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OS-PORT-MIB::osPortIfType.<osPortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'OS-PORT-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'OS-PORT-MIB::osPortIfType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | aui |
2 | tp |
3 | auiTp |
4 | tpfd |
5 | coax |
6 | foMm |
7 | foSm |
8 | none |
9 | foSxM |
10 | foLxM |
11 | foLxS1 |
12 | foLxS2 |
13 | foLxS3 |
14 | foM |
15 | foMX |
16 | foS1 |
17 | foS2 |
18 | foS3 |
19 | foLxS4 |
20 | foLxS5 |
21 | foS4 |
22 | foS5 |
23 | foM10 |
24 | foGMX |
25 | foS1A |
26 | foPAL |
27 | foXFP |
28 | foSFPtp |
29 | foSFP |
30 | foSFPfoSFP100FXtp |
31 | foSFP100FX |
32 | foSFPfoSFP100FX |
33 | foSFPdirect |
34 | tpSHDSL |
35 | portTrunk |
36 | internalPort |
37 | foSFPplus |
Conformance
Member of