博威---云架构决胜云计算

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 1724|回复: 0

OSPF DEBUG 信息解释

[复制链接]
发表于 2007-5-16 02:28:21 | 显示全部楼层 |阅读模式
完全为个人理解仅供参考

r3#clear ip os process 这是一个显示在串通链路上的一个DEBUG信息
Reset ALL OSPF processes? [no]: y
r3#
*Mar  1 04:08:21.250: OSPF: Inte***ce Serial1 going Down
*Mar  1 04:08:21.254: OSPF: 3.3.3.3 address 192.168.0.1 on Serial1 is dead, state DOWN
*Mar  1 04:08:21.258: OSPF: 4.4.4.4 address 192.168.0.2 on Serial1 is dead, state DOWN
*Mar  1 04:08:21.262: %OSPF-5-ADJCHG: Process 11, Nbr 4.4.4.4 on Serial1 from FULL to DOWN, Neighbor Down: Inte***ce down or detached
*Mar  1 04:08:21.306: OSPF: Inte***ce Ethernet0 going Down
*Mar  1 04:08:21.310: OSPF: 3.3.3.3 address 192.168.1.1 on Ethernet0 is dead, state DOWN
*Mar  1 04:08:21.314: OSPF: i_error : Bad inte***ce state change
*Mar  1 04:08:21.514: OSPF: Inte***ce Serial1 going Up
*Mar  1 04:08:21.518: OSPF: Inte***ce Ethernet0 going Up
*Mar  1 04:08:21.766: OSPF: Build router LSA for area 0, router ID 3.3.3.3, seq 0x80000001
*Mar  1 04:08:21.814: OSPF: Build router LSA for area 1, router ID 3.3.3.3, seq 0x80000001
*Mar  1 04:08:26.822: OSPF: 2 Way Communication to 4.4.4.4 on Serial1, state 2WAY(进入双方通信状态)
*Mar  1 04:08:26.826: OSPF: Send DBD to 4.4.4.4 on Serial1 seq 0x57F opt 0x52 flag 0x7 len 32(称自己是MST)
*Mar  1 04:08:27.326: OSPF: Rcv DBD from 4.4.4.4 on Serial1 seq 0x8F0 opt 0x52 flag 0x7 len 32  mtu 1500 state EXSTART(在收到邻居发过来的DD包后,进行选MST或SLAVE并且进入EXSTART状态)
*Mar  1 04:08:27.330: OSPF: NBR Negotiation Done. We are the SLAVE(选举结果是我是SLAVE)
*Mar  1 04:08:27.334: OSPF: Send DBD to 4.4.4.4 on Serial1 seq 0x8F0 opt 0x52 flag 0x2 len 72(发送自己数据库LSA头的摘要并且延用MST 的SEQ号,只有MST才可以更改SEQ号因为这样才可以保证DD 报文可以被正确的接收个人理解相当于对报文的确认吧)
*Mar  1 04:08:28.102: OSPF: Rcv DBD from 4.4.4.4 on Serial1 seq 0x8F1 opt 0x52 flag 0x3 len 72  mtu 1500 state EXCHANGE(在收到邻居发过来LSA头的摘要后进行对比并进入EXCHANGE状态)
*Mar  1 04:08:28.106: OSPF: Send DBD to 4.4.4.4 on Serial1 seq 0x8F1 opt 0x52 flag 0x0 len 32(告之邻居我这边已经交换完了没有了,不过我个人理解是我这边数据库LSA头部的摘要全部发完了)
*Mar  1 04:08:28.110: OSPF: Database request to 4.4.4.4
*Mar  1 04:08:28.114: OSPF: sent LS REQ packet to 192.168.0.2, length 12(发送链路请求包)
*Mar  1 04:08:28.606: OSPF: Rcv DBD from 4.4.4.4 on Serial1 seq 0x8F2 opt 0x52 flag 0x1 len 32  mtu 1500 state EXCHANGE(收到邻居发过来的DD包说我这边也交换完了没有可发的,并且又一次进入EXCHANG状态。注意seq变成了0x8F2可以这样解释:我前面发的是seq 0x8F1包而这次收到的是seq 0x8F2的包这是为什么呢?知道不?好好想想!不要告我说不知道那太对不起我一晚上的心血了!哎!还是让我告诉你吧:这是因为只有MST才可以更改这个值,这是不是无形之中对前面发的那个包进行了一次ACK呢!要好好想想呀!这都是我的个人理解仅供参考)
*Mar  1 04:08:28.610: OSPF: Exchange Done with 4.4.4.4 on Serial1(产生的结果是双方交换全部完成)
*Mar  1 04:08:28.610: OSPF: Send DBD to 4.4.4.4 on Serial1 seq 0x8F2 opt 0x52 flag 0x0 len 32(告之MST我收到你前一个seq 0x8F2的包了,通知Exchange结束)
*Mar  1 04:08:28.918: OSPF: Synchronized with 4.4.4.4 on Serial1, state FULL(数据达到同步了进入FULL状)
*Mar  1 04:08:28.918: %OSPF-5-ADJCHG: Process 11, Nbr 4.4.4.4 on Serial1 from LOADING to FULL, Loading Done
*Mar  1 04:08:29.426: OSPF: Build router LSA for area 0, router ID 3.3.3.3, seq 0x80000002
*Mar  1 04:08:35.018: OSPF: Build router LSA for area 0, router ID 3.3.3.3, seq 0x80000003
*Mar  1 04:09:01.518: OSPF: end of Wait on inte***ce Ethernet0
*Mar  1 04:09:01.522: OSPF: DR/BDR election on Ethernet0
*Mar  1 04:09:01.522: OSPF: Elect BDR 3.3.3.3
*Mar  1 04:09:01.526: OSPF: Elect DR 3.3.3.3
*Mar  1 04:09:01.526: OSPF: Elect BDR 0.0.0.0
*Mar  1 04:09:01.530: OSPF: Elect DR 3.3.3.3
*Mar  1 04:09:01.530:        DR: 3.3.3.3 (Id)   BDR: none
*Mar  1 04:09:02.034: OSPF: No full nbrs to build Net Lsa for inte***ce Ethernet0
r3#以上为DEBUG IP OS AD信息


*Mar  1 08:09:37.985: OSPF: DR/BDR election on Ethernet0
*Mar  1 08:09:37.985: OSPF: Elect BDR 4.4.4.4
*Mar  1 08:09:37.989: OSPF: Elect DR 4.4.4.4
*Mar  1 08:09:37.989: OSPF: Elect BDR 0.0.0.0
*Mar  1 08:09:37.993: OSPF: Elect DR 4.4.4.4
*Mar  1 08:09:37.993:        DR: 4.4.4.4 (Id)   BDR: none
*Mar  1 08:09:37.997: OSPF: Remember old DR 192.168.4.2 (id)
*Mar  1 08:09:38.497: OSPF: No full nbrs to build Net Lsa for inte***ce Ethernet0
*Mar  1 08:09:45.329: %OSPF-4-ERRRCV: Received invalid packet: mismatch area ID, from backbone area must be virtual-link but not found from 192.168.25.5, Ethernet0
*Mar  1 08:09:55.329: %OSPF-4-ERRRCV: Received invalid packet: mismatch area ID, from backbone area must be virtual-link but not found from 192.168.25.5, Ethernet0
*Mar  1 08:10:05.393: %OSPF-4-ERRRCV: Received invalid packet: mismatch area ID, from backbone area must be virtual-link but not found from 192.168.25.5, Ethernet0
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|boway Inc. ( 冀ICP备10011147号 )

GMT+8, 2024-11-24 01:50 , Processed in 0.093064 second(s), 16 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表