Downloading Files

You can use the J-Web interface to download a copy of an individual file from the services router. When you download a file, it is not deleted from the file system.

Figure 15 shows the J-Web page from which you can download log files.

Figure 15: Log Files Page (Download)

Log Files Page (Download)

To download files with the J-Web interface:

  1. In the J-Web interface, select Maintain > Files as shown in the Figure 16.

    Note: After you make changes to the configuration in this window, you must commit the changes immediately for them to take effect. To commit all changes to the active configuration, select Commit Options > Commit. See Using the Commit Options to Commit Configuration Changes (J-Web Procedure) for details about all commit options.

    Figure 16: Files: Main Page

    Files: Main Page
  2. In the Download and Delete Files section, click one of the following file types:
    • Log Files—Lists the log files located in the /var/log directory on the device.
    • Temporary Files—Lists the temporary files located in the /var/tmp directory on the device.
    • Jailed Temporary Files (Install, Session, etc)—Lists the jailed temporary files located in the /var/jail/tmp directory on the device.
    • Old JUNOS Software—Lists the software images located in the (*.tgz files) in the /var/sw/pkg directory on the device.
    • Crash (Core) Files—Lists the core files located in the /var/crash directory on the device.

      The J-Web interface displays the files located in the directory.

    • Database files—Lists the database files located in the /var/db directory on the device.

      The J-Web interface displays the files located in the directory.

  3. To download an individual file, click Download.
  4. Choose a location for the browser to save the file.

    The file is downloaded.