Generating a Troubleshooting Report Using CLI Commands - Generating-a-Troubleshooting-Report/Generating-a-Troubleshooting-Report-Using-CLI-Commands

Generating a Troubleshooting Report

ft:locale
en-US
ft:sourceName
Paligo_Prod
Document Type
Article

Complete the following steps to generate, save, and share a troubleshooting report using command-line interface (CLI) commands:

  1. Log into NetCloud Manager.

  2. Select Devices in the left-side navigation panel.

  3. Select the NCX Service Gateway from the Routers table.

  4. Select the Remote Connect menu, and then select Console.

  5. In the console, enter the troubleshooting-report new command after the prompt:

    [admin@NCXSG-VMware-352: /]$ troubleshooting-report new
    . 
    Gathering information. This may take some time...
    ....
    Saved into /var/lib/yams/troubleshooting-reports/2024-01-22_20-04-15.tgz
    [admin@NCXSG-VMware-352: /]$

    Note

    This may take a few minutes to complete. If the report takes a long time to generate, use the grep ts-report command to check the report activity log.

    Entering the troubleshooting-report new persist command which enables the report to persist through a reboot, saves the generated report in the /data/troubleshooting-reports directory.

  6. Once complete, enter the following command to confirm the report was successful:

    [admin@NCXSG-VMware-352: /]$ troubleshooting-report list

    The console displays the name and size of the report file.

  7. Enter the following command to move the file to another server:

    [admin@NCXSG-VMware-352: /]$ troubleshooting-report export name <name> url <url> user <user>

    For example:

    [admin@NCXSG-VMware-352: /]$ troubleshooting-report export name 2023-05-24_11-49-16.part url scp://192.168.4.236/home/logs user support

    Enter a password, if prompted.

  8. Share the file with Ericsson Enterprise Wireless Solutions Global Service & Support using a standard file sharing method.