Automation

last person joined: yesterday 

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

    Posted 04-25-2014 06:39

    Hello,

     

    I've been reading the wiki of Mikrotik's RouterOS and seen that you can easily create scripts that run at the startup of the device. These scripts can completely configure the device automatically and be ready for deployment at a customer's premises. 

     

    I've also been checking out the possibilities of Juniper scripting. It's not clear to me if you can write these kind of startup scripts with SLAX in the juniper device. What i want to accomplish is that a Juniper SRX configures itself automatically when powered on. Could anyone enlighten me in this subject?



  • 2.  RE: Startup configuration

    Posted 04-28-2014 02:19

    Is this possible? I need the SRX to be configured automatically when powered on. Some sort of boot script. 



  • 3.  RE: Startup configuration
    Best Answer

    Posted 04-28-2014 02:45

    Hi there,

    It is possible in more than 1 way:

    1/ follow auto-installation procedure and create a USB disk with junos-config.conf file on it

    http://www.juniper.net/techpubs/en_US/junos12.1x44/topics/task/operational/security-junos-os-upgrade-usb-flash-drive-preparing.html

    Inside "junos-config.conf" You can place any bracketed configuration statements You want.

    2/ auto-install via DHCP

    http://www.juniper.net/techpubs/en_US/junos12.1/topics/concept/junos-configuration-files-automatic-installation-j-series.html

     

    For the autoinstallation process to work, you must store one or more host-specific or default configuration files on a configuration server in the network and have a service available—typically Dynamic Host Configuration Protocol (DHCP)—to assign an IP address to the services gateway.

    HTH

    Thanks

    Alex 

     



  • 4.  RE: Startup configuration

    Posted 04-28-2014 02:51

    Thanks for your reply! Unfortunately, the first link is not working. The second is.



  • 5.  RE: Startup configuration

    Posted 04-28-2014 04:51

    There is a trailing space somehow appended to 1st link, here it is without trailing space

    http://www.juniper.net/techpubs/en_US/junos12.1x44/topics/task/operational/security-junos-os-upgrade-usb-flash-drive-preparing.html

    HTH

    Thanks

    Alex