hwONRuninfoOpticalWorkMode
HUAWEI-ENVIRONMENT-MIB ·
.1.3.6.1.4.1.2011.6.1.1.7.1.63
Object
column Enumeration
Indicates the configuration information about the work mode for the optical node.
Options:
1.invalid(1) - indicates the working mode is not supported for the optical node
or the optical node is not online
2.singleRXdoubleTX(2) - indicates the working mode is single RX(optical receiver), double TX(optical transmitter)
3.doubleRXsingleTX(3) - indicates the working mode is double RX(optical receiver), single TX(optical transmitter)
default is singleRXdoubleTX(2).
Context
- MIB
- HUAWEI-ENVIRONMENT-MIB
- OID
.1.3.6.1.4.1.2011.6.1.1.7.1.63- Type
- column
- Access
- readonly
- Status
- current
- Parent
- hwOpticalNodeEntry
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 'HUAWEI-ENVIRONMENT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-ENVIRONMENT-MIB::hwONRuninfoOpticalWorkMode'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-ENVIRONMENT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-ENVIRONMENT-MIB::hwONRuninfoOpticalWorkMode.<hwFrameIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-ENVIRONMENT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-ENVIRONMENT-MIB::hwONRuninfoOpticalWorkMode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | invalid |
2 | singleRXdoubleTX |
3 | doubleRXsingleTX |