Chapter 34
Working With the Flash File System
Working With the Flash File System on the Switch
This example shows how to copy the running configuration to Flash memory:
Console> (enable) copy config flash
Flash device [bootflash]? bootflash:
Name of file to copy to []? 4012_config.cfg
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 memory using the copy rcp
flash command:
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
Enter the delete command to delete files from a Flash device.
If you enter the squeeze command on a Flash device, you cannot restore files that you deleted from that
Caution
device before you entered the squeeze command.
—
Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide
Release 8.1
34-5
78-15486-01