Command Line Interface
4-68
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 file or 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 configuration file or code image.
* The colon (:) is required.
Default Setting
None
Console#dir
File name File type Startup Size (byte)
------------------------------------- -------------- ------- -----------
Unit1:
D1016 Boot-Rom Image Y 1129180
V31018 Operation Code Y 4095300
Factory_Default_Config.cfg Config File N 455
startup1.cfg Config File Y 3348
---------------------------------------------------------------------------
Total free space: 26738688
Console#
Console#whichboot
File name File type Startup Size (byte)
-------------------------------- -------------- ------- -----------
Unit1:
D1016 Boot-Rom Image Y 1129180
V31018 Operation Code Y 4095300
startup1.cfg Config File Y 3348
Console#