Show Tech: Onbox Agents (CLI)
We recommend using the Apstra GUI to obtain onbox agent show tech files, but you have the option of using the Apstra server Linux CLI instead, as described below.
- SSH to the device.
-
For Arista devices, run
bash
to go the Arista Networks EOS shell, then run the commandsudo python3 /usr/bin/aos_show_tech --platform eos
as shown below.l2-virtual-003-leaf1#bash [admin@l2-virtual-003-leaf1 ~]$ sudo python3 /usr/bin/aos_show_tech --platform eos AOS show tech generated at /tmp/aos_show_tech_20240723_182219.tar.gz [admin@l2-virtual-003-leaf1 ~]$
-
For Cisco devices, run
guestshell
, then run the commandsudo python3 /usr/bin/aos_show_tech --platform nxos
as shown below.l2-virtual-002-leaf1# guestshell [admin@guestshell ~]$ sudo python3 /usr/bin/aos_show_tech --platform nxos AOS show tech generated at /tmp/aos_show_tech_20240723_182059.tar.gz [admin@guestshell ~]$
-
For SONiC devices, run the command
sudo python3 /usr/bin/aos_show_tech --platform sonic
as shown belowadmin@sonic:~$ sudo python3 /usr/bin/aos_show_tech --platform sonic AOS show tech generated at /tmp/aos_show_tech_20240723_181532.tar.gz admin@sonic:~$
-
Locate the file archive in the
/tmp
directory (for example,aos_show_tech_20240723_181532.tar.gz
) and copy it, via SCP, to a local computer with the ability to upload. - Upload the show tech file to your customer case.