Delete - Cisco ME 3800X Command Reference Manual

Hide thumbs Also See for ME 3800X:
Table of Contents

Advertisement

delete

delete
To delete a file or directory on the flash memory device, use the delete command in privileged EXEC
mode.
Syntax Description
/force
/recursive
flash
nvram
Command Modes
Privileged EXEC
Command History
Release
12.2(52)EY
Usage Guidelines
If you use the /force keyword, you are prompted once at the beginning of the deletion process to confirm
the deletion.
If you use the /recursive keyword without the /force keyword, you are prompted to confirm the deletion
of every file.
The prompting behavior depends on the setting of the file prompt global configuration command. By
default, the switch prompts for confirmation on destructive file operations. For more information about
this command, see the Cisco IOS Command Reference for Release 12.2.
Examples
This example shows how to remove the directory that contains the old software image after a successful
download of a new image:
Switch# delete /force /recursive flash:/old-image
You can verify that the directory was removed by entering the dir filesystem: privileged EXEC
command.
Related Commands
Command
archive download-sw
Cisco ME 3800X and ME 3600X Switch Command Reference
2-54
delete [/force] [/recursive] {flash | nvram}
(Optional) Suppresses the prompt that confirms the deletion.
(Optional) Deletes the named directory and all subdirectories and the files contained
in it.
Deletes the flash directory.
Deletes NVRAM.
Modification
This command was introduced.
Description
Downloads a new image to the switch and overwrites or keeps the existing
image.
Chapter 2
Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands
OL-28238-01

Advertisement

Table of Contents
loading

This manual is also suitable for:

Me 3600x

Table of Contents