Deleting Files - Cisco WS-C4003 - Catalyst 4000 Chassis Switch Software Configuration Manual

Software guide
Table of Contents

Advertisement

Using the Flash File System
Upload configuration to bootflash:4012_config.cfg
9942096 bytes available on device bootflash, proceed (y/n) [n]? y
.....
..........
.......
Configuration has been copied successfully.
Console> (enable)
This example shows how to upload a configuration file on bootflash to a TFTP server:
Console> (enable) copy bootflash:4012_config.cfg tftp
IP address or name of remote host []? 172.20.52.3
Name of file to copy to [4012_config.cfg]?
/
File has been copied successfully.
Console> (enable)
This example shows how to upload an image from a remote host into Flash using rcp:
Console> (enable) copy rcp flash
IP address or name of remote host []? 172.20.52.3
Name of file to copy from []? cat4000.6-1-1.bin
Flash device [bootflash]?
Name of file to copy to [cat4000.6-1-1.bin]?
4369664 bytes available on device bootflash, proceed (y/n) [n]? y
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
CCCCCCCCCCCCCCCCCCC
File has been copied successfully.
Console> (enable)

Deleting Files

Use the delete command to delete files on a Flash device.
If you enter the squeeze command on a Flash device, you cannot restore files that you deleted on that
Caution
device before you entered the squeeze command.
To delete files on a Flash device, perform this task in privileged mode:
Task
Step 1
Delete a file on a Flash device.
Step 2
If desired, permanently remove all deleted files on
the Flash device (this operation can take a number
of minutes to complete).
Step 3
Verify the files are deleted.
This example shows how to delete a file from a Flash device:
Console> (enable) delete dns_config.cfg
Console> (enable)
Software Configuration Guide—Catalyst 4000 Family, Catalyst 2948G, Catalyst 2980G, Releases 6.3 and 6.4
30-6
Chapter 30
Command
delete [[m/]device:]filename
squeeze [m/]device:
dir [[m/]device:][filename]
Using the Flash File System
78-12647-02

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 4000 seriesCatalyst 2948gCatalyst 2980g

Table of Contents