Automation

 View Only
last person joined: 6 days ago 

Ask questions and share experiences about Apstra, Paragon, and all things network automation.
  • 1.  Need assistance for off-box script to upload configuration

    Posted 08-07-2021 13:44
    I am trying to run an off-box script to update the juniper device configuration. PyEZ provides the following:
    cu.load(url="ftp://username@ftp.hostname.net/filename")
    cu.load(url="http://username:password@hostname/path/filename")
    

    Can I use scp ?



  • 2.  RE: Need assistance for off-box script to upload configuration
    Best Answer

    Posted 08-08-2021 19:14
    I think this is what you are looking for.

    https://www.juniper.net/documentation/en_US/junos-pyez/topics/task/program/junos-pyez-program-files-transferring-scp.html

    ------------------------------
    Steve Puluka BSEET - Juniper Ambassador
    IP Architect - DQE Communications Pittsburgh, PA (Metro Ethernet & ISP)
    http://puluka.com/home
    ------------------------------