Chapter 4 System Startup and Basic System Configuration
Using RP Flash Memory Cards
dir Command
To list the directory contents of the flash memory in use, enter the dir
Where device-name can be slot0:, slot1:, or bootflash:.
The following example shows the contents of the flash memory card in slot 0.
Milo# dir slot0
Directory of slot0:/
1 | 122015 | Sep 30 | 1999 | 15:03:55 myfile1 | |||
2 | 2054979 | Sep 30 | 1999 | 15:17:33 | |||
3 | 6670560 | Sep | 30 | 1999 | 15:22:49 | ||
4 | 5560 | Oct | 08 | 1999 | 16:54:53 | fun1 |
20578304 bytes total (9661756 bytes free) Milo#
delete Command
To delete a file from flash memory, use the cd command to select the flash memory device and then enter the delete filename command.
•Where filename is any file within the selected flash memory media.
The following example shows how to delete the file named fun1 from the current flash memory card directory in slot 0.
Milo# cd slot0: |
|
|
| ||
Milo# delete | slot0:fun1 |
|
|
| |
Milo# dir |
|
|
|
| |
Directory of | slot0:/ |
|
|
| |
1 | 122015 | Sep 30 | 1999 | 15:03:55 myfile1 | |
2 | 2054979 | Sep 30 | 1999 | 15:17:33 | |
3 | 6670560 | Sep 30 | 1999 | 15:22:49 |
20578304 bytes total (9661756 bytes free) Milo#
Files that are deleted from the current flash memory directory are removed from the directory list but are not erased (they still occupy space in memory). This allows you to recover a deleted file at a later time using the undelete command. To permanently remove deleted files use the squeeze command.
| Cisco 12010, Cisco 12410, and Cisco 12810 Router Installation and Configuration Guide |
|