!!!!!
兰州威思特CCIE实验室·www.westccie.com
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/6/8 ms
使用不跟参数的ping命令即扩展ping命令可以指定更多的参数:
Router#ping Protocol [ip]:
Target IP address: 192.168.1.1 Repeat count [5]: Datagram size [100]: Timeout in seconds [2]: Extended commands [n]: Sweep range of sizes [n]: Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 61.134.1.4, timeout is 2 seconds: !!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 584/610/640 ms
在IOS 中ICMP回应请求的响应中ping命令接收到的代码的解释:
Ping命令代码 ! . U 解释 收到了ICMP Echo Reply 未接收任何信息 ICMP不可到达目的主机(包可被传送到与目的子网相连的路由器,但主机无响应) N P Q M ?
ICMP不可到达网络(路由选择表中没有与数据包目标匹配的项) ICMP不可到达端口(包被传递到目的主机,但目的端口没有被应用程序打开) ICMP源地址失踪 ICMP无法将报文分段 收到无法识别的包 Traceroute
使用traceroute命令可以查看由本地出发到达目的地所经过的所有路由:
Router>trace 172.33.4.5
Type escape sequence to abort. Tracing the route to 61.134.1.4
1 192.1.2.242 4 msec 4 msec 4 msec
2 192.1.2.241 8 msec 8 msec 8 msec 3 192.1.2.33 8 msec 8 msec 8 msec
兰州威思特CCIE实验室·www.westccie.com
4 192.1.7.129 16 msec 16 msec 12 msec 5 192.1.3.81 12 msec 12 msec 16 msec 6 192.1.3.54 16 msec 16 msec 16 msec 7 131.216.216.71 16 msec 16 msec 20 msec 8 131.4.97 60 msec 64 msec 60 msec 9 192.13.53.9 60 msec 64 msec 60 msec 10 192.11.34.46 108 msec 84 msec 84 msec 11 192.11.36.22 128 msec 128 msec 128 msec 12 13.3.3.4 108 msec 120 msec 104 msec 13 172.16.0.1 296 msec 296 msec 300 msec 14 172.33.1.1 284 msec 288 msec 280 msec 15 172.33.4.1 312 msec 304 msec 372 msec 16 172.33.4.5 296 msec * 304 msec
1.3.10备份和恢复Router的配置文件
路由器的running-config为当前路由器的配置,会随时输入命令而发生变化,此文件
为内存中一个文件:
Router#dir system: Directory of system:/
2 dr-x 0
1 -rw- 657
No space information available Router#
而我们可以把这个running-config 拷贝到nvram中,并改名为startup-config,这样当路由
器断电或是重启起动时,路由器会自动的加载nvram中的startup-config这个文件,实
现我们的配置不丢失。
Router#dir system: Directory of system:/
2 dr-x 0
1 -rw- 657
No space information available Router#dir nvram: Directory of nvram:/
兰州威思特CCIE实验室·www.westccie.com
30 -rw- 0
32762 bytes total (32712 bytes free) Router#
Router#copy running-config startup-config Destination filename [startup-config]? Building configuration... [OK]
Router#dir nvram: Directory of nvram:/
30 -rw- 657
32762 bytes total (32031 bytes free) Router#
兰州威思特CCIE实验室·www.westccie.com
第二章 Static Route 配置
2.1 基本静态路由设置
沃尔夫网络CCIE实验室分解实验台BJ-Rack08S0(DCE) 192.168.2.2/24R2S1 192.168.1.2/24访问主机名Rack08R1Rack08R2Rack08R3S0 192.168.2.3/24R3S1(DCE) 192.168.1.1/24R11、访问服务器IP=192.168.100.2522、请在固定座位使用本实验台
实验目的:路由全通
RouterA
RouterA#sho run
Building configuration...
Current configuration : 584 bytes !
version 12.2
no service single-slot-reload-enable service timestamps debug uptime service timestamps log uptime no service password-encryption !
hostname RouterA !
logging rate-limit console 10 except errors
!
ip subnet-zero no ip finger !
no ip dhcp-client network-discovery ! ! ! !
interface Ethernet0 no ip address shutdown !
interface Serial0 no ip address shutdown !
interface Serial1
ip address 192.168.1.1 255.255.255.0 clockrate 64000 !
ip kerberos source-interface any ip classless ip http server ! ! !
line con 0
transport input none line aux 0 line vty 0 4 ! End
兰州威思特CCIE实验室·www.westccie.com
RouterB
RouterB#sho run
Building configuration...
Current configuration : 393 bytes !
version 12.2