日本免费全黄少妇一区二区三区-高清无码一区二区三区四区-欧美中文字幕日韩在线观看-国产福利诱惑在线网站-国产中文字幕一区在线-亚洲欧美精品日韩一区-久久国产精品国产精品国产-国产精久久久久久一区二区三区-欧美亚洲国产精品久久久久

1 配置和查看 OSPF協(xié)議( 二 )


在配置串行接口時,應按照接口所連接的電纜類型,對連接DCE電纜的接口配置時鐘;
在配置以太網(wǎng)接口時,使用了no keepalive命令,以便在不連接網(wǎng)線的情況下,使接口處于激活狀態(tài) 。
(2)router ospf 100命令啟動一個OSPF路由選擇協(xié)議進程(Process),其中的"100"為進程號 。與配置IGRP和EIGRP協(xié)議中的AS號不同的是,在配置OSPF時,并不需要每臺路由器中的進程號一致 。AS和進程是完全不同的兩個概念 。
(3)network命令使相應酌網(wǎng)段加入OSPF路由進程中,其格式為:
network網(wǎng)絡地址(或IP地址)通配碼area區(qū)域號
在本實驗的配置中,使用了相應接口IP地址,并且把通配碼寫成"0.0.0.0",區(qū)域號為0,即主干區(qū)域 。
在OSPF的配置中,只要把接口加入到OSPF進程中,此接口所對應的網(wǎng)段就加入到OSPF路由進程中了 。
(4)對于另外2臺路由器重復類似的配置,完成OSPF協(xié)議的基本配置 。
第2部分:查看IP路由表和測試連通性
下面對配置后的各路由器進行查看和測試,看是否實現(xiàn)了全網(wǎng)的連通 。
在這一部分,我們使用了show ip route、ping、trace等命令 。
監(jiān)測清單11-1記錄了所有的操作及其結果 。
監(jiān)測清單11-1查看IP路由表并測試連通性
R3#sh ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
 D - EIGRP, EX - EIGRP external, 0 - OSPF, IA - OSPF inter area
 N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
 i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
 * - candidate default, U - per-user static route, o - ODR
 P - periodic downloaded static route
Gateway of last resort is not set
172.16.0.0/24 is subnetted, 2 subnets
O 172.16.1.0[110/138]via 192.168.1.5,00:00:21,Serial0
C 172.16.3.0 is directly connected, Ethernet0
192.168.1.0/30 is subnetted, 2 subnets
O 192.168.1.0[110/128]via 192.168.1.5,00:00:21,Serial0
C 192.168.1.4 is directly connected, Serial0
R3#
Term_Server#2
[Resuming connection 2 to r2 ... ]
R2#sh ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
 D - EIGRP, EX - EIGRP external, 0 - OSPF, IA - OSPF inter area
 N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
 i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
 * - candidate default, U - per-user static route, o - ODR
 P - periodic downloaded static route
Gateway of last resort is not set
172.16.0.0/24 is subnetted, 2 subnets
O 172.16.1.0 [110/74] via 192.168.1.1,00:00:43,Serial1
O 172.16.3.0 [110/74] via 192.168.1.6,00:00:43,Serial0
192.168.1.0/30 is subnetted, 2 subnets
C 192.168.1.0 is directly connected, Serial1
C 192.168.1.4 is directly connected, Serial0
R2#ping 172.16.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.1.1, timeout is 2 seconds:
!!!!!
SUCcess rate is 100 percent (5/5), round-tdp min/avg/max =16/18/20 ms
R2#ping 172.163.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.3.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent(5/5),round-trip min/avg/max=28/31/32 ms
R2#
Term_Server#1
[Resuming connection 1 to r1 ... ]
R1#sh ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
 D - EIGRP, EX - EIGRP external, 0 - OSPF, IA - OSPF inter area
 N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type :
 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP

推薦閱讀