Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

Using Files

Select Maintain>Files in the J-Web interface to manage log, temporary, and core files on the routing platform.

Table 1 lists the different tasks that you can perform from the Maintain>Files page.

Table 1: Manage Files Tasks Summary

Manage Files Task

Functions

Clean Up Files

Rotate log files and delete unnecessary files on the routing platform. If you are running low on storage space, the file cleanup procedure quickly identifies files that can be deleted.

The file cleanup procedure performs the following tasks. Click Clean Up Files to begin.

  • Rotates log files—All information in the current log files is archived, and fresh log files are created.
  • Deletes log files in /cf/var/log—Any files that are not currently being written to are deleted.
  • Deletes temporary files in /cf/var/tmp—Any files that have not been accessed within two days are deleted.
  • Deletes all crash files in /cf/var/crash—Any core files that the router has written during an error are deleted.

Alternatively, you can rotate log files and display the files that you can delete by entering the request system storage cleanup command at the J-Web CLI terminal. For more information, see Using the CLI Terminal. For more information about the request system storage cleanup command, see the Junos OS Operational Mode Commands.

Download and Delete Files

Download a copy of an individual file or delete it from the routing platform. When you download a file, it is not deleted from the file system. When you delete the file, it is permanently removed.

Click one of the following file types, and then select whether to download or delete a file:

  • Log Files—Lists the log files located in the /cf/var/log directory on the router.
  • Temporary Files—Lists the temporary files located in the /cf/var/tmp directory on the router.
  • Old Junos OS—Lists the existing Junos OS packages in the /cf/var/sw directory on the router.
  • Crash (Core) Files—Lists the core files located in the /cf/var/crash directory on the router.

Caution: If you are unsure whether to delete a file from the router, we recommend using the Clean Up Files task, which determines the files that can be safely deleted from the file system.

Delete Backup Junos Package

Delete a backup copy of the previous software installation from the routing platform. When you delete the file, it is permanently removed from the file system.

Click Delete backup Junos Package to begin.

Published: 2013-08-14

Published: 2013-08-14