Chapter 4
| System Management Commands
File Management
– 126 –
â—† If the public key type is not specified, then both DSA and RSA keys will be
deleted.
Example
This example shows how to delete the test2.cfg configuration file from flash
memory.
Console#delete test2.cfg
Console#
Related Commands
dir (126)
delete public-key (251)
dir This command displays a list of files in flash memory.
Syntax
dir {boot-rom: | config: | opcode: | usbdisk:} [filename]}
boot-rom
- Boot ROM (or diagnostic) image file.
config - Switch configuration file.
opcode - Run-time operation code image file.
usbdisk - System file on a USB memory stick or disk.
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.
â—† A colon (:) is required after the specified unit number.
File information is shown below:
Table 18: File Directory Information
Column Heading Description
File Name The name of the file.
Type File types: Boot-Rom, Operation Code, and Config file.