hwSwitchOverStatus
HUAWEI-SWITCHOVER-MIB ·
.1.3.6.1.4.1.2011.6.22.3.1
Object
scalar r/w
Enumeration
The switch of the active/standby switchover. Options: 1. on(1) -indicates that the active/standby switchover is enabled. 2. off(2) -indicates that the active/standby switchover is disabled. If the active/standby switchover is disabled, the system cannot perform data synchronization between the active and standby control boards, manual active/standby switchover, and automatic active/standby switchover. Default:on(1)
Context
- MIB
- HUAWEI-SWITCHOVER-MIB
- OID
.1.3.6.1.4.1.2011.6.22.3.1- 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::hwSwitchOverStatus.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::hwSwitchOverStatus'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | on |
2 | off |