Junos OS

last person joined: 6 days ago 

Ask questions and share experiences about Junos OS.
  • 1.  File copy from my PC to a switch

    Posted 07-08-2014 10:28

    I need help with the syntax to do a file copy from my PC to my 9214.

     

    I had to RMA my RE0. New one came with an older software version. I need to upgrade to the same version running on RE1. Can anyone help me with the syntax?

     

    I cant seem to get it right. It appears that the switch cant open the remote location. I can ping between the Switch and my PC...

     

    Thanks in advance!

     



  • 2.  RE: File copy from my PC to a switch

    Posted 07-08-2014 18:48

    I usually load the file onto a USB thumb drive and mount this on the RE itself.  You copy the file over and then run the install from the command line.

     

    http://kb.juniper.net/InfoCenter/index?page=content&id=KB20552



  • 3.  RE: File copy from my PC to a switch

    Posted 07-08-2014 23:00

    Hi sothb,

     

    Following KB article will help:

     

    http://kb.juniper.net/InfoCenter/index?page=content&id=KB20551

     

    Regards
    rparthi
     

    Please Mark My Solution Accepted if it Helped, Kudos are Appreciated Too



  • 4.  RE: File copy from my PC to a switch

    Posted 07-09-2014 16:12

    You did not indicate what method you are trying to use. FTP? SSH?SCP?

    If you have ftp server, best to place file on ftp server then ftp from switch to server and get file. If you want to ftp to switch then get file, you have to enable the FTP server on the switch. If not use the USB. But if remote, you can enable FTP on switch, then use FireFTP in Firefox or other ftp client and connect to the Switch and copy file using gui transfer. You can also upgrade directly from FTP server if available.



  • 5.  RE: File copy from my PC to a switch

     
    Posted 08-28-2018 03:58

    Hi Sothb,

     

    I suppose this command can help you copy files to and fro from your PC and local machine:

    file copy /var/tmp/mgd.core.0 mypc:/c/jnpr/files

     

    Let me know if this helps you...

     

    //NEX

     



  • 6.  RE: File copy from my PC to a switch

    Posted 12-31-2019 15:50

    Hello, The easiest will be to use filezilla client or winscp client and connect via these software to the device in quesiton. 

    and you can just drag and drop the desired software to copy. 

     



  • 7.  RE: File copy from my PC to a switch

    Posted 12-31-2019 15:51

    * these softwares are available for free download from their respective sites



  • 8.  RE: File copy from my PC to a switch

    Posted 01-02-2020 17:45

    Hello sothb

     

    As long as you have connection to the EX9200(make sure you don't have a firewall filter blocking destination port 22 and 23 - otherwise you have allow your PC in the firewall), you can use SCP with WINSCP or filezilla, but I think what you  are trying to do is to remote copy the file from your PC to the EX9200 using regular installation, but it would be better to copy it to the switch and install it.

     

    You can use ftp or SCP

    request system software add ftp://<username>:<password>@<PC-IP>/pathname/package-name

    request system software add scp://<username>:<password>@<PC-IP>/pathname/package-name

     

    With the regular installation if you have the file in /var/tmp

    request system software add /var/tmp/junos-install.tgz <re0 or re1>

     

    You can use usb also, I'm adding procedure below:

    https://kb.juniper.net/InfoCenter/index?page=content&id=KB12880

     

    If this solution resolved your problem, please flag my post as an "Accepted Solution" for the benefit of others.
    Click the "Star" under my name for Kudos if you think I've earned it.

     

    Regards, 

    Franky