Flash/File Commands 4

whichboot

This command displays which files were booted when the system powered up.

Syntax whichboot [unit]

unit - Stack unit. (Always unit 1)

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 type

startup size

file name

(byte)

------------------ -----------

Unit1:------------------------------------

Boot-Rom image

Y

D2218

214124

Operation Code

Y

V2271

1761944

Config File

Y

Factory_Default_Config.cfg

5197

 

 

Console#

 

 

boot system

This command specifies the image used to start up the system.

Syntax

boot system [unit:] {boot-romconfig 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 code image.

unit* - Specifies the unit number. (Always unit 1)

* The colon (:) is required.

Default Setting

None

Command Mode

Global Configuration

4-69

Page 311
Image 311
SMC Networks SMC8150L2 manual Whichboot, Boot system, Syntax whichboot unit