Cisco Systems ASR 901 10G Saw User Manual


 
3-26
Cisco ASR 901 10G Series Aggregation Services Router Hardware Installation Guide
OL-28105-02
Chapter 3 Installing the Cisco ASR 901 10G Router
Powering on the Router
Verifying checksum... OK (0xA6AD)
30480936 bytes copied in 196.968 secs (154751 bytes/sec)
Displaying Contents of the Flash Memory
To display the contents (directories and files) of the flash memory formatted with a Class B flash file
system, use the dir: command.
The following is sample output for displaying the contents of the flash memory with a Class B flash file
system:
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)
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...