Junos OS

last person joined: 7 days ago 

Ask questions and share experiences about Junos OS.
  • 1.  Transfer file to router using telnet

    Posted 08-23-2013 21:03

    Hi all,

     

    May I know how to transfer file using telnet connection?



  • 2.  RE: Transfer file to router using telnet

    Posted 08-23-2013 23:56

    Hello,

    For text files, do following:

     

    1/ run JUNOS command "start shell"

    2/ when in shell launch VI editor

    3/ copy-paste text file into VI editor window

    4/ save file with your chosen name.

     

    For binary files, there is no supported way to transfer over telnet as it requires UUCP signed binary which is not part of JUNOS software distribution.

     

    Use SFTP or SCP to transfer files. Enaling SSH also enables SFTP and SCP.

     

    HTH

    Thanks

    Alex



  • 3.  RE: Transfer file to router using telnet

    Posted 08-24-2013 03:38

    Hi

     

    Thank you for your reply, the problem is I have J4350 with JUNOS US version and it not support SSH, Already enable telnet to acces this router. I need to transfer JUNOS file to this router but cannot access using filezilla and WINSCP.



  • 4.  RE: Transfer file to router using telnet
    Best Answer

    Posted 08-24-2013 05:32

    Hello,

     


    @syafieei wrote:

    Hi

     

    Thank you for your reply, the problem is I have J4350 with JUNOS US version and it not support SSH, Already enable telnet to acces this router. I need to transfer JUNOS file to this router but cannot access using filezilla and WINSCP.



    I think You got it backwards - JUNOS "domestic" a.k.a USA and Canada version supports SSH.

    It is the JUNOS export version which does not support SSH (and any other encryption use case).

    If that's the case, enable FTP and transfer the file across.

     

    set system services ftp

     - and allow FTP in filters if any/configure appropriate security policies if Your current JUNOS is flow-based.

    HTH

    Thanks

    Alex



  • 5.  RE: Transfer file to router using telnet

    Posted 08-26-2013 12:02

    Hi Aarseniev,

     

    Thank you for you response and sorry for my mistake 🙂

     

    Problem solved after I transfer the Image to another router and FTP from that router to the problem router and downgrade activity was successfully.

     

    Thank you for your help anyway