26-7
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
OL-8978-04
Chapter 26 Working With the Flash File System
Working with the Flash File System on the Switch
This example shows how to download a configuration file from a TFTP server for storage on a flash
device:
Console> (enable)
copy tftp flash
IP address or name of remote host []?
172.20.52.3
Name of file to copy from []?
dns-config.cfg
Flash device [slot0]?
Name of file to copy to [dns-config.cfg]?
9932056 bytes available on device slot0, proceed (y/n) [n]?
y
/
File has been copied successfully.
Console> (enable)
This example shows how to copy the running configuration to flash memory:
Console> (enable)
copy config flash
Flash device [bootflash]?
slot0:
Name of file to copy to []?
6000_config.cfg
Upload configuration to slot0:6000_config.cfg
9942096 bytes available on device slot0, proceed (y/n) [n]?
y
.....
..........
.......
..........
...........
..
Configuration has been copied successfully.
Console> (enable)
This example shows how to upload a configuration file on a flash device to a TFTP server:
Console> (enable)
copy slot0:6000_config.cfg tftp
IP address or name of remote host []? 172.20.52.3
Name of file to copy to [6000_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 []?
6000_config.cfg
Flash device [bootflash]?
Name of file to copy to [6000_config.cfg]?
4369664 bytes available on device bootflash, proceed (y/n) [n]?
y
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
CCCCCCCCCCCCCCCCCCC
File has been copied successfully.
Console> (enable)