hwOTCh0OnlineState
HUAWEI-ENVIRONMENT-MIB ·
.1.3.6.1.4.1.2011.6.1.1.7.1.60
Object
column Enumeration
The state of channel 0 for the optical transmitter. Options: 1.normal(1) - indicates that optical transmitter channel 0 is normal 2.offline(2) - indicates that optical transmitter channel 0 is offline 3.fault(3) - indicates that optical transmitter channel 0 is fault 4.config(4) - indicates that optical transmitter channel 0 is config 5.autoload(5) - indicates that optical transmitter channel 0 is autoload 6.manualshutdown(6) - indicates that optical transmitter channel 0 is manualshutdown 7.mismatch(7) - indicates that optical transmitter channel 0 is mismatch
Context
- MIB
- HUAWEI-ENVIRONMENT-MIB
- OID
.1.3.6.1.4.1.2011.6.1.1.7.1.60- 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::hwOTCh0OnlineState'
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::hwOTCh0OnlineState.<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::hwOTCh0OnlineState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | normal |
2 | offline |
3 | fault |
4 | config |
5 | autoload |
6 | manualshutdown |
7 | mismatch |