[ Contents] [ Prev] [ Next] [ Report an Error]

Cleaning Up Files

To clean up files, you use CLI commands to delete the backup software image, rotate log files, and remove other unnecessary files.

When you upgrade software on the router, it creates a backup image of the software that was previously installed. To create enough space on a 256-MB compact flash for an upgrade, use the request system software delete backup command to delete this image. In addition, use the request system storage cleanup command to rotate log files and delete unnecessary files.

Note: To review the list of files that can be deleted without actually deleting files, you can use the request system storage cleanup dry-run command.

To delete the backup software image, rotate log files, and delete unneeded files:

  1. From operational mode in the CLI, enter the following command:
  2. Enter yes when prompted:
  3. Enter the following command:

    The router rotates log files and displays the files that you can delete.

  4. Enter yes at the prompt to delete the files.
  5. Delete any files that you created by entering the following command:

    Replace filename with the name of the file or directory to delete.

  6. Verify that you have enough space on the compact flash to successfully upgrade (see Verifying Available Compact Flash Space).

[ Contents] [ Prev] [ Next] [ Report an Error]