Using Files

Select Manage>Files in the J-Web interface to manage log, temporary, and core files on the device.

Table 239 lists the different tasks that you can perform from the Manage>Files page.

Table 239: Manage Files Tasks Summary

Manage Files Task

Functions

Clean Up Files

Rotate log files and delete unnecessary files on the Services Router. 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 device 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 about the request system storage cleanup command, see the Junos OS System Basics and Services Command Reference PDF Document.

Download and Delete Files

Download a copy of an individual file or delete it from the Services Router. 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 device.
  • Temporary Files—Lists the temporary files located in the /cf/var/tmp directory on the device.
  • Old JUNOS Software—Lists the existing JUNOS software packages in the /cf/var/sw directory on the device.
  • Crash (Core) Files—Lists the core files located in the /cf/var/crash directory on the device.

Caution: If you are unsure whether to delete a file from the device, 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 Services Router. When you delete the file, it is permanently removed from the file system.

Click Delete backup JUNOS package to begin.