hwPatchOperation
HUAWEI-LOAD-BACKUP-MIB ·
.1.3.6.1.4.1.2011.6.6.2.4.2
Object
scalar Enumeration
The operation of patching file. Options: 1.patchnull(0) -patchnull. 2.patchload(1) -Load the Patch. 3.patchactive(2) -Active the Patch. 4.patchdeactive(3) -Deavtive the Patch. 5.patchrun(4) -Run the Patch. 6.patchdelete(5) -Delete the Patch. 7.patchrollback(6) -RollBack the Patch. 8.patchshow(7) -Query the Patch. 9.patchrestore(8) -Restore the Patch. 10.patchbatchrun(9)-Batch run the Patch.
Context
- MIB
- HUAWEI-LOAD-BACKUP-MIB
- OID
.1.3.6.1.4.1.2011.6.6.2.4.2- Type
- scalar
- Access
- notifyonly
- Status
- current
- Parent
- hwPatchTrapsVbOids
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-LOAD-BACKUP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-LOAD-BACKUP-MIB::hwPatchOperation.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-LOAD-BACKUP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-LOAD-BACKUP-MIB::hwPatchOperation'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | patchnull |
1 | patchload |
2 | patchactive |
3 | patchdeactive |
4 | patchrun |
5 | patchdelete |
6 | patchrollback |
7 | patchshow |
8 | patchrestore |
9 | patchbatchrun |