Cisco Systems ASR 9014CFD Router User Manual


 
3-18
Cisco ASR 901 Series Aggregation Services Router Hardware Installation Guide
OL-23778-01
Chapter 3 Installing the Cisco ASR 901 Mobile Wireless Router
Powering On the Router
Deleting Files from the Flash Memory
To delete a file from the flash memory, use the delete: filename command followed by the squeeze flash:
command.
When a file is deleted in the Class B Flash file system, the memory space occupied by the deleted file is
not released until you use the squeeze command. Although the memory space once occupied by the
deleted file remains, the deleted file cannot be recovered. To release the memory space occupied by a
deleted file, enter the squeeze flash: command
The following is sample output for deleting a Cisco IOS file from the flash memory, and releasing the
memory space originally occupied by the file.
Router#dir
Directory of flash:/
1 -rw- 30564420 <no date> ngmwr-advipservicesk9-mz
2 -rw- 30564420 <no date> ngmwr-backup
83623932 bytes total (22494964 bytes free)
Router#delete ngmwr-advipservicesk9-mz
Delete filename [ngmwr-advipservicesk9-mz]?
Delete flash:ngmwr-advipservicesk9-mz? [confirm]
Router#show flash:
les_flash_info : 1006 :
System flash directory:
File Length Name/status
1 30564420 ngmwr-advipservicesk9-mz [deleted]
2 30564420 ngmwr-backup
[61128968 bytes used, 22494964 available, 83623932 total]
81920K bytes of processor board System flash (Read/Write)
Router#squeeze flash:
Squeeze operation may take a while. Continue? [confirm]
squeeze in progress...
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
eeeeeeeee
Squeeze of flash complete
Router#dir
Directory of flash:/
2 -rw- 30564420 <no date> ngmwr-backup
83623932 bytes total (22661932 bytes free)
Displaying File Content
To display the contents of a file in the flash memory, use the more flash: filename command.
The following is sample output from the more flash command on a flash card: