2-6
Cisco MGX 8850 Routing Switch Command Reference
Release 2.0, Part Number 78-10467-04 Rev C0, October 2001
Chapter2 Shelf Management Commands
abortrev
abortrev
Abort Revisionreturn to the previous firmware version.
The abortrev command causes the target card to use th e p revio us operational firmware image. It
provides a way out of a graceful upgrade that has shown signs of unacceptable performance. (For
example, a new feature may not perform as exp ec te d.) T he co m ma nds for changing firmware versions
commands run on the PXM45, bu t t hey ca n target either a service module or t he PX M 45 i tsel f.
You can execute the abortrev command after y o u have exec uted ei ther loadrev or runrev but before
commitrev. (After commitrev, the only way to restore th e p r evio us ve r s io n is t o fo r ce- lo ad i t by
executing setrev or restoreallcnf.) The following list outlin es th e seq u en ce f or a grac ef ul up gra de. For
a state-by-state view that elaborates on t hi s s u bj ect , se e Ta ble 2- 5 and Table 2 -6.
1. loadrev loads a firmware version f rom t he h ar d di sk to a cards memory. In a non-re dundant card
setup, loadrev does not cause the system to reset the car d .
2. runrev causes the primary card to start running the new version. For a redundant pair of cards, the
standby becomes the active card then starts running the new version.
3. If an unacceptable problem occur s , the opt iona l abortrev command restores the previous vers ion of
firmware as well as the previous dat ab ase contents.
4. commitrev declares the new primary version to be acceptable and removes the old primary from
main memory (but not the hard disk).
A graceful upgrade takes a single card or a re dundant card pair through different states. In addition, the
stage at which you execute abortrev on a redundant pair determines whether the system resets one or
both cards in the pair. The reset depends on whether you execute abortrev before or after runrev. The
stages of a graceful upgrade and the reset actions appear in Table 2-5 and Table 2 -6. For a single-card
upgrade, see Table 2-5 . For a redundant-pair upgrade, see Table 2- 6.
The tables start by showing that, ini tia ll y, the primary and secondary versions of firmwa re ar e 2. x, so
the only possible operational version is 2.x. The loadrev command loads a generic version called 2 .y,
and the upgrade sequence prog re ssively ch an ge s th e primary and secondary firmware versi on s.
Table2-5 Single-Card Upgrade From 2.x to 2.y
Firmware
Status Initial Version After loadrev After runrev After
commitrev
Primary 2.x 2.x 2.y 2.y
Secondary 2.x 2.y 2.x 2.y
Operational 2.x 2.x 2.y 2.y
After runrev,
the card resets.