jkj0 发表于 2017-7-2 19:35:40


第一章、路由器配置和文件管理
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 服务器上的目录和文件可写

jkj0 发表于 2017-7-2 19:36:03


第一章、路由器配置和文件管理
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 服务器上的目录和文件可写

第一章、路由器配置和文件管理
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)

jkj0 发表于 2017-7-2 19:37:29

6666666666666666666666666

oux9633 发表于 2017-7-2 21:29:30

看看   支持

shen7456982 发表于 2017-7-3 11:36:49

1111111111111111

skk 发表于 2017-7-3 12:30:59

{:6_267:}

kezy 发表于 2017-7-4 09:01:24

不错

专业小学生 发表于 2017-7-4 11:42:23

CCNA英文单词总汇(比较全面)

nemolee 发表于 2017-7-4 14:23:24

ha 今天刚好再找思科手册

nemolee 发表于 2017-7-4 14:23:38

。。。。。。。。不能发?

xinsuo824 发表于 2017-7-7 11:01:27

学习学习

billowboys 发表于 2017-7-7 22:25:45

{:6_267:}

leilei419 发表于 2017-7-9 13:45:14

哈哈感谢分享

Katindon 发表于 2017-7-10 09:01:24

bbs.hh010.com

子焉非鱼 发表于 2017-7-10 17:44:18

谢谢楼主,好人一生平安
页: 251 252 253 254 255 256 257 258 259 260 [261] 262 263 264 265 266 267 268 269 270
查看完整版本: 《Cisco IOS 命令手册》中文精简版