首页 > 其他 > 详细

华为tftp导入导出配置

时间:2021-04-27 14:10:25      阅读:27      评论:0      收藏:0      [点我收藏+]

将pc和设备相连,打开tftp服务器软件。

技术分享图片

 

 导出配置文件

<Huawei>tftp 192.168.0.100 put vrpcfg.zip //将文件vrpcfg.zip导出到192.168.0.100主机

导入配置文件

<Huawei>tftp 192.168.0.100 get vrpcfg.zip //将192.168.0.100的vrpcfg.zip文件导入到交换机

导入文件时,如果设备中有同名文件,系统会提示请删除文件。

使用delete “文件名”先删除文件,再执行导入命令。

<Huawei>delete vrpcfg.zip
Delete flash:/vrpcfg.zip? (y/n)[n]:y
Info: Deleting file flash:/vrpcfg.zip...succeed.
<HUAWEI> startup saved-configuration vrpcfg.zip
<HUAWEI> display startup
MainBoard:
  Configured startup system software:        cfcard:/device_software.cc
  Startup system software:                   cfcard:/device_software.cc
  Next startup system software:              cfcard:/device_software.cc
  Startup saved-configuration file:          cfcard:/vrpcfg.zip   //设备当前的配置文件名。
  Next startup saved-configuration file:     cfcard:/vrpcfg.zip   //下次启动的配置文件名。
  Startup paf file:                          default
  Next startup paf file:                     default
  Startup license file:                      default
  Next startup license file:                 default
  Startup patch package:                     NULL
  Next startup patch package:                NULL
<HUAWEI> reboot   //重启设备。
Info: The system is now comparing the configuration, please wait.
Warning: The configuration has been modified, and it will be saved to the next startup saved-configuration file cfcard:/config.cfg. Continue? [Y/N]:N //输入N防止设备当前的配置保存到备份的配置文件中。
Now saving the current configuration to the slot 13.
Save the configuration successfully.
Info: If want to reboot with saving diagnostic information, input ‘N‘ and then execute ‘reboot save diagnostic-information‘.
System will reboot! Continue?[Y/N]:Y   //输入Y重启设备。

 

华为tftp导入导出配置

原文:https://www.cnblogs.com/surplus/p/14707778.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!