在路由器上保存超大的配置文件

发表于:2007-06-23来源:作者:点击数: 标签:
配置路由器,在配置中,配置两条从 网络 上调用配置的命令: ervice config oot .net work tftp://10.10.10.10/host-config oot host tftp://10.10.10.10/startup-config 10.10.10.10是路由器LAN口的地址2 再在配置中增加下面两条alias命令,这样路由器感觉

   

    配置路由器,在配置中,配置两条从网络上调用配置的命令:

    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

原文转自:http://www.ltesting.net