0

Model: j6350

JUNOS Software Release [12.1X46-D65.4]

Is there an easy way to copy the config file to TFTP?

  • 1
    Is there any compelling reason to not use SCP instead? – JFL Jun 22 at 11:41
3

JunOS has a tftp client available from the shell. You can use it as follows:

jsw@router> start shell 
% cd /config
% tftp
tftp> connect 192.0.2.69
tftp> put juniper.conf.gz
Sent 3896 bytes in 0.4 seconds
tftp> ^D% 
% exit
exit

A common reason for doing this is to back up your configuration. Note JunOS can do this automatically via FTP, HTTP, or SCP if you configure it as follows (Juniper guide):

system {
    archival {
        configuration {
            transfer-on-commit;
            archive-sites {
                "scp://user@host:/directory/ password foo";
            }
        }
    }
}
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.