2024年3月14日发(作者:)
百度文库 - 让每个人平等地提升自我
利用tftp备份交换机的配置文件
(一)、下载配置文件
1、需要在tftp服务器上安装tftp软件,并启动,如:在上启动
tftp
设置文件存放的目录,点击图中红圈所示标示
1
百度文库 - 让每个人平等地提升自我
2、交换机上设置(交换机必须配置好ip地址,要和tftp服务器在同一网段)
(1)、ad-cisco6509#copy startup-config tftp:
(2)、回车后出现:
ad-cisco6509#copy startup-config tftp:
Address or name of remote host []?
(3)、输入tftp服务器地址:
ad-cisco6509#copy startup-config tftp:
Address or name of remote host []? (4)、敲回车
ad-cisco6509#copy startup-config tftp:
Address or name of remote host []? filename [ad-cisco6509-confg]?
(5)、可以是括弧中的名称,也可以另外命名
ad-cisco6509#copy startup-config tftp:
Address or name of remote host []? filename [ad-cisco6509-confg]?aydc
(6)、敲回车开始备份
ad-cisco6509#copy startup-config tftp:
Address or name of remote host []? filename [ad-cisco6509-confg]? aydc
!!
2
百度文库 - 让每个人平等地提升自我
10900 bytes copied in secs (22336 bytes/sec)
ad-cisco6509#
(7)、服务器上的显示
(二)、上传配置文件
服务器操作同上,选定配置文件存在的目录后,交换机上使用一下命令
1、 ad-cisco6509#copy tftp: startup-config
2、 回车后如下:
ad-cisco6509#copy tftp: startup-config
Address or name of remote host []?
3、 输入tftp服务器ip地址
ad-cisco6509#copy tftp: startup-config
4、 Address or name of remote host []? 回车后,如下:
ad-cisco6509#copy tftp: startup-config
Address or name of remote host []? filename []?
5、 输入以前备份的文件
ad-cisco6509#copy tftp: startup-config
Address or name of remote host []? filename []? aydc
3
百度文库 - 让每个人平等地提升自我
6、 回车后如下:
ad-cisco6509#copy tftp: startup-config
Address or name of remote host []? filename []? aydc
Destination filename [startup-config]?
7、 目的名称startup-config不可更改,回车后如下:
ad-cisco6509#copy tftp: startup-config
Address or name of remote host []? filename []? aydc
Destination filename [startup-config]?
Accessing aydc from (via Vlan1): !
[OK - 10900 bytes]
12:24:58: %SYS-SP-5-CONFIG_NV_I: Nonvolatile storage configured from by console
12:24:58: %PFINIT-SP-5-CONFIG_SYNC: Sync'ing the startup configuration to the standby
Router.
10900 bytes copied in secs (1623 bytes/sec)
ad-cisco6509#
8、 传送完成后,服务器上的tftp程序自动关闭
4


发布评论