How to collect basic information for opening new case (X-Series)

book

Article ID: 168064

calendar_today

Updated On:

Products

XOS

Issue/Introduction

This solution provides a script for collecting the tech-support and log files needed when opening new case with Crossbeam Support for an X-Series related problem.
N/A

Cause

The script below can be run in order to gather the technical information often requested by the Crossbeam Technical Support team. In order to collect the tech-support data, the script has to be started from the root shell level on the primary CPM.

 

Paste the command below into the root shell as single line.

###

DATE=`date +"%Y%m%d_%H%M"` && /crossbeam/bin/cli -i "show tech-support -file /tmp/tech-support_${DATE.EN_US}" > /dev/null && tar cjf /tmp/supportdata_${DATE.EN_US}.tbz /var/log/messages* /var/log/audit_trail* /crossbeam/logs/* /tmp/tech-support_${DATE.EN_US} 2>&1 |grep -v "tar: Removing leading" && echo "Please attach /tmp/supportdata_${DATE.EN_US}.tbz to your case with Crossbeam Support Team"

###


The expected output is:

###

Please attach /tmp/supportdata_<date_time>.tbz to your case with Crossbeam Support Team

###

Resolution

N/A

Workaround

N/A