Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Configuring the FTP Server for Log Rotation (SRC CLI)

    This procedure is optional. You are not required to configure a remote FTP server. If you do not configure a server, the SRC file upload client simply deletes the older files and compresses and stores the specified n number of the most recent files in the backup directory.

    Note: The SRC software uses passive mode on the outgoing connections to the FTP server. The FTP server must support passive mode.

    Use the following configuration statements to configure the FTP server used for log file rotation:

    system file-uploading-specifications name ftp {server server;user-name user-name;password password;port port;destination-path destination-path;}

    To configure the FTP server information for log file rotation:

    1. (Optional) From configuration mode, access the configuration statement used to configure the FTP server. In this sample procedure, the upload client is named acct_file and the server is named kimberly.
      [edit]user@host# edit system file-uploading-specifications acct_file ftp
    2. Specify the FTP server to connect to for file uploading.
      [edit system file-uploading-specifications acct_file ftp]user@host# set server kimberly
    3. (Optional) Specify the username to log in to the FTP server.
      [edit system file-uploading-specifications acct_file ftp]user@host# set user-name user-name
    4. (Optional) Specify the password to log in to the FTP server.
      [edit system file-uploading-specifications acct_file ftp]user@host# set password password
    5. (Optional) Configure the port number for the FTP server.
      [edit system file-uploading-specifications acct_file ftp]user@host# set port port
    6. Specify the directory on the remote server where you want to store the uploaded files.
      [edit system file-uploading-specifications acct_file ftp]user@host# set destination-path destination-path
    7. Verify the configuration for the remote FTP server.
      [edit system file-uploading-specifications acct_file ftp]
      user@host# show
      destination-path /accounting/logs;
      password ********;
      port 1220;
      server kimberly;
      user-name jsmith;
      
      

    Modified: 2016-12-29