华为tftp导入导出配置
将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重启设备。
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
· 浏览器原生「磁吸」效果!Anchor Positioning 锚点定位神器解析
· 没有源码,如何修改代码逻辑?
· 全程不用写代码,我用AI程序员写了一个飞机大战
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· 记一次.NET内存居高不下排查解决与启示
· DeepSeek 开源周回顾「GitHub 热点速览」
· 白话解读 Dapr 1.15:你的「微服务管家」又秀新绝活了