Chapter 4
| System Management Commands
File Management
– 96 –
dir This command displays a list of files in flash memory.
Syntax
dir {boot-rom: | config: | opcode:} [filename]}
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.
Default Setting
None
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:
Example
The following example shows how to display all file information:
Console#dir
File Name Type Startup Modify Time Size(bytes)
-------------------------- -------------- ------- ------------------- ---------
Unit 1:
EX3524_Op_V0.0.0.2.bix OpCode Y 2013-10-18 05:21:23 7499044
Factory_Default_Config.cfg Config N 2013-10-18 01:43:38 517
startup1.cfg Config Y 2013-10-16 10:46:12 3559
-----------------------------------------------------------------------------
Free space for compressed user config files : 573440
Used space : 32980992
Total space : 33554432
Console#
Table 15: 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.
Create Time The date and time the file was created.
Size The length of the file in bytes.