Data collection is one of the key requirement or the first step to start any troubleshooting. The goal of this article is to reduce the time spent on initial data collection and reduce resolution time by providing list of required steps to collect all the logs on the EX device using the file archive command. The file archive command provides a simple way to zip (tar) files. Collecting Logs from a Stand-alone switch 1. Login to the device. 2. Enter the following command to archive the /var/log directory. The following command will zip (tar) the folder /var/log and name the file (LOGS.tar). It also pushes the zipped file to the destination folder /var/tmp . root@lab> file archive source /var/log destination /var/tmp/LOGS It is important to specify the actual date/time of the outage to be analyzed when giving the archived logs to your technical support representative. This will help speed up the analysis. Collecting Logs from Virtual Chassis Always initiate collection of the logs from th
http://www.ebrahma.com/2013/08/juniper-ex-series-collecting-logs-using-file-archive/Labels: eBrahma