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.
Console#whichboot
file name
----------------- -------------- ------- -----------
diag_0060 Boot-Rom image
run_0200 Operation Code
startup
Console#
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.
Default Setting
None
Command Mode
Global Configuration
• Command Usage
• A colon (:) is required after the specified file type.
• If the file contains an error, it cannot be set as the default file.
Example
Console(config)#boot system config: startup
Console(config)#
file type startup size (byte)
Config File
Y
111360
Y
1083008
Y
2710
Flash/File Commands
4-59