Delete – Dell POWEREDGE M1000E User Manual

Page 130

Advertising
background image

2-100

Cisco Catalyst Blade Switch 3130 and 3032 for Dell Command Reference

OL-13271-03

Chapter 2 Cisco Catalyst Blade Switch 3130 and 3032 for Dell Cisco IOS Commands

delete

delete

Use the delete privileged EXEC command on the switch stack or on a standalone switch to delete a file
or directory on the flash memory device.

delete [/force] [/recursive] filesystem:/file-url

Syntax Description

Command Modes

Privileged EXEC

Command History

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 Configuration Fundamentals Command Reference, 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

/force

(Optional) Suppress the prompt that confirms the deletion.

/recursive

(Optional) Delete the named directory and all subdirectories and the files contained in
it.

filesystem:

Alias for a flash file system.

The syntax for the local flash file system on the stack member or the stack master:

flash:

From the stack master, the syntax for the local flash file system on a stack member:

flash member number:

/file-url

The path (directory) and filename to delete.

Release

Modification

12.2(40)EX1

This command was introduced.

Command

Description

archive download-sw

Downloads a new image to the switch and overwrites or keeps the existing
image.

Advertising