Monday, November 12, 2018

Juniper OS upgrade via CLI (Method 1 - from Junos software on FTP server)

In order to perform the OS upgrade from the CLI via the FileZilla FTP Server software, follow the instructions at upgrading the OS EXCEPT use the syntax in these examples for the “request system software” commands:

Two examples:
Example-01: Fetching from a FTP server without username and password
Fetch from a FTP Server, then reboot after update. The no-copy option is used to save space.

If validation of configuration reports that your current configuration is not working with the new release (e.g. on downgrade), you can bypass this with the no-validate option.
user@ex3300> request system software add no-copy no-validate ftp://192.168.99.2/jinstall-ex-3300-15.1R5.5-domestic-signed.tgz
user@ex3300> request system reboot

N.B. In this case, EX3300 switch management IP address is 192.168.99.1/24 and Laptop IP address is 192.168.99.2/24. Laptop is connected to switch management port.

Follow the following steps for FileZilla FTP Server configuration:
First go to Edit>Users












Then add user account for “anonymous”

  










After that add the shared folder where the OS is kept and give read permission












Next change your IP address to 192.168.99.2 with subnet mask 255.255.255.0












Finally check the FTP server whether it is working or not.







Example-02: Fetching from a FTP server with user and password
Fetch from a FTP Server (user username), then reboot after update.
user@ex3300> request system software add no-copy ftp://username:password@ 192.168.99.2/jinstall-ex-3300-15.1R5.5-domestic-signed.tgz
user@ex3300> request system reboot