
upgrade all
Changes the boot image on any combination of servers, modules, and bay controllers; or on all platforms.
Syntax: upgrade all package-file
upgrade [bay &| module &| server] {package-file}
filename
Name of the platform specific file on the local file system to be burned into flash memory.
package-file
Name of a package file.
Description: Image upgrades can be performed to all or any combination of platforms, with a single command when the package file is provided. Image upgrades can be performed to all elements of a single platform, i.e. bay, module or server, using the appropriate keyword and specifying the package file. When a package file is specified the image as well as FPGA, ROM, and POST for modules are upgraded. The image, as well as ROM and POST for servers and bay controllers are upgraded when the appropriate keyword(s) is specified.
The system knows which flash bank the current image is loaded into and automatically selects the non-current flash bank for this upgrade.
Use the upgrade all package-file command to load the operational image contained in the specified package file for all servers, modules and bay controllers.
Use the upgrade server package-file command to load the operational image contained in the specified package file for all servers.
Use the upgrade module package-file command to load the operational image contained in the specified package file for all routing modules.
Use the upgrade bay package-file command to load the operational image contained in the specified package file for all bay controllers.
Factory Default: None.
Command Mode: Configuration.
Example: In the following example, the upgrade all r0502070.pkg command upgrades all servers, bays, and modules with the 5.2.7 image, ROM, POST and FPGAs:
router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
upper-2(config)#upgrade all r0502070.pkg
Your are going to upgrade primary server.
You may need to upgrade other servers in the system, if any.
You may upgrade all server, bay, and module images in the system.
Are you sure you want to do this [yes|no]? yes
Upgrading SERVER images using r0502070.pkg file.
Download server operational image......
Extracting image............done
Burning operational image B:\TMP\sv527.cmp into location 1 for server:
Preparing to perform burn ......done
Erasing space for image ................done
Writing image to chip ......................................................done
Download server bootRom image......
Extracting image............done
Upgrading BAY images using r0502070.pkg file.
Download bay operational image......
Extracting image............done
Burning operational image B:\TMP\bc527.cmp into location 0 for bay controller(s):
[1, 1], [1, 2]
Done (bay 1, slot 2)
Done (bay 1, slot 1)
Burn Results: 2 succeeded 0 failed
Download bay bootRom image......
Extracting image............done
Burning bootrom image B:\TMP\bc527.rom into location 0 for bay controller(s):
[1, 1], [1, 2]
Done (bay 1, slot 2)
Done (bay 1, slot 1)
Burn Results: 2 succeeded 0 failed
Download bay post image......
Extracting image............done
Burning post image B:\TMP\bc527.pst into location 0 for bay controller(s):
[1, 1], [1, 2]
Done (bay 1, slot 2)
Done (bay 1, slot 1)
Burn Results: 2 succeeded 0 failed
Upgrading MODULE images using r0502070.pkg file.
Download module operational image......
Extracting image............done
Burning operational image B:\TMP\rt527.cmp into location 0 for module(s):
[1, 4], [1, 5], [1, 6], [1, 7], [1,14], [1,15], [1,16]
[1,17]
Reading image............done
Sending image............done
Done (bay 1, slot 4)
Done (bay 1, slot 5)
Done (bay 1, slot 6)
Done (bay 1, slot 7)
Done (bay 1, slot 14)
Done (bay 1, slot 15)
Done (bay 1, slot 16)
Done (bay 1, slot 17)
Burn Results: 8 succeeded 0 failed
Download module bootRom image......
Extracting image............done
Burning bootrom image B:\TMP\rt527.rom into location 0 for module(s):
[1, 4], [1, 5], [1, 6], [1, 7], [1,14], [1,15], [1,16]
[1,17]
Reading image............done
Sending image............done
Done (bay 1, slot 4)
Done (bay 1, slot 5)
Done (bay 1, slot 6)
Done (bay 1, slot 7)
Done (bay 1, slot 14)
Done (bay 1, slot 15)
Done (bay 1, slot 16)
Done (bay 1, slot 17)
Burn Results: 8 succeeded 0 failed
Download module post image......
Extracting image............done
Burning post image B:\TMP\rt527.pst into location 0 for module(s):
[1, 4], [1, 5], [1, 6], [1, 7], [1,14], [1,15], [1,16]
[1,17]
Reading image............done
Sending image............done
Done (bay 1, slot 4)
Done (bay 1, slot 5)
Done (bay 1, slot 6)
Done (bay 1, slot 7)
Done (bay 1, slot 14)
Done (bay 1, slot 15)
Done (bay 1, slot 16)
Done (bay 1, slot 17)
Burn Results: 8 succeeded 0 failed
Download module linecard image......
Extracting image............done
Reading image............done
Sending image............done
................
MODULE 1/4: FPGA image successfully downloaded to module
Extracting image............done
Reading image............done
Sending image............done
.....
MODULE 1/7: FPGA image successfully downloaded to module
Download module switchcard image......
Extracting image............done
Reading image............done
Sending image............done
..................
MODULE 1/4: FPGA image successfully downloaded to module
.
MODULE 1/7: FPGA image successfully downloaded to module
UPGRADE SUMMARY: (S=Succeeded, F=Failed, N=N/A)
Finished at MON JUN 02 13:12:13 2003, taking 6:7 minutes
-----------------------------------------------------------------
| | OP | ROM | POST | LC_FPGA | SC_FPGA |
-----------------------------------------------------------------
| SRV(2) | S | S | N | N | N |
-----------------------------------------------------------------
| BAY(1/1) | S | S | S | N | N |
-----------------------------------------------------------------
| BAY(1/2) | S | S | S | N | N |
-----------------------------------------------------------------
| MOD(1/4) | S | S | S | S | S |
-----------------------------------------------------------------
| MOD(1/5) | S | S | S | N | N |
-----------------------------------------------------------------
| MOD(1/6) | S | S | S | N | N |
-----------------------------------------------------------------
| MOD(1/7) | S | S | S | S | S |
-----------------------------------------------------------------
| MOD(1/14) | S | S | S | N | N |
-----------------------------------------------------------------
| MOD(1/15) | S | S | S | N | N |
-----------------------------------------------------------------
| MOD(1/16) | S | S | S | N | N |
-----------------------------------------------------------------
| MOD(1/17) | S | S | S | N | N |
-----------------------------------------------------------------
router(config)#
Example: In the following example, the upgrade server package-file command upgrades all servers installed on the Avici router:
router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
upper-2(config)#upgrade server r0502070.pkg
Your are going to upgrade primary server.
You may need to upgrade other servers in the system, if any.
You may upgrade all server and bay images in the system.
Are you sure you want to do this [yes|no]? yes
Upgrading SERVER images using r0502070.pkg file.
Download server operational image......
Extracting image............done
Burning operational image B:\TMP\sv527.cmp into location 2 for server:
Preparing to perform burn ......done
Erasing space for image ................done
Writing image to chip ......................................................done
Download server bootRom image......
Extracting image............done
Upgrading BAY images using r0502070.pkg file.
Download bay operational image......
Extracting image............done
Burning operational image B:\TMP\bc527.cmp into location 0 for bay controller(s):
[1, 1], [1, 2]
Done (bay 1, slot 2)
Done (bay 1, slot 1)
Burn Results: 2 succeeded 0 failed
Download bay bootRom image......
Extracting image............done
Burning bootrom image B:\TMP\bc527.rom into location 0 for bay controller(s):
[1, 1], [1, 2]
Done (bay 1, slot 2)
Done (bay 1, slot 1)
Burn Results: 2 succeeded 0 failed
Download bay post image......
Extracting image............done
Burning post image B:\TMP\bc527.pst into location 0 for bay controller(s):
[1, 1], [1, 2]
Done (bay 1, slot 2)
Done (bay 1, slot 1)
Burn Results: 2 succeeded 0 failed
UPGRADE SUMMARY: (S=Succeeded, F=Failed, N=N/A)
Finished at MON JUN 02 13:17:21 2003, taking 2:29 minutes
-----------------------------------------------------------------
| | OP | ROM | POST | LC_FPGA | SC_FPGA |
-----------------------------------------------------------------
| SRV(2) | S | S | N | N | N |
-----------------------------------------------------------------
| BAY(1/1) | S | S | S | N | N |
-----------------------------------------------------------------
| BAY(1/2) | S | S | S | N | N |
-----------------------------------------------------------------
router(config)#
Related Commands: boot
package-file
reload
show boot
show flash
show package-file
Copyright © 2005
Avici Systems Inc.
Avici® and TSR®
is a registered trademark of Avici Systems Inc.
IPriori, Composite Links, SSR, QSR, and NSR® are
trademarks of Avici Systems Inc.
Source
File Name: ConfigFileMgrCmd.fm
HTML File Name: ConfigFileMgrCmd27.html
Last Updated: 02/25/05 at 14:26:17