Flash/File Commands
4-69
4
Example
This example shows the information displayed by the whichboot command. See
the table under the dir command for a description of the file information displayed by
this command.
boot system
This command specifies the file or image used to start up the system.
Syntax
boot system [unit:] {boot-rom| config | opcode}: filename
The type of file or image to set as a default includes:
• boot-rom* - Boot ROM.
• config* - Configuration file.
• opcode* - Run-time operation code.
• filename - Name of configuration file or code image.
• unit* - Stack unit. (Range: 1-8)
* The colon (:) is required.
Default Setting
None
Command Mode
Global Configuration
Command Usage
• A colon (:) is required after the specified unit number and file type.
• If the file contains an error, it cannot be set as the default file.
Example
Related Commands
dir (4-67)
whichboot (4-68)
Console#whichboot
file name file type startup size (byte)
-------------------------------- ----------------------- ------- -----------
Unit1:
D1014 Boot-Rom Image Y 825336
V31121 Operation Code Y 4951408
startup1.cfg Config File Y 7996
Console#
Console(config)#boot system config: startup
Console(config)#