JunOS:记录器:传输文件无法传输/var/transfer/config/juniper.conf.gz
时间:2020-02-23 14:44:16 来源:igfitidea点击:
JunOS : logger: transfer-file failed to transfer /var/transfer/config/juniper.conf
使用归档功能是否有以下日志错误条目,以将配置备份到Juniper设备上?
logger: transfer-file failed to transfer /var/transfer/config/re0.HostName_juniper.conf.gz_20161129_034459
在以下情况下,我经历了以下情况(未提供更多详细信息):
The backup server (ftp, sftp) is reachable and working properly The credentials to the backup server are working The public key is accepted/entered in known_hosts (in case of scp/sftp) The archival parameters are set properly The local folder /var/transfer/config exist and writeable by root
我发现在提供密码时,某些JunOS版本之间的语法略有不同。
JunOS 11.4R5.7及更早版本:
set system archival configuration archive-sites "scp://User@IP_Address/path/to/device/config" password "PASSWORD"
JunOS 11.4R6.7及更高版本:
set system archival configuration archive-sites "scp://User:PASSWORD@IP_Address/path/to/device/config"