wchPortTypeIdx
BTI-OL-MIB ·
.1.3.6.1.4.1.18070.2.2.1.16.10.1.4
Object
column OlPortType
The type of port on which the wavelength channel is located.
Context
- MIB
- BTI-OL-MIB
- OID
.1.3.6.1.4.1.18070.2.2.1.16.10.1.4- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- wchEntry
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 'BTI-OL-MIB' -M '/opt/observium/mibs/bti:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BTI-OL-MIB::wchPortTypeIdx'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'BTI-OL-MIB' -M '/opt/observium/mibs/bti:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BTI-OL-MIB::wchPortTypeIdx.<wchCpTypeIdx>.<wchShelfIdx>.<wchSlotIdx>.<wchPortTypeIdx>.<wchPortIdx>.<wchIdx>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'BTI-OL-MIB' -M '/opt/observium/mibs/bti:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'BTI-OL-MIB::wchPortTypeIdx'
Syntax
- Source
- OlPortType
- Base type
Enumeration
Values & Constraints
Type Values
1 | line |
2 | client |
3 | dcm |
4 | channel |
5 | expansion |