hwXponDeviceOpticalModuleAlarmControlSwitch
HUAWEI-XPON-COMMON-MIB ·
.1.3.6.1.4.1.2011.6.145.1.1.4.36
Object
scalar r/w
Enumeration
The object is used to decide whether initial optical module alarm should be reported or suppressed when a port is shut down.
Options:
1.enable(1) - When a port is shut down, no alarm will be reported if we plug-out the optical module.
2.disable(2) - When a port is shut down, plug-out the optical module, alarm will be reported;
But if there's no optical module at the beginning, no alarm will be reported.
The default value is enable(1).
Context
- MIB
- HUAWEI-XPON-COMMON-MIB
- OID
.1.3.6.1.4.1.2011.6.145.1.1.4.36- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- hwXponDeviceCommonGlobalObjects
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-XPON-COMMON-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-XPON-COMMON-MIB::hwXponDeviceOpticalModuleAlarmControlSwitch.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-XPON-COMMON-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-XPON-COMMON-MIB::hwXponDeviceOpticalModuleAlarmControlSwitch'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | enable |
2 | disable |