Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Announcement: Try the Ask AI chatbot for answers to your technical questions about Juniper products and solutions.

close
header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Juniper Apstra 5.0.1 / 5.0.0 User Guide
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

Collect Show Tech: Apstra Controller (CLI)

Release: Juniper Apstra 5.0
{}
Change Release
date_range 04-Nov-24
We recommend using the Apstra GUI to obtain Apstra server show tech files, but you have the option of using the Apstra server Linux CLI instead, as described below.
  1. SSH into the Apstra server. (ssh admin@<apstra-server-ip> where <apstra-server-ip> is the IP address of the Apstra server.)
  2. Run the sudo aos_show_tech command to generate and copy the show tech file to the current working directory of the Apstra server. For example:
    content_copy zoom_out_map
    admin@aos-server:~$ sudo aos_show_tech
    [sudo] password for admin:
    Generating technical support data under directory /tmp/tmp.YmjuJDhatJ
    --- collecting sysinfo/cpuinfo from /proc/cpuinfo ---
    --- collecting network/etc_hosts from /etc/hosts ---
    --- collecting aos/aos.conf from /etc/aos/aos.conf ---
    --- collecting sysinfo/meminfo from /proc/meminfo ---
    --- collecting sysinfo/vmstat from /proc/vmstat ---
    --- collecting network/etc_hostname from /etc/hostname ---
    --- collecting network/interfaces_config from /etc/network/interfaces ---
    --- collecting network/resolv.conf from /etc/resolv.conf ---
    --- collecting logs/kern_log from /var/log/kern.log* ---
    --- collecting logs/syslog from /var/log/syslog* ---
    --- collecting filesystem/aos_cachaca_db_usage with command: du -a /var/lib/aos/cachaca ---
    --- collecting sysinfo/uptime with command: uptime ---
    --- collecting filesystem/aos_db_usage with command: du -a /var/lib/aos/db ---
    --- collecting filesystem/disk_free with command: df -h ---
    [snip]
    Remaining dump took 8.477 ms
    2020-04-01 03:35:39,010 131:INFO:aos.infra.core.entity_util:Create partition mount factory for partition Anomaly
    Dumping entity (anomaly_sysdb_dump/Tac) took 0.389 ms
    Dumping entity (anomaly_sysdb_dump/alert_aggregation) took 3.986 ms
    Dumping entity (anomaly_sysdb_dump/streaming) took 0.173 ms
    Dumping entity (anomaly_sysdb_dump/alerts) took 4.174 ms
    Dumping entity (anomaly_sysdb_dump/counters) took 0.160 ms
    Dumping entity (anomaly_sysdb_dump/telemetry_adaptor) took 0.156 ms
    Dumping entity (anomaly_sysdb_dump/deployment) took 0.214 ms
    Dumping entity (anomaly_sysdb_dump/device) took 0.675 ms
    Dumping entity (anomaly_sysdb_dump/cachaca) took 0.144 ms
    Dumping entity (anomaly_sysdb_dump/var) took 0.201 ms
    Skipping SysDB dump
    Archiving show tech data into aos_show_tech_20200401_033431.tar.gz
    Removing working directory /tmp/tmp.YmjuJDhatJ
    All done.
    admin@aos-server:~$
  3. Locate the file in the working directory and copy the file to a local computer via SCP.
  4. Upload the show tech file to your customer case.
footer-navigation