24-4
Catalyst 6000 Family Software Configuration Guide—Releases 6.3 and 6.4
78-13315-02
Chapter 24 Working With the Flash File System
Working with the Flash File System
This example shows how to list the files on the default Flash device:
Console> (enable)
dir
-#- -length- -----date/time------ name
4 3134688 Mar 15 1999 08:27:01 cat6000-sup.5-2-1-CSX.bin
5 3231989 Jan 24 1999 12:04:40 cat6000-sup.5-1-1-CSX.bin
6 135 Feb 17 1999 11:30:05 dns_config.cfg
1213952 bytes available (6388224 bytes used)
Console> (enable)
This example shows how to list the files on a Flash device other than the default device:
Console> (enable)
dir slot0:
-#- -length- -----date/time------ name
1 3209261 Jun 16 1998 13:18:19 cat6000-sup.5-2-1-CSX.bin
2 135 Jul 17 1998 11:32:53 dns-config.cfg
3 3231989 Jul 17 1998 16:54:23 cat5000-sup3.4-1-2.bin
4 8589 Jul 17 1998 17:02:52 6000_config.cfg
9933504 bytes available (6450496 bytes used)
Console> (enable)
This example shows how to list the deleted files on the default Flash device:
Console> (enable)
dir deleted
-#- ED --type-- --crc--- -seek-- nlen -length- -----date/time------ name
1 .D ffffffff 81a027ca 41bdc 22 7004 Apr 01 1998 15:27:45 5002.config.
4.1.98.cfg
2 .D ffffffff ccce97a3 43644 23 6630 Apr 01 1998 15:36:47 5002.default
.config.cfg
3 .D ffffffff 81a027ca 45220 15 7004 Apr 19 1998 10:05:59 5002_config.
cfg
1213952 bytes available (6388224 bytes used)
Console> (enable)
Copying Files
To copy a file, perform one of these tasks in privileged mode:
Task
Command
Copy a Flash file to a TFTP server, rcp server,
Flash memory, another Flash device, or to the
running configuration.
copy
file-id
{
tftp
|
rcp
|
flash
|
file-id
|
config
}
Copy a file from a TFTP server, rcp server to
Flash memory, to a Flash device, or to the running
configuration.
copy
{
tftp
|
rcp
} {
flash
|
file-id
|
config
}
Copy a file from Flash memory to a TFTP server,
rcp server, to a Flash device, or to the running
configuration.
copy flash
{
tftp
|
rcp
|
file-id
|
config
}
Copy the running configuration to Flash memory,
another Flash device, to a TFTP server, or rcp
server.
copy config
{
flash
|
file-id
|
tftp
|
rcp
}