Delete - Cisco MDS 9000 series Command Reference Manual

Hide thumbs Also See for MDS 9000 series:
Table of Contents

Advertisement

Chapter 5
D Commands
S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m

delete

To delete a specified file or directory on a Flash memory device, use the delete command in EXEC mode.
Syntax Description
bootflash:
debug:
log:
modflash:
slot0:
volatile:
filename
Defaults
None.
Command Modes
EXEC mode.
Command History
Release
1.0(2
2.1(1a)
Usage Guidelines
When you delete a file, the software erases the file.
If you attempt to delete the configuration file or image specified by the CONFIG_FILE or BOOTLDR
environment variable, the system prompts you to confirm the deletion. Also, if you attempt to delete the
last valid system image specified in the BOOT environment variable, the system prompts you to confirm
the deletion.
If you specify a directory, the delete command deletes the entire directory and all its contents.
Caution
Examples
The following example deletes the file named test from the Flash card inserted in slot 0.
switch# delete slot0:test
Delete slot0:test? [confirm]
OL-8413-07, Cisco MDS SAN-OS Release 3.x
delete {bootflash:filename | debug:filename | log:filename | modflash:filename | slot0:filename |
volatile:filename}
Flash image that resides on the supervisor module.
Contains the debug files.
Contains the two default logfiles. The file dmesg contains the kernel
log-messages and the file messages contains the system application
log-messages.
Flash image that resides on a module.
Flash image that resides on another module.
Flash image that resides on the volatile file system.
The name of the file to be deleted.
Modification
This command was introduced.
Added debug, log, and modflash keywords.
Cisco MDS 9000 Family Command Reference
delete
5-5

Advertisement

Table of Contents
loading

Table of Contents