4 Command Line Interface

whichboot

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

Syntax whichboot [unit]

unit - Stack unit. (Range: 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 (byte)

file name

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

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

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

Boot-Rom image

Y

214124

D2218

V2271

Operation Code

Y

1761944

Factory_Default_Config.cfg

Config File

Y

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. (Range: 1)

* The colon (:) is required.

Default Setting

None

Command Mode

Global Configuration

Command Usage

A colon (:) is required after the specified unit number and file type.

If the file contains an error, it cannot be set as the default file.

4-90

Page 386
Image 386
Accton Technology ES3528M-SFP manual Whichboot, Boot system, Syntax whichboot unit