How to get tech-support logs from Enterprise SONiC Distribution by Broadcom?

[stordis-toc]

Introduction

Welcome to the STORDIS Support Portal guide!

This article explains how to collect and export tech-support logs from the Enterprise SONiC Distribution by Broadcom. These logs are essential for troubleshooting and are required when contacting Broadcom technical support for assistance.

 

Prerequisites

  • Access to the SONiC switch via console or SSH
  • Administrator or root privileges on the switch
  • Sufficient storage space to save the log files

 

Step-By-Step Instruction

Follow these steps to collect comprehensive tech-support logs using the CLI:

STEP 1: Log in to your SONiC switch using SSH or console.

STEP 2: Run the show tech-support command to collect all relevant logs

# show tech-support

This command gathers a wide range of system information, including configuration, logs, hardware status, and software versions, so it may take a moment to complete. You can use the command show tech-support status to check the status of data collection. The output is saved as a compressed archive file.

STEP 3: Locate the generated archive file (typically in /var/dump/)

STEP 4: Copy the archive file to your local machine for further analysis or support submission, for example using WinSCP.

 

Additional Log Collection Commands

You can also manually collect specific logs for more granular troubleshooting:

  • View system logs: show logging
  • View audit logs: show audit-log
  • View hardware status: show platform
  • View software version: show version

These commands can be run individually if you need to inspect or export specific logs.

 

Congratulations!

You have successfully collected tech-support logs from your Enterprise SONiC Distribution by Broadcom switch. These logs can now be submitted to Broadcom support for troubleshooting and analysis.

Happy networking!

Useful links:

STORDIS Support Portal FAQ 

Comments 0

Articles in this section