All MIBs › CISCO-IMAGE-UPGRADE-MIB › ciuUpgradeOpCommand
ciuUpgradeOpCommand
Module: CISCO-IMAGE-UPGRADE-MIB
OID (symbolic): CISCO-IMAGE-UPGRADE-MIB::ciuUpgradeOpCommand
OID (numeric): 1.3.6.1.4.1.9.9.360.1.1.4.1
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: The command to be executed. Note that it is possible for a system to support only a subset of these commands. If a command is unsupported, it will complete immediatly with the 'invalidOperation' error being reported in the ciuUpgradeOpStatus object. The 'check' must be performed first before 'install' command can be executed. If 'install' is performed first the operation would fail. So 'install' will be allowed only if a read of this object returns 'check' and the value of object ciuUpgradeOpStatus is 'success'. Also 'check' will be allowed only if a read of this object returns 'none'.
Command Remarks
none if this object is read without performing any operation listed above, 'none' would be returned. Also 'none' would be returned for a read operation if a cleanup of the previous upgrade operation is completed either through the issue of 'done' command or the maximum timeout of 5 minutes is elapsed. Setting this object to 'none', agent would return a success without any upgrade operation being performed. done if this object returns any value other than 'none', then setting this to 'done' would do the required cleanup of previous upgrade operation and make the system ready for any new upgrade operation. This is needed because the system maintains the status of the previous upgrade operation for a maximum time of 5 minutes before it does the cleanup. During this period no new upgrade operation is allowed. install for all the physical entities listed in the ciuUpgradeTargetTable perform the required upgrade operation listed in that table. However the upgrade operation for a module would not be done if the current running image and the image to be upgraded given as an input through the ciuImageLocInputTable are the same. check check the version compatibility for the given set of image files against the current system configuration.
What is ciuUpgradeOpCommand?
This read-write field is used to trigger an image upgrade operation on the device; unsupported commands complete immediately with an invalid-operation error reported in the corresponding status object.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.9.9.360.1.1.4.1 snmpwalk -v2c -c public <target> CISCO-IMAGE-UPGRADE-MIB::ciuUpgradeOpCommand
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.9.9.360.1.1.4.1.1 snmpget -v2c -c public <target> CISCO-IMAGE-UPGRADE-MIB::ciuUpgradeOpCommand.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.9.9.360.1.1.4.1.1 i <value>
Start monitoring Cisco modular chassis platforms (ASR/Nexus-class) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the CISCO-IMAGE-UPGRADE-MIB::ciuUpgradeOpCommand OID value, configure state conditions and alerts, and monitor any Cisco modular chassis platforms (ASR/Nexus-class) from a single console.
OID Breakdown
Upper-level ancestors (8 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| 1.3.6.1.4.1.9 | cisco | CAT2600-MIB |
| 1.3.6.1.4.1.9.9 | ciscoMgmt | CISCO-SMI |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.9.9.360 | ciscoImageUpgradeMIB | CISCO-IMAGE-UPGRADE-MIB |
| 1.3.6.1.4.1.9.9.360.1 | ciscoImageUpgradeMIBObjects | CISCO-IMAGE-UPGRADE-MIB |
| 1.3.6.1.4.1.9.9.360.1.1 | ciscoImageUpgradeConfig | CISCO-IMAGE-UPGRADE-MIB |
| 1.3.6.1.4.1.9.9.360.1.1.4 | ciscoImageUpgradeOp | CISCO-IMAGE-UPGRADE-MIB |
| 1.3.6.1.4.1.9.9.360.1.1.4.1 | ciuUpgradeOpCommand | CISCO-IMAGE-UPGRADE-MIB |