设为首页收藏本站language 语言切换
查看: 1644|回复: 11
收起左侧

[原创] 实验3:使用TFTP备份和还原文件 in startup-config

[复制链接]
发表于 2018-12-3 07:56:23 | 显示全部楼层 |阅读模式
实验3:使用TFTP备份和还原文件 in startup-config
1)配置TFTP server和交换机管理地址并测试连通性:
Switch>ena
Switch#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Switch(config)#inter vlan 1
Switch(config-if)#ip add 192.168.1.1 255.255.255.0
Switch(config-if)#no shut
Switch(config-line)#exit
Switch(config)#no ip domain-loo
Switch(config)#host SW1
SW1(config)#end
SW1#wr
Building configuration...
[OK]
SW1#ping 192.168.1.2

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.2, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 0/0/0 ms

2)备份和还原交换机上的文件
SW1#copy star tftp:
Address or name of remote host []? 192.168.1.2
Destination filename [SW1-confg]?

Writing startup-config...!!
[OK - 1114 bytes]

1114 bytes copied in 0.005 secs (222800 bytes/sec)
SW1#conf
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line.  End with CNTL/Z.
SW1(config)#
SW1(config)#host 234234
234234(config)#
234234(config)#end
234234#copy tftp: run
234234#copy tftp: running-config
Address or name of remote host []? 192.168.1.2
Source filename []? SW1-confg
Destination filename [running-config]?

Accessing tftp://192.168.1.2/SW1-confg...
Loading SW1-confg from 192.168.1.2: !
[OK - 1114 bytes]

1114 bytes copied in 0 secs
SW1#

发表于 2018-12-4 09:07:19 | 显示全部楼层
güzel paylaşım tebrikler
6# 2018-12-4 09:07:19 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2018-12-4 09:11:15 | 显示全部楼层
güzelmiş
7# 2018-12-4 09:11:15 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2019-1-1 15:42:35 | 显示全部楼层
感谢楼主分享。
9# 2019-1-1 15:42:35 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2019-1-6 12:00:38 | 显示全部楼层
感谢楼主分享!
10# 2019-1-6 12:00:38 回复 收起回复
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2025-2-27 15:16 , Processed in 0.059279 second(s), 22 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

快速回复 返回顶部 返回列表