雨衣 2007-11-17 09:13
为什么我不能将JUNIPER的设置保存到FTP SERVER上?
路由器设置如下 :
root@tiwanggaidihu# show
version 8.0R1.9;
system {
host-name tiwanggaidihu;
root-authentication {
encrypted-password "$1$6oYBEMnA$LK4jeMSiBmKc09RDJVjeJ1"; ## SECRET-DATA
}
login {
user csr {
uid 2000;
class super-user;
authentication {
encrypted-password "$1$qxnexkbK$s474/vgTawZJnBe/wWidh/"; ## SECR
ET-DATA
}
}
}
services {
ftp;
telnet;
}
}
syslog {
user * {
any emergency;
}
file messages {
any notice;
authorization info;
}
file interactive-commands {
interactive-commands any;
}
}
}
interfaces {
fxp0 {
unit 0 {
family inet {
address 192.168.8.251/24;
}
同时JUNIPER ROUTER 已经能和FTP SERVER 相互PING 通
可是我使用下面命令准备将设置保存到FTP SERVER上总是出错
file copy /config/juniper.conf.gz [url]ftp://ccsr@192.168.8.76/juniper.conf[/url]
提示如下:Password for [email]ccsr@192.168.8.76[/email]:
fetch: [url]ftp://ccsr@192.168.8.76/juniper.conf.gz:[/url] File unavailable (e.g., file not
found, no access)
error: put-file failed
error: could not send local copy of file
各位帮忙看看这是什么缘故? 另外我的FTP SERVER的PC 的防火墙和一些安全软件都关闭了
飞鸽传书 2007-11-17 09:13
为了ROLLBACK能指定返回到哪个配置上面去,每个CONF文件后面都跟上一个序号;你本身的命令就输入错误了。再保存一次配置,然后再Upload一次吧。
方法1:root@host> file copy filename ftp://hostname/filename
方法2:file copy filename ftp://user:password@hostname/filename
方法3:你在路由器上已经打开了FTP服务,从上面下载也可以。