hwOpticsPowerThresholdSwitch
HUAWEI-ETHERNET-OPTICMODULE-MIB ·
.1.3.6.1.4.1.2011.5.14.6.5.1.2
Object
column r/w
Enumeration
Optical power threshold value Switch. Options: 1. on(1) -set optical power threshold value 2. off(2) -clear optical power threshold value 3. invalid(-1) -invalid value Default: off(2)
Context
- MIB
- HUAWEI-ETHERNET-OPTICMODULE-MIB
- OID
.1.3.6.1.4.1.2011.5.14.6.5.1.2- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwOpticsPowerThresholdEntry
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-ETHERNET-OPTICMODULE-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-ETHERNET-OPTICMODULE-MIB::hwOpticsPowerThresholdSwitch'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-ETHERNET-OPTICMODULE-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-ETHERNET-OPTICMODULE-MIB::hwOpticsPowerThresholdSwitch.<ifIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-ETHERNET-OPTICMODULE-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-ETHERNET-OPTICMODULE-MIB::hwOpticsPowerThresholdSwitch'
Syntax
Enumeration
Values & Constraints
Enumerated Values
-1 | invalid |
1 | on |
2 | off |