Automation

 View Only
last person joined: 6 days ago 

Ask questions and share experiences about Apstra, Paragon, and all things network automation.
  • 1.  Question on downloading Apstra configuration

     
    Posted 08-25-2024 08:49

    Hi.

    I have just started learning Apstra. 

    Is there a way to download from an Apstra server, the configuration of selected Logical Devices, Interface Maps, Device Profiles, Rack Types, Templates and Blueprints into a file (maybe JSON) which can then be uploaded to a new Apstra installation in order to create the same Apstra objects?

    Thanks,

    Deepak



  • 2.  RE: Question on downloading Apstra configuration
    Best Answer

    Posted 08-26-2024 16:57

    You can use the Apstra CLI tool to do this. It runs as a Docker container and connects to your Apstra instance.

    https://www.juniper.net/documentation/us/en/software/apstra4.2/apstra-user-guide/topics/topic-map/apstra-cli.html

    Example command to download content: 'content export --folder /mytmp --omit-blueprint-serial-numbers True --type all'

    You can also specify which types of content you want to download. Note that whatever you specify with --folder needs to be accessible to the container.

    -Jason



    ------------------------------
    Jason Lochhead
    ------------------------------



  • 3.  RE: Question on downloading Apstra configuration

     
    Posted 08-29-2024 02:27

    Thanks Jason!