华为:
1、另存一份当前的配置文件,到flash的根目录下,命名为:vrpcfgbackup.zip :
2、配置设备下次启动时加载的配置文件: 3、重启设备 ? 4、查看当前设备下次启动文件的配置情况: 5、查看flash下的已存在的文件: 6、删除文件: ? 思科: 1、把当前运行的配置复制一份到flash下,命名为:configbackup.text switch# copy running-config flash:configbackup.text 2、复制configbackup.text文件到startup-config,设备下次启动会读取startup-config里的配置: switch# copy flash:configbackup.text startup-config 3、重启 switch# reload
Warning: The configuration has been modified, and it will be saved to the next startup saved-configuration file flash:/vrpcfg.zip. Continue? [Y/N]:n //重启之前不要保存配置
switch# more flash:configbackup.txt //查看文件内容
……