Chapter 3 Initial Switch Router Configurations
Using the Boot Flash Memory SIMM
Viewing the Contents of Boot Flash Memory
You can perform the following tasks with the associated commands to view the contents of the onboard boot flash memory SIMM:
•To determine which file system device you are accessing, use the print working directory (pwd) command.
Router# pwd bootflash:
•To list the directory contents of any boot flash memory media, use the dir [bootflash: ] command.
Router# dir
Directory of bootflash:/
1 | 3153784 | <no | date> | ||
2 | 3153932 | <no | date> |
16777216 bytes total (7315372 bytes free) Router#
Deleting Files from Boot Flash Memory
When you delete a file from boot flash memory, the system marks the file as deleted. Deleted files cannot be recovered. The boot flash memory is not released after the image file has been deleted, only the image file is marked as deleted.
Caution When deleting files from memory, be careful not to delete all the system images. You should always retain one known good image as a backup image.
To delete a file, use the delete command. The following example demonstrates how a specified image file is deleted using the delete command.
Router# dir
Directory of bootflash:/
1 | 3153784 | <no date> | ||
2 | 3153932 | <no date> | ||
16777216 bytes total (7315372 bytes free) |
| |||
Router# delete |
|
| ||
Delete filename |
| |||
Delete |
| |||
Router# dir |
|
|
| |
Directory of bootflash:/ |
|
| ||
2 | 3153932 | <no date> |
16777216 bytes total (7315372 bytes free)
| Catalyst |