小乔 发表于 2012-1-31 10:28:26

《Cisco IOS 命令手册》中文精简版

第一章、路由器配置和文件管理
1.1. 通过TFTP 来配置路由器
提问使用TFTP 来加载路由器的配置文件
回答
Router1#copy tftp://172.25.1.1/NEWCONFIG running-config
Destination filename ? <enter>
Accessing tftp://172.25.1.1/NEWCONFIG...
Loading NEWCONFIG from 172.25.1.1 (via FastEthernet0/0.1): !

24 bytes copied in 0.192 secs (125 bytes/sec)
Router1#
注释IOS12.0 版本以前使用configure network 命令,另外拷贝至路由器的配置文件应该以End 结尾,
否则会出现下面的错误提示信息:%PARSER-4-BADCFG: Unexpected end of configuration file.
1.2. 保存路由器配置到服务器
提问保存路由器当前配置文件到TFTP 服务器作为备份
回答
Freebsd% touch /tftpboot/router1-confg
Freebsd% chmod 666 /tftpboot/router1-confg
Freebsd% telnet Router1
Trying 172.25.1.5...
Connected to Router1.
Escape character is '^]'.
User Access Verification
Password: <vtypassword>
Router1>enable
Password: <enablepassword>
Router1#copy running-config tftp://172.25.1.1/router1-confg
Address or name of remote host ? <enter>
Destination filename ? <enter>
!!!
9640 bytes copied in 3.956 secs (2437 bytes/sec)
Router1#
注释确保TFTP 服务器上的目录和文件可写

**** Hidden Message *****





http://bbs.hh010.com/xwb/images/bgimg/icon_logo.png 该贴已经同步到 小乔的微博

壊侽孓→龙爷 发表于 2012-1-31 10:42:10

haohaohaohaohaohaoah

lengyueyouhen 发表于 2012-1-31 10:42:29

{:6_267:}{:6_267:}

唔知吖 发表于 2012-1-31 10:43:40

{:6_267:}不错 不错    学习

flylk 发表于 2012-1-31 10:44:39

{:6_267:}

ydydq 发表于 2012-1-31 10:47:02

{:6_267:}{:6_267:}

sy_leon 发表于 2012-1-31 10:51:18

顶顶顶顶顶顶顶顶顶顶顶顶顶顶

wanghao19890128 发表于 2012-1-31 10:51:55

必须要!

冷月孤狼 发表于 2012-1-31 10:54:09

看看。。。。。。。。。。。。。

chy3531132 发表于 2012-1-31 10:57:14

{:6_267:}{:6_266:}{:6_266:}

冷月孤狼 发表于 2012-1-31 11:04:50

{:6_267:}{:6_267:}{:6_267:}{:6_267:}

星空 发表于 2012-1-31 11:10:51

{:6_267:}

kensir117 发表于 2012-1-31 11:27:42

{:6_263:}顶

mu0003 发表于 2012-1-31 11:50:55

感谢分享。。。

trionescn 发表于 2012-1-31 11:52:14

多谢分享{:6_267:}
页: [1] 2 3 4 5 6 7 8 9 10
查看完整版本: 《Cisco IOS 命令手册》中文精简版