Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

Show Tech: Infra Offbox Agents (CLI)

Release: Juniper Apstra 4.1
{}
Change Release
date_range 30-May-23
The instructions below are for collecting show tech files for infra offbox agents. If your offbox agents are not for infra, refer to Show Tech: Apstra Controller and Device Agents (GUI) or Show Tech: Apstra Offbox Agents (CLI).
  1. SSH into the Apstra server that the offbox agent is running on. (ssh admin@<apstra-server-ip> where <apstra-server-ip> is the IP address of the Apstra server.)
  2. Run docker ps to get the name of the container (in the NAMES column).
  3. Run the docker exec -ti <offbox_container_name> aos_show_tech command where <offbox_container_name> is the name you retrieved when you ran docker ps. For example:
    content_copy zoom_out_map
    admin@aos-server:~$ docker exec -ti aos-offbox-172_20_47_6-f aos_show_tech
    AOS show tech generated at /tmp/aos_show_tech_20200401_181128.tar.gz
    admin@aos-server:~$
  4. Using SCP, run the docker cp command to copy the show tech file from the offbox agent Docker container to the /tmp directory of the Apstra server. For example:
    content_copy zoom_out_map
    admin@aos-server:~$ docker cp aos-offbox-172_20_47_6-f:/tmp/aos_show_tech_20200401_181128.tar.gz .
    admin@aos-server:~$ ls
    aos_show_tech_20200401_181128.tar.gz  docker.service.log
    admin@aos-server:~$
  5. Locate the file archive in the /tmp directory and copy it to a local computer with the ability to upload. Then upload the show tech file to your customer case.
footer-navigation