OSPF 邻居建立过程 debug ip ospf adj 事件记录

-----------sw1------------------

SW1(config-if)#
*Jul 10 09:45:32.366: OSPF-100 ADJ   Vl1: Interface going Down
*Jul 10 09:45:32.366: OSPF-100 ADJ   Vl1: 10.1.1.1 address 10.1.1.1 is dead, state DOWN
*Jul 10 09:45:32.366: %OSPF-5-ADJCHG: Process 100, Nbr 10.1.1.1 on Vlan1 from 2WAY to DOWN, Neighbor Down: Interface down or detached
*Jul 10 09:45:32.366: OSPF-100 ADJ   Vl1: Neighbor change event
*Jul 10 09:45:32.366: OSPF-100 ADJ   Vl1: DR/BDR election
*Jul 10 09:45:32.366: OSPF-100 ADJ   Vl1: Elect BDR 0.0.0.0
*Jul 10 09:45:32.366: OSPF-100 ADJ   Vl1: Elect DR 10.1.1.5
*Jul 10 09:45:32.366: OSPF-100 ADJ   Vl1: DR: 10.1.1.5 (Id)   BDR: none 
*Jul 10 09:45:32.366: OSPF-100 ADJ   Vl1: 10.1.1.5 address 10.1.1.5 is dead, state DOWN
*Jul 10 09:45:32.366: %OSPF-5-ADJCHG: Process 100, Nbr 10.1.1.5 on Vlan1 from FULL to DOWN, Neighbor Down: Interface down or detached
*Jul 10 09:45:32.366: OSPF-100 ADJ   Vl1: Neighbor change event
*Jul 10 09:45:32.366: OSPF-100 ADJ   Vl1: DR/BDR election
*Jul 10 09:45:32.366: OSPF-100 ADJ   Vl1: Elect BDR 0.0.0.0
*Jul 10 09:45:32.366: OSPF-100 ADJ   Vl1: Elect DR 0.0.0.0
*Jul 10 09:45:32.366: OSPF-100 ADJ   Vl1: DR: none    BDR: none 
*Jul 10 09:45:32.366: OSPF-100 ADJ   Vl1: Remember old DR 10.1.1.5 (id)
*Jul 10 09:45:32.366: OSPF-100 ADJ   Vl1: 10.1.1.4 address 10.1.1.4 is dead, state DOWN
*Jul 10 09:45:32.366: OSPF-100 ADJ   Vl1: Neighbor change event
*Jul 10 09:45:32.366: OSPF-100 ADJ   Vl1: DR/BDR election
*Jul 10 09:45:32.366: OSPF-100 ADJ   Vl1: Elect BDR 0.0.0.0
*Jul 10 09:45:32.366: OSPF-100 ADJ   Vl1: Elect DR 0.0.0.0
*Jul 10 09:45:32.366: OSPF-100 ADJ   Vl1: DR: none    BDR: none 
*Jul 10 09:45:32.366: OSPF-100 ADJ   Vl1: Interface going Up
*Jul 10 09:45:32.367: OSPF-100 ADJ   Vl1: 2 Way Communication to 10.1.1.5, state 2WAY
*Jul 10 09:45:32.367: OSPF-100 ADJ   Vl1: Backup seen event before WAIT timer
*Jul 10 09:45:32.367: OSPF-100 ADJ   Vl1: DR/BDR election
*Jul 10 09:45:32.367: OSPF-100 ADJ   Vl1: Elect BDR 0.0.0.0
*Jul 10 09:45:32.367: OSPF-100 ADJ   Vl1: Elect DR 10.1.1.5
*Jul 10 09:45:32.367: OSPF-100 ADJ   Vl1: DR: 10.1.1.5 (Id)   BDR: none 
*Jul 10 09:45:32.367: OSPF-100 ADJ   Vl1: Nbr 10.1.1.5: Prepare dbase exchange
*Jul 10 09:45:32.367: OSPF-100 ADJ   Vl1: Send DBD to 10.1.1.5 seq 0x19D6 opt 0x52 flag 0x7 len 32
*Jul 10 09:45:32.367: OSPF-100 ADJ   Vl1: Rcv DBD from 10.1.1.5 seq 0x10FE opt 0x52 flag 0x7 len 32  mtu 1500 state EXSTART
*Jul 10 09:45:32.367: OSPF-100 ADJ   Vl1: NBR Negotiation Done. We are the SLAVE
*Jul 10 09:45:32.367: OSPF-100 ADJ   Vl1: Nbr 10.1.1.5: Summary list built, size 0
*Jul 10 09:45:32.367: OSPF-100 ADJ   Vl1: Send DBD to 10.1.1.5 seq 0x10FE opt 0x52 flag 0x0 len 32
*Jul 10 09:45:32.367: OSPF-100 ADJ   Vl1: Rcv DBD from 10.1.1.5 seq 0x10FF opt 0x52 flag 0x1 len 92  mtu 1500 state EXCHANGE
*Jul 10 09:45:32.367: OSPF-100 ADJ   Vl1: Exchange Done with 10.1.1.5
*Jul 10 09:45:32.367: OSPF-100 ADJ   Vl1: Send LS REQ to 10.1.1.5 length 60 LSA count 3
*Jul 10 09:45:32.367: OSPF-100 ADJ   Vl1: Send DBD to 10.1.1.5 seq 0x10FF opt 0x52 flag 0x0 len 32
*Jul 10 09:45:32.368: OSPF-100 ADJ   Vl1: Rcv LS UPD from 10.1.1.5 length 136 LSA count 3
*Jul 10 09:45:32.368: OSPF-100 ADJ   Vl1: Synchronized with 10.1.1.5, state FULL
SW(config-if)#
*Jul 10 09:45:32.368: %OSPF-5-ADJCHG: Process 100, Nbr 10.1.1.5 on Vlan1 from LOADING to FULL, Loading Done

