导出方法

  1. 下载安装3CDaemon(架设tftp服务器),更改文件保存路径

2,登陆设备,导出配置到tftp

#保存配置文件为 hexin-config F2-3850#copy running-config hexin-config Destination filename [hexin-config]? 24001 bytes copied in 4.199 secs (5716 bytes/sec) #传输配置文件到tftp:172.17.30.139 F2-3850#copy hexin-config tftp: Address or name of remote host []? 172.17.30.139 Destination filename [hexin-config]? !! 24001 bytes copied in 0.058 secs (413810 bytes/sec) F2-3850#

3,用记事本可以打开配置文件

cisco交换机怎么上传文件(CISCO交换机导入和导出配置文件的方法)(1)

cisco交换机怎么上传文件(CISCO交换机导入和导出配置文件的方法)(2)

导入方法

1.拷贝配置档#copy tftp startup-configAddress or name of remote host []? 10.4.10.18Source filename []? 1.txtDestination filename [startup-config]? 回车==Startup-config.cfg2.重新加载设备Sw1#reloadSystem configuration has been modified.Save?[yes/no]:nProceed with reload?[confirm]发出reload命令后,系统将提示您是否要保存配置,此处不需要保存,所以选择no。如果此处选择yes,则刚刚恢复的文件将被当前运行的配置覆盖。

show flash:

可以闪存中的配置文件

cisco交换机怎么上传文件(CISCO交换机导入和导出配置文件的方法)(3)

cisco交换机怎么上传文件(CISCO交换机导入和导出配置文件的方法)(4)

,