Planet Technology SGSW-2840P Switch User Manual


 
User’s Manual of SGSD-1022 / SGSD-1022P
SGSW-2840 / SGSW-2840P
377
Console#
Related Commands
dir
delete public-key
dir
This command displays a list of files in flash memory.
Syntax
dir {{boot-rom: | config: | opcode:} [:filename]}
The type of file or image to display includes:
boot-rom - Boot ROM (or diagnostic) image file.
config -Switch configuration file. opcode - Run-time operation code image file.
filename -Name of the configuration file or code image.
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:
Command Group 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.
Table 5-12 File Directory Information
Example
The following example shows how to display all file information:
Console#dir File name File type Startup Size (byte) ------------------------------------- ---------------------
----------Unit1: SGSD-1022_DIAG_V0011.bix Boot-Rom Image Y 305424
SGSD-1022_RUNTIME_V0035_m.bix Operation Code Y 3018936
Factory_Default_Config.cfg Config File N 490 startup1.cfg Config File Y 4648