用TFTP备份还原Cisco设备配置
分类:网络技术日期:2012-03-19 - 21:40:35评论:3条作者:老谢
环境部署:
TFTP服务器地址:192.168.0.10
路由器地址:192.168.0.1
例:
备份running-config到TFTP
R1#copy running-config tftp
Address or name of remote host []? 192.168.0.10
Destination filename [r1-confg]?
!!
325 bytes copied in 0.260 secs (1250 bytes/sec)
Address or name of remote host []? 192.168.0.10
Destination filename [r1-confg]?
!!
325 bytes copied in 0.260 secs (1250 bytes/sec)
从TFTP还原running-config到设备
R1#copy tftp running-config
Address or name of remote host []? 192.168.0.10
Source filename []? r1-confg
Destination filename [running-config]?
Accessing tftp://192.168.0.10/r1-confg…
Loading r1-confg from 192.168.0.10 (via FastEthernet0/0): !
[OK – 325 bytes]
Address or name of remote host []? 192.168.0.10
Source filename []? r1-confg
Destination filename [running-config]?
Accessing tftp://192.168.0.10/r1-confg…
Loading r1-confg from 192.168.0.10 (via FastEthernet0/0): !
[OK – 325 bytes]
325 bytes copied in 9.192 secs (35 bytes/sec)
下面是TFTP服务器日志记录:
Mon Mar 19 21:32:35 2012: 正在接收 ‘r1-confg’ 文件从 192.168.0.1 以 binary 模式
#
Mon Mar 19 21:32:35 2012: 成功.
Mon Mar 19 21:37:56 2012: 正在发送 ‘r1-confg’ 文件到 192.168.0.1 以 binary 模式
#
Mon Mar 19 21:37:56 2012: 成功.
Mon Mar 19 21:37:56 2012: 正在发送 ‘r1-confg’ 文件到 192.168.0.1 以 binary 模式
#
Mon Mar 19 21:37:56 2012: 成功.
Mon Mar 19 21:37:56 2012: 正在发送 ‘r1-confg’ 文件到 192.168.0.1 以 binary 模式
#
Mon Mar 19 21:37:56 2012: 成功.
Mon Mar 19 21:37:56 2012: 正在发送 ‘r1-confg’ 文件到 192.168.0.1 以 binary 模式
#
Mon Mar 19 21:37:56 2012: 成功.
最新评论
zwwooooo:类似以前做网站开发时,一开始有自...
老陳网志:有点高端,像我们整点nas玩玩就够...
springwood:自从 CentOS 不维护之后,我换 U...
大D:难都搞下来了,那就更得YM了
大D:只能是YM了,谢总牛啊
灰常记忆:经济不好 今年我也换了机器 一...
大峰:这是海外服务器嘛?速度挺快的。
大D:只能单走一个6了哈哈哈
zwwooooo:买特斯拉和买iPhone的人群其实相似...
平安家属子痕:一直坚持油车,看你写的心里有...