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

監(jiān)測和調(diào)試 OSPF協(xié)議( 二 )


●發(fā)送鏈路狀態(tài)請求包 (LS REQ Packct)到192.168.1.1 , 狀態(tài)為"EXCHANGE";
●與鄰居路由器192.168.1.1的同步操作完成 , 狀態(tài)為"FULL";
●整個(gè)加載過程完成 。
(6)show IP ospf 100命令也顯示了路由器R2的ID號為10.1.2.1 , 即回送接口上的最高IP
(7)切換到R1路由器 , 查看其OSPF鄰居 , 同樣可以看到鄰居路由器R2的ID變成了
第2部分:監(jiān)測OSPF事件和OSPF包的傳輸
以下使用debug ip ospf events和debug ip ospf packet命令監(jiān)測OSPF相關(guān)事件和相關(guān)數(shù)據(jù)包的傳輸 。
監(jiān)測清單11-4記錄了有關(guān)操作及監(jiān)測結(jié)果 。
監(jiān)測清單11-4監(jiān)測OSPF事件和數(shù)據(jù)包
R1(config)#logg console
R1(config)#^Z
R1#debug ip ospf events
OSPF events debuggmg is on
R1#
02:08:50: OSPF: Rev hello from 10,1.2.1 area 0 from Serial1 192.168.1.2
02:08:50: OSPF: End of hello processing
02:09:00: OSPF: Rev hello from 10.1.2.1 area 0 from Serial1 192.168.1.2
02:09:00: OSPF: End of hello processing
02:09:10: OSPF: Rcv hello from 10.1.2.1 area 0 from Serial1 192.168.1.2
02:09:10: OSPF: End of hello processing
02:09:20:"OSPF: Rcv hello from 10.1.2.1 area 0 from Serial1 192.168.1.2
02:09:20: OSPF: End of hello processing
R1#undebug all
All possible debugging has been turned off
R1#debug ip ospf packet
OSPF packet debugging is on
R1#
02:11:40: OSPF: rev. v:21:1 1:48 rid: 10.1.2.1
aid:0.0.0.0.chk:2DF3 aut:0 auk: from Serial1
02:11:50: OSPF: rev. v:21:1 1:48 rid: 10.1.2.1
aid:0.0.0.0 chk:2DF3 aut:0 auk: from Serial 1
02:12:00: OSPF: rev. v:2 t:1 1:48 rid: 10.1.2.1
aid:0.0.0.0 chk:2DF3 aut:0 auk: from Serial 1
02:12:10: OSPF: rev. v:2 t:1 1:48 rid:10.1.2.1
aid:0.0.0.0 ehk:2DF3 aut:0 auk: from Serial 1
02:12:20: OSPF: rev. v:2 t:1 1:48 rid: 10.1.2.1
aid:0.0.0.0 ehk:2DF3 aut:0 auk: from Serial 1
RS#undebug all
All possible debugging has been turned off
(1)在R1路由器上 , 首先打開對OSPF事件的Debug , 監(jiān)測結(jié)果顯示了接收一系列的Hello包 , 其源地址是192.168.1.2 , 即R2的IP地址 。
注重到Hello包之間的時(shí)間間隔是10秒 , 這是因?yàn)樵邳c(diǎn)到點(diǎn)鏈路中 , Hello包每隔10秒發(fā)送一次 。
(2)關(guān)閉Debug 。然后打開對OSPF包的監(jiān)測 , 其命令是debug ip ospf packet 。
R1路由器監(jiān)測到從R2傳來的一系列的OSPF包 , 這些包實(shí)際上就是每10秒接收1個(gè)的Hello包 。
第3部分:調(diào)整帶寬參數(shù)更改cost值
路由器接口的帶寬參數(shù)對鏈路cost有直接的影響 。
監(jiān)測清單11-5是有關(guān)操作及監(jiān)測結(jié)果的記錄 。
監(jiān)測清單11-5更改帶寬參數(shù)以影響cost值
讓我們用實(shí)驗(yàn)來進(jìn)行演示 。
第1段:查看接口帶寬與鏈路Cost
R2#conft
Enter configuration commands, one per line. End with CNTL/Z.
R2(config)#router ospf 100
R2(config-router)#netw 192.168.1.5 0.0.0.0 area 0
R2(config"router)#^Z
R2#
R2#sh ip route ospf
172.16.0.0/24 is subnetted, 2 subnets
O 172.16.1.0 [110/11] via 192.168.1.1, 00:00:33, Serial1
O 172.16.3.0 [110/11 via 192.168.1.6, 00:00:33, Serial0
R2#sh int s0
Serial0 is up, line protocol is up
Hardware is HD64570
Internet address is 192.168.1.5/30
MTU 1500 DLY 20000 usec,
 reliability 255/255, txioad 1/255, rxioad 1/255
... (此處刪節(jié))
R2#sh int s1
Serial 1 is up, line protocol is up
 Hardware is HD64570
 Internet address is 192.168.1.2/30
 MTU 1500 bytes,BW 1544 Kbit,DLY 20000 usec,
reliability 255/255, txioad 1/255, rxioad 1/255
... (此處刪節(jié))
R2#sh ip ospf int s0
Serial0 is up, line protocol is up
 Internet Address 192.168.1.5/30, Area 0
 Process ID 100, Router ID 10.1.2.1, Network Type POINT_TO_POINT,Cost:64

推薦閱讀