C
HAPTER
20
| System Management Commands
File Management
– 724 –
RELATED COMMANDS
dir (724)
delete public-key (844)
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)
-------------------------- -------------- ------- ------------------- ----------
ES3528MV2_V1.3.3.4.bix OpCode N 2013-08-16 08:59:24 13596024
ES3528MV2_V1.4.0.0.bix OpCode Y 2013-09-30 03:40:03 13592076
Factory_Default_Config.cfg Config N 2011-11-16 06:49:42 455
startup1.cfg Config Y 2013-10-04 10:46:20 1580
-----------------------------------------------------------------------------
Free space for compressed user config files: 1314816
Console#
Table 52: 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.