--------------------sw2----------------

OSPF adjacency debugging is on
sw2#
*Jul 10 09:45:32.367: OSPF-100 ADJ   Vl1: Cannot see ourself in hello from 10.1.1.4, state INIT
*Jul 10 09:45:32.367: OSPF-100 ADJ   Vl1: Neighbor change event
*Jul 10 09:45:32.367: OSPF-100 ADJ   Vl1: DR/BDR election
*Jul 10 09:45:32.367: OSPF-100 ADJ   Vl1: Elect BDR 0.0.0.0
*Jul 10 09:45:32.367: OSPF-100 ADJ   Vl1: Elect DR 10.1.1.5
*Jul 10 09:45:32.367: OSPF-100 ADJ   Vl1: DR: 10.1.1.5 (Id)   BDR: none 
*Jul 10 09:45:32.367: OSPF-100 ADJ   Vl1: 2 Way Communication to 10.1.1.4, state 2WAY
*Jul 10 09:45:32.367: OSPF-100 ADJ   Vl1: Neighbor change event
*Jul 10 09:45:32.367: OSPF-100 ADJ   Vl1: DR/BDR election
*Jul 10 09:45:32.367: OSPF-100 ADJ   Vl1: Elect BDR 0.0.0.0
*Jul 10 09:45:32.367: OSPF-100 ADJ   Vl1: Elect DR 10.1.1.5
*Jul 10 09:45:32.367: OSPF-100 ADJ   Vl1: DR: 10.1.1.5 (Id)   BDR: none 
*Jul 10 09:45:32.367: OSPF-100 ADJ   Vl1: Nbr 10.1.1.4: Prepare dbase exchange
*Jul 10 09:45:32.367: OSPF-100 ADJ   Vl1: Send DBD to 10.1.1.4 seq 0x10FE opt 0x52 flag 0x7 len 32
*Jul 10 09:45:32.367: OSPF-100 ADJ   Vl1: Neighbor change event
*Jul 10 09:45:32.367: OSPF-100 ADJ   Vl1: DR/BDR election
*Jul 10 09:45:32.367: OSPF-100 ADJ   Vl1: Elect BDR 0.0.0.0
*Jul 10 09:45:32.367: OSPF-100 ADJ   Vl1: Elect DR 10.1.1.5
*Jul 10 09:45:32.367: OSPF-100 ADJ   Vl1: DR: 10.1.1.5 (Id)   BDR: none 
*Jul 10 09:45:32.367: OSPF-100 ADJ   Vl1: Rcv DBD from 10.1.1.4 seq 0x19D6 opt 0x52 flag 0x7 len 32  mtu 1500 state EXSTART
*Jul 10 09:45:32.367: OSPF-100 ADJ   Vl1: First DBD and we are not SLAVE
*Jul 10 09:45:32.367: OSPF-100 ADJ   Vl1: Rcv DBD from 10.1.1.4 seq 0x10FE opt 0x52 flag 0x0 len 32  mtu 1500 state EXSTART
*Jul 10 09:45:32.367: OSPF-100 ADJ   Vl1: NBR Negotiation Done. We are the MASTER
*Jul 10 09:45:32.367: OSPF-100 ADJ   Vl1: Nbr 10.1.1.4: Summary list built, size 3
*Jul 10 09:45:32.367: OSPF-100 ADJ   Vl1: Send DBD to 10.1.1.4 seq 0x10FF opt 0x52 flag 0x1 len 92
*Jul 10 09:45:32.368: OSPF-100 ADJ   Vl1: Rcv LS REQ from 10.1.1.4 length 60 LSA count 3
*Jul 10 09:45:32.368: OSPF-100 ADJ   Vl1: Send LS UPD to 10.1.1.4 length 136 LSA count 3
*Jul 10 09:45:32.368: OSPF-100 ADJ   Vl1: Rcv DBD from 10.1.1.4 seq 0x10FF opt 0x52 flag 0x0 len 32  mtu 1500 state EXCHANGE
*Jul 10 09:45:32.368: OSPF-100 ADJ   Vl1: Exchange Done with 10.1.1.4
*Jul 10 09:45:32.368: OSPF-100 ADJ   Vl1: Synchronized with 10.1.1.4, state FULL
*Jul 10 09:45:32.368: %OSPF-5-ADJCHG: Process 100, Nbr 10.1.1.4 on Vlan1 from LOADING to FULL, Loading Done
sw2#
*Jul 10 09:45:32.368: OSPF-100 ADJ   Vl1: Nbr 10.1.1.4: Clean-up dbase exchange

------------------------------------------------------------------------------------------------------------------------------------------------

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值