Displaying Contents Of The Flash Memory; Deleting Files From The Flash Memory - Cisco ASR 901S Series Installation Manual

Hide thumbs Also See for ASR 901S Series:
Table of Contents

Advertisement

Installing the Router
The following is sample output for copying the file from an external location to the internal flash memory.
Router# copy tftp: flash
Address or name of remote host []? 10.64.71.240
Source filename []? /ngmwr-advipservicesk9-mz
Destination filename [ngmwr-advipservicesk9-mz]?
Accessing tftp://10.64.71.240//ngmwr-advipservicesk9-mz...
Erase flash: before copying? [confirm]n
Loading /ngmwr-advipservicesk9-mz from 10.64.71.240 (via FastEthernet0/0):
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[OK - 30480936 bytes]
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
OL-29732-01
Cisco ASR 901S Series Aggregation Services Router Hardware Installation Guide
File and Directory Procedures
71

Advertisement

Table of Contents
loading

Table of Contents