在路由器上保存超大的配置文件
添加时间: 2008-2-24 11:13:52 作者: Cisco指导 阅读次数:12 来源: http://www.d9soft.com
配置路由器,在配置中,配置两条从 网络 上调用配置的命令:
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
上下文章:
上一篇文章: 安全CCIE考试,常用端口一览 下一篇文章: 路由器网络接口字段详细解析

