wchXCSrcPortTypeIdx
BTI-OL-MIB ·
.1.3.6.1.4.1.18070.2.2.1.16.9.1.4
Object
column OlPortType
The type of port on which the source wavelength channel of the cross-connection is located.
Context
- MIB
- BTI-OL-MIB
- OID
.1.3.6.1.4.1.18070.2.2.1.16.9.1.4- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- wchXCEntry
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::wchXCSrcPortTypeIdx'
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::wchXCSrcPortTypeIdx.<wchXCSrcCpTypeIdx>.<wchXCSrcShelfIdx>.<wchXCSrcSlotIdx>.<wchXCSrcPortTypeIdx>.<wchXCSrcPortIdx>.<wchXCSrcChannelIdx>.<wchXCDstCpTypeIdx>.<wchXCDstShelfIdx>.<wchXCDstSlotIdx>.<wchXCDstPortTypeIdx>.<wchXCDstPortIdx>.<wchXCDstChannelIdx>'
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::wchXCSrcPortTypeIdx'
Syntax
- Source
- OlPortType
- Base type
Enumeration
Values & Constraints
Type Values
1 | line |
2 | client |
3 | dcm |
4 | channel |
5 | expansion |