hwAutoSwitchOverStatus
HUAWEI-SWITCHOVER-MIB ·
.1.3.6.1.4.1.2011.6.22.3.5
Object
scalar r/w
Enumeration
Status of auto switchover function. If the value of switchover switch hwSwitchOverStatus
is off(2), the system cannot perform the active/standby switchover.
Options:
1.on(1) -indicates that the automatic switchover is enabled. In this case,
if the values of the hwSwitchOverPeriod, hwSwitchOverInverseDayNo,
and hwSwitchOverTime are set, the system performs the automatic switchover periodically;
if the values of the hwSwitchOverPeriod, hwSwitchOverInverseDayNo, and hwSwitchOverTime
are not set or only partially set, the objects that are not set with values use the default
value, and the system also performs the automatic switchover periodically.
2.off(2) -indicates that the automatic switchover is disabled. If this object is not set with a value,
the system does not perform the automatic switchover.
Default { off }
Context
- MIB
- HUAWEI-SWITCHOVER-MIB
- OID
.1.3.6.1.4.1.2011.6.22.3.5- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- hwSwitchOverControl
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-SWITCHOVER-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-SWITCHOVER-MIB::hwAutoSwitchOverStatus.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-SWITCHOVER-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-SWITCHOVER-MIB::hwAutoSwitchOverStatus'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | on |
2 | off |