FLASH/FILE COMMANDS

Command Mode

Privileged Exec

Command Usage

If you enter the command dir without any parameters, the system displays all files.

File information is shown below:

Column Heading

Description

file name

The name of the file.

 

 

file type

File types: Boot-Rom, Operation Code, and Config

 

file.

 

 

startup

Shows if this file is used when the system is started.

 

 

size

The length of the file in bytes.

 

 

Example

The following example shows how to display all file information.

Console#dir

 

 

 

file name

file type startup

size (byte)

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

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

-----------

diag_0060

Boot-Rom image

Y

111360

run_01642

Operation Code

N

1074304

run_0200

Operation Code

Y

1083008

Factory_Default_Config.cfg

Config File

N

2574

startup

Config File

Y

2710

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

Total free space:

0

Console#

whichboot

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

Default Setting

None

Command Mode

Privileged Exec

4-91

Page 335
Image 335
SMC Networks SMC8624/48T manual Whichboot, Following example shows how to display all file information