2.4.2. delete

Syntax

delete (startrup-config | backup-config | flash://)

Parameter

flash://

Specify the configuration file stored in flash to delete. Available files are:flash://startup-configflash://backup-config

startup-config

Delete startup configuration file

backup-config

Delete backup configuration file

Default

No default value for this command.

Mode

Privileged EXEC

Usage

Use “delete” command to delete configuration files or use “delete system”command to delete firmware image stored in flash. The “delete startup-config” command is using to restore factory default and it is equal to command “restore-defaults”.

Example

This example shows how to delete backup configuration file.

Switch# delete backup-config

This example shows how to show file status in flash.

Switch# show flash
File Name File Size Modified
------------------------ ---------------- ------------------------
startup-config 1191 2000-01-01 00:00:23
backup-config 1607 2000-01-01 08:36:23
rsa1 974 2000-01-01 00:00:18
rsa2 1675 2000-01-01 00:00:18
dsa2 668 2000-01-01 00:00:18
ssl_cert 993 2000-01-01 00:00:18
image0 (active) 4372401 2012-09-24 01:57:29
image1 (backup) 0