Automation

IMPORTANT MODERATION NOTICE

This community is currently under full moderation, meaning  all posts will be reviewed before appearing in the community. Please expect a brief delay—there is no need to post multiple times. If your post is rejected, you'll receive an email outlining the reason(s). We've implemented full moderation to control spam. Thank you for your patience and participation.



  • 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
    ------------------------------