hwEraseData
HUAWEI-SWITCHOVER-MIB ·
.1.3.6.1.4.1.2011.6.22.1.2.13
Object
scalar r/w
Enumeration
The erasing of the database. If the configuration data of the active or standby control board needs to be erased, the database requires to be erased. After the database is erased, the associated active or standby control board needs to be reset to make the erasing of the database take effect. Options: 1. active(1) -indicates the erasing of only the database of the active control board. 2. standby(2) -indicates the erasing of only the database of the standby control board. 3. all(3) -indicates the erasing of both databases of the active and standby control boards. 4. noEraseData(4) -indicates that the operation of erasing the database is not being performed.
Context
- MIB
- HUAWEI-SWITCHOVER-MIB
- OID
.1.3.6.1.4.1.2011.6.22.1.2.13- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- hwDataSave
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::hwEraseData.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::hwEraseData'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | active |
2 | standby |
3 | all |
4 | noEraseData |