hwOTCfgOpticalWorkMode
HUAWEI-ENVIRONMENT-MIB ·
.1.3.6.1.4.1.2011.6.1.1.7.1.54
Object
column r/w
Enumeration
Indicates the configuration information about the work mode for the optical transmitter. Options: 2.singleSGsingleTX(2) - indicates the working mode is single SG(service group), single TX(optical transmitter) 3.singleSGdoubleTX(3) - indicates the working mode is single SG(service group), double TX(optical transmitter) 4.doubleSGdoubleTX(4) - indicates the working mode is double SG(service group), double TX(optical transmitter) default is doubleSGdoubleTX(4).
Context
- MIB
- HUAWEI-ENVIRONMENT-MIB
- OID
.1.3.6.1.4.1.2011.6.1.1.7.1.54- Type
- column
- Access
- readwrite
- 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::hwOTCfgOpticalWorkMode'
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::hwOTCfgOpticalWorkMode.<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::hwOTCfgOpticalWorkMode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
2 | singleSGsingleTX |
3 | singleSGdoubleTX |
4 | doubleSGdoubleTX |