Tutorials · · 1 min read

Collecting Juniper RSI and Log Files for JTAC

We run through how to collect RSI logs for Juniper JTAC support and how to archive your log files.

Collecting Juniper RSI and Log Files for JTAC

During your time as a network engineer, you may be required to collect log files and RSI info to assist JTAC with investigations.

RSI Collection 

request support information | save /var/tmp/rsi_DEVICE_NAME_OR_DATE.txt

Save to a directory of your choice, but I prefer /tmp due to ease of location when transferring the files off.

This process may hang for a bit, but don’t panic; this is normal. Depending on the device, this process can take up to 5 minutes but doesn’t affect traffic or the device.

Log File Collection 

file archive compress source /var/log/* destination /var/tmp/logs_DEVICE_NAME_OR_DATE

This command compresses the logs directory into a single file and saves the file to the /var/tmp directory.

Transfer them out! 

That’s it. Once complete, you can transfer the files from the device over to your machine (with FTP/ SFTP or whatever suits you) in readiness to be sent to your support provider/ JTAC.

A recommended piece of software to use is WinSCP, a free to use (and essential) toolkit to obtain the logs from your device. Simply set the remote location to /var/tmp and login with your usual credentials and pull the files from the device.

Want to join a Discord community of folks who love (and occasionally hate) infrastructure? Join us! It’s like a group therapy session, but for infra.

Join others

Read next

Featured image from the ELI5 series. The image features some retro colouring/ design with the title "What is.. NAT?"
Networking ·

What is NAT?

Learn how Network Address Translation (NAT) works - lets home networks and data centres share one public IPv4 address, hides private hosts and enables port forwarding for servers.

AWS & IPAM
Cloud ·

AWS & IPAM

In this post, we'll be covering what an IPAM (IP Address Manager) is, and its use in AWS with its specific implementation via AWS VPC IPAM.