Commitrev - Cisco MGX 8850 Command Reference Manual

Routing switch
Hide thumbs Also See for Cisco MGX 8850:
Table of Contents

Advertisement

Chapter 2
Shelf Management Commands

commitrev

Commit Revision
Completes a graceful upgrade by committing to the operating firmware image as the primary version.
The commitrev command is the necessary conclusion to a graceful upgrade. See the loadrev description
for more details about graceful firmware changes.
The impact of commitrev is:
The order of commands in a graceful upgrade, including the option of aborting the revision change,
appears in the following list. For clarification of where firmware resides after each stage of the upgrade,
refer to
1.
2.
3.
4.
The stages of a graceful upgrade and the reset actions appear in
single-card upgrade, see
showing that, initially, the primary and secondary versions of firmware are 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 progressively changes the primary and secondary firmware versions. If you execute abortrev
before commitrev, one or two cards (redundant pair only) are reset, as the tables show.
Table 2-7
Firmware
Status
Primary
Secondary
Current
Release 2.0, Part Number 78-10467-04 Rev C0, October 2001
It signifies that the primary firmware image activated through the runrev command is accepted.
The previous image is removed from the card's main memory (but continues to reside on disk).
Starting another graceful revision change becomes possible. If you attempt loadrev on the same
card before you execute commitrev, the system blocks loadrev and states that a revision change is
in progress.
You cannot use abortrev to revert to the previous image. To bring a previous image into memory
and run it, you must use setrev to force-load the image (a non-graceful revision change) or execute
restoreallcnf.
Table 2-7
for a single card and
loadrev loads a firmware version from the hard disk to a card's memory. In a non-redundant card
setup, loadrev does not cause the system to reset the card.
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.
If an unacceptable problem occurs, the optional abortrev command restores the previous version of
firmware as well as the previous database contents.
commitrev declares the new primary version to be acceptable and removes the old primary from
main memory (but not the hard disk).
Table
Single-Card Upgrade From 2.x to 2.y
Initial Version
2.x
2.x
2.x
Table 2-8
for a redundant card pair.
2-7. For a redundant-pair upgrade, see
After loadrev
After runrev
2.x
2.y
2.y
2.x
2.x
2.y
After abortrev,
the card is reset.
Cisco MGX 8850 Routing Switch Command Reference
Table 2-7
and
Table
2-8. For a
Table
2-8. The tables start by
After
commitrev
2.y
2.y
2.y
commitrev
2-39

Advertisement

Table of Contents
loading

Table of Contents