Show Tech: Apstra Controller (CLI)
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.
-
SSH into the Apstra server. (
ssh admin@<apstra-server-ip>
where<apstra-server-ip>
is the IP address of the Apstra server.) -
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: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:~$
- Locate the file in the working directory and copy the file to a local computer via SCP.
- Upload the show tech file to your customer case.