Flash/File Commands
4-67
4
Example 
The following example shows how to display all file information:
whichboot
This command displays which files were booted when the system powered up.
Default Setting 
None
Command Mode 
Privileged Exec
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 image used to start up the system.
Syntax 
boot system {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 the configuration file or image name.
* The colon (:) is required.
Console#dir
  file name      file type startup size (byte)
 -------------------------------- -------------- ------- -----------
 Unit1:
   Diag.bix Boot-Rom image       Y      818812
     V11022 Operation Code       Y     2402452
       Factory_Default_Config.cfg    Config File       N         374
    startup    Config File       Y        7606
 -------------------------------------------------------------------
                   Total free space:   3932160
Console#
Console#whichboot
  file name      file type startup size (byte)
 -------------------------------- -------------- ------- -----------
 Unit1:
   Diag.bix Boot-Rom image       Y      818812
     V11022 Operation Code       Y     2402452
    startup    Config File       Y        7606
Console#