
reboot
Specifies the image or configuration file to be used when the system starts and restarts the system.
Syntax: reboot [1 | 2]
reboot filename
reboot filename [1 | 2]
reboot flags value
reboot config filename
reboot filename [1 | 2] [config filename]
1 | 2
Specifies the space in flash memory to read or write.
reboot filename
Name of a file on the local file system to be burned into flash memory.
flags value
Specifies new boot flags to be used when the system is restarted. Boot flags consist of a hexadecimal number, where each bit controls different aspects of the boot process. The upper (left-most) four digits of the boot flag are specific to each of the three platforms (server, modules and bay controller) The lower four digits of the flags are used by all platforms. The following boot flags are supported:
Same on all platforms:
0x00000008 - Fast boot (2 second countdown instead of 10 second countdown).
Server-specific:Use these flags together to circumvent a forgotten password:
0x00010000 - Disable the IPriori CLI password.
0x00020000 - IPriori boots without parsing the configuration file.
Module specific:
0x00080000 - Display all log messages generated by the modules on the console.
Bay specific:
0x20000000 - Display all log messages generated by the bay on the console.config filename
The config keyword specifies that the file specified by filename replaces the current startup script (default is startup.cfg) with the contents of filename at boot time.
Description: The reboot command specifies the image to use when the system is started and then restarts the system. Optionally, enables you to overwrite the existing configuration file.
Use the reboot filename syntax to replace the contents of flash memory with the specified file and restart the system. The file is written to either an empty space in flash memory, or, if both spaces are filled, overwrites the oldest of the two images in flash memory.
Use the config filename keyword and argument to replace the current configuration file (defaults to startup.cfg) with the specified file and restart the system.
Flash memory contains two operational images, identified by 1 or 2. Use the reboot [1 | 2] syntax to change the default operational image in flash memory and restart the system.
Use the reboot filename [1 | 2] syntax to burn the specified file into the specified space in flash memory and restart the system.
Use the reboot flags value syntax to set the boot flags and restart the system.
Use the reboot filename [1 | 2] [config filename] syntax to burn the specified operational image into the specified space in flash memory, replace startup.cfg with the specified configuration file, and restart the system.
Factory Default: None.
Command Mode: Configuration.
Example 1: In the following example, the reboot command:
- Burns the image file newimage.raw into the first space in flash memory. The contents of the configuration file startup.cfg are unchanged
- Restarts the system
router(config)#reboot 1 newimage.raw
Example 2: In the following example, the reboot config command:
- The test.cfg file replaces the current configuration file (defaults to startup.cfg) as the boot file.
- Restarts the system
router(config)#reboot config test.cfg
Example 3: In the following example, the reboot command:
- Overwrites the first space in flash memory with the contents of a file named newimage.raw
- Overwrites the configuration file startup.cfg with the contents of a file named testbed.cfg
- Restarts the system
router(config)#reboot 1 newimage.raw config testbed.cfg
Related Commands: boot
reload
show running-config
show startup-config
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: ConfigFileMgrCmd13.html
Last Updated: 02/25/05 at 14:26:17