Summary:
JTAC often requires data to be collected (such as configuration files, tracedump data, log files, etc) and sent in for review. If the files are larger than 10MB, they cannot be attached to the case using Case Manager. The instructions below describe how to FTP the files to JTAC in a secure and reliable format.
NOTE: Use of FTP is deprecated, large file uploads for cases should instead use the SSH FTP (SFTP) process described in KB23337 - How to upload large files to a JTAC Case.
Problem or Goal:
- How do you send information to the Juniper FTP server?
- What files can be loaded to a Juniper case?
Cause:
Solution:
Instructions to send data to the Juniper Networks JTAC FTP server:
- Calculate the checksum of each file so JTAC can verify the file upload/download integrity:
md5sum <fileName>
Example:
md5sum JTAC_Case_0001_ConfigFile.txt
This will generate a checksum similar to:
4897dfj3ry7sdfklj3r8sdkjhf. Add this information into the case notes. For systems that do not support md5sum, skip to the next step.
- If necessary, encrypt the file prior to sending. Be sure to send JTAC the decryption method and password. Once encrypted, re-calculate the md5sum of the encrypted file. Send JTAC both md5sum values before and after encryption.
- Move the file to an FTP server or FTP the file directly to the Juniper Networks server. If moving the file to another computer, be sure to transfer the file using "binary" mode or the file will be corrupted.
- Connect to the FTP site.
Example:
jtac@juniper1> ftp ftp.juniper.net
Connected to colo-ftp.juniper.net.
220 colo-ftp.juniper.net FTP server (Version 6.00LS) ready.
- Login with anonymous and use your e-mail Address as the password.
username: anonymous
password: [enter your Email Address]
- Change the directory to "
pub/incoming"
ftp> cd pub/incoming
250 CWD command successful.
- If you have not created a directory with your case number, do so now, otherwise skip to the next step.
mkdir [directory name]
Example:
ftp> mkdir 2004-0729-0001
257 MKD command successful.
- Change the directory to the directory with your case number
Example:
ftp> cd 2004-0729-0001
250 CWD command successful.
- Use the 'pwd' (print working directory) command to verify you are now within the directory to which you want to upload the files
Example:
ftp> pwd
257 "/pub/incoming/2004-0729-0001" is current directory.
- Set file transfer to binary. (Not all FTP clients default to binary transfer which is why we perform this step).
ftp> binary
200 Type set to I.
- Turn on hash mark printing to idicate the progress of the file as it is transfered.
ftp> hash
Hash mark printing on (1024 bytes/hash mark).
- On the local host (the host where the files reside), change directory to where the files are located.
ftp> lcd [directory path]
Example:
ftp> lcd /var/tmp
Local directory now /var/tmp
- Use the "put" command to transfer the files to the Juniper Networks FTP server.
put <fileName>
Example:
put guiSvrDB.tgz
ftp> put guiSvrDB.tgz
local: guiSvrDB.tgz remote: guiSvrDB.tgz
200 PORT command successful.
150 Opening BINARY mode data connection for guiSvrDB.tgz '.
100% |******************************************************************************************************| 26720 00:00 ETA
226 Transfer complete.
26720 bytes sent in 0.32 seconds (81.73 KB/s)
- Once done, transfer another file by going back to step 12. (If all of your files are in the same local directory, you can continue to upload them without changing directories by going back to step 13) or enter the command quit to close the application.
ftp> quit
221 Goodbye.
Related Information:
KB19202 - How can I tell that the file I uploaded to Juniper's FTP site was uploaded correctly?
Purpose:
Implementation
Troubleshooting
Related Links: