Dir 784, Table 50: file directory information – LevelOne GTL-2691 User Manual

Page 784

Advertising
background image

C

HAPTER

24

| System Management Commands

File Management

– 784 –

dir

This command displays a list of files in flash memory.

S

YNTAX

dir [unit:] {boot-rom: | config: | opcode:} [filename]}

unit - Stack unit. (Range: 1-8)
boot-rom

- Boot ROM

(or diagnostic) image file.

config - Switch configuration file.
opcode - Run-time operation code image file.
filename - Name of configuration file or code image. If this file

exists but contains errors, information on this file cannot be shown.

D

EFAULT

S

ETTING

None

C

OMMAND

M

ODE

Privileged Exec

C

OMMAND

U

SAGE

If you enter the command dir without any parameters, the system

displays all files.

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

File information is shown below:

E

XAMPLE

The following example shows how to display all file information:

Console#dir

File Name Type Startup Modify Time Size(bytes)

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

Unit 1:

GTL-2691_Op_V1.2.3.29.bix OpCode N 2012-02-02 10:24:29 14988120

GTL-2691_Op_V1.4.2.10.bix OpCode Y 2012-05-09 09:38:49 15285876

Factory_Default_Config.cfg Config N 2011-12-27 07:20:35 455

startup1.cfg Config Y 2012-10-19 05:48:13 2499

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

Free space for compressed user config files: 1601536

Console#

Table 50: File Directory Information

Column Heading

Description

File Name

The name of the file.

Type

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

Startup

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

Modify Time

The date and time the file was last modified.

Size

The length of the file in bytes.

Advertising