网络通信 频道

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

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

    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://cisco.chinaitlab.com/base/391351.html

0
相关文章