11.07.2015 Views

Catalyst 3750-E and 3560-E Switch Cisco IOS ... - DNIP . NET

Catalyst 3750-E and 3560-E Switch Cisco IOS ... - DNIP . NET

Catalyst 3750-E and 3560-E Switch Cisco IOS ... - DNIP . NET

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

deleteChapter 2<strong>Catalyst</strong> <strong>3750</strong>-E <strong>and</strong> <strong>3560</strong>-E <strong>Switch</strong> <strong>Cisco</strong> <strong>IOS</strong> Comm<strong>and</strong>sdeleteUse the delete privileged EXEC comm<strong>and</strong> on the switch stack or on a st<strong>and</strong>alone switch to delete a fileor directory on the flash memory device.delete [/force] [/recursive] filesystem:/file-urlSyntax Description/force/recursivefilesystem:/file-url(Optional) Suppress the prompt that confirms the deletion.(Optional) Delete the named directory <strong>and</strong> all subdirectories <strong>and</strong> the files contained init.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:The path (directory) <strong>and</strong> filename to delete.Comm<strong>and</strong> ModesPrivileged EXECComm<strong>and</strong> HistoryRelease12.2(35)SE2ModificationThis comm<strong>and</strong> was introduced.Usage GuidelinesIf you use the /force keyword, you are prompted once at the beginning of the deletion process to confirmthe deletion.If you use the /recursive keyword without the /force keyword, you are prompted to confirm the deletionof every file.The prompting behavior depends on the setting of the file prompt global configuration comm<strong>and</strong>. Bydefault, the switch prompts for confirmation on destructive file operations. For more information aboutthis comm<strong>and</strong>, see the <strong>Cisco</strong> <strong>IOS</strong> Configuration Fundamentals Comm<strong>and</strong> Reference, Release 12.2.ExamplesThis example shows how to remove the directory that contains the old software image after a successfuldownload of a new image:<strong>Switch</strong># delete /force /recursive flash:/old-imageYou can verify that the directory was removed by entering the dir filesystem: privileged EXECcomm<strong>and</strong>.Related Comm<strong>and</strong>sComm<strong>and</strong>archive download-swDescriptionDownloads a new image to the switch <strong>and</strong> overwrites or keeps the existingimage.2-128<strong>Catalyst</strong> <strong>3750</strong>-E <strong>and</strong> <strong>3560</strong>-E <strong>Switch</strong> Comm<strong>and</strong> ReferenceOL-9776-08

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!