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.1.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: Onbox Agents (CLI)

Release: Juniper Apstra 5.1
{}
Change Release
date_range 21-Mar-25

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.

  1. SSH to the device.
  2. For Arista devices, run bash to go the Arista Networks EOS shell, then run the command sudo python3 /usr/bin/aos_show_tech --platform eos as shown below.
    content_copy zoom_out_map
    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 ~]$
  3. For Cisco devices, run guestshell, then run the command sudo python3 /usr/bin/aos_show_tech --platform nxos as shown below.
    content_copy zoom_out_map
    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 ~]$
  4. For SONiC devices, run the command sudo python3 /usr/bin/aos_show_tech --platform sonic as shown below
    content_copy zoom_out_map
    [SONiC]
    
    admin@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:~$
  5. 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.
  6. Upload the show tech file to your customer case.
footer-navigation