Flash/File Commands 4

Command Mode

Privileged Exec

Command Usage

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

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

File information is shown below:

 

Table 4-25. File Directory Information

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)

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

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

D2.2.1.3

Boot-Rom image

Y

169740

V2.2.1.9

Operation Code

Y

1635684

Factory_Default_Config.cfg

Config File

Y

5013

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

 

Total free

space: 5373952

Console#

 

 

 

whichboot

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

Syntax whichboot [unit]

unit - Specifies the unit number.

Default Setting

None

Command Mode

Privileged Exec

4-65

Page 241
Image 241
SMC Networks 16 10BASE-T manual Whichboot, File Directory Information, Column Heading Description, Syntax whichboot unit