设备中含有大量无效配置,逐条删除缓慢,如何回退到之前配置。
基础有两种方式。
1、修改当前运行配置文件,不需要重启:
[RTA]configuration replace file 1.cfg
The running configuration will be lost. Do you want to save the running configuration? [Y/N]:y
Please input the file name(*.cfg)[flash:/startup.cfg]
(To leave the existing filename unchanged, press the enter key):
Validating file. Please wait...
Configuration is saved to device successfully.\\保存当前配置【之前是2.cfg】
Now replacing the current configuration...\\回滚配置
Successfully replaced running configuration with file 1.cfg.\\已经重新加载1.cfg配置
2、修改当前运行配置文件,重启生效:
RTA>startup saved-configuration 2.cfg
Please wait...... Done.
Current startup saved-configuration file: NULL
Next main startup saved-configuration file: flash:/2.cfg
Next backup startup saved-configuration file: NULL
该案例暂时没有网友评论
✖
案例意见反馈
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作