配置路由器,在配置中,配置两条从网络上调用配置的命令:
ervice config
oot network tftp://10.10.10.10/host-config
oot host tftp://10.10.10.10/startup-config
10.10.10.10是路由器LAN口的地址
2 再在配置中增加下面两条alias命令,这样路由器感觉是到网络上的外接服务器去下载配置,实际上还是在本地的flash中下载配置:
tftp-server flash:/startup-config alias startup-config
tftp-server flash:/host-config alias host-config
3 保存配置
4 将配置文件传到flash中
配置好了以后,路由器重起。就可以从本地的TFTP 服务器上读取配置了,如果想保存running configuration:
copy running-config flash:startup-config
|
您将承担一切因您的行为、言论而直接或间接导致的民事或刑事法律责任
留言板管理人员有权保留或删除其管辖留言中的任意内容 本站提醒:不要进行人身攻击。谢谢配合。 |