Command Line Interface
4-66
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 displaye d 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.
The colon (:) is required.
filename - Name of the configuration file or image name.
Console#dir
file name file type startup size (byte)
-------------------------------- -------------- ------- -----------
diag2.0.2.2 Boot-Rom image Y 813880
4524C_61 Operation Code Y 2184064
Factory_Default_Config.cfg Config File N 374
startup Config File N 2827
startup-config Config File Y 2863
-------------------------------------------------------------------
Total free space: 3932160
Console#
Console#whichboot
file name file type startup size (byte)
-------------------------------- -------------- ------- -----------
diag2.0.2.2 Boot-Rom image Y 813880
4524C_61 Operation Code Y 2184064
startup-config Config File Y 2863
Console#