设置恢复的配置文件为下次启动配置文件并重启设备,这里在重启设备的时候注意提示:将修改的配置写入下次启动的配置文件中,一定要输入N,不然下次重启导入的配置文件不生效
<HUAWEI>startup saved-configuration config.zip
<HUAWEI>dis startup
MainBoard:
Configured startup system software: flash:/s5700s-li-v200r007c00spc500.cc
Startup system software: flash:/s5700s-li-v200r007c00spc500.cc
Next startup system software: flash:/s5700s-li-v200r007c00spc500.cc
Startup saved-configuration file: flash:/vrpcfg.zip //设备当前配置文件名称
Next startup saved-configuration file: flash:/config.zip //设备下次启动配置文件名称
<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
//输入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重启设备。
请立即点击咨询我们或拨打咨询热线: 17804441181,我们会详细为你一一解答你心中的疑难。项目经理在线