21-1 debug ip ospf adj

 <  Free Open Study  >  

Syntax Description:

This command has no arguments.

Purpose: To display information regarding the formation of an OSPF neighbor relationship. If an OSPF neighbor relationship is not being formed between two routers, this command can be used to determine the problem.

Example 1: Displaying the Successful Formation of an OSPF Adjacency

The following is representative output from the debug ip ospf adj EXEC command for a successful configuration. The EXEC command clear ip ospf process is used to clear the existing adjacency.

 r6#  debug ip ospf adj  OSPF adjacency events debugging is on r6#  clear ip ospf process  Reset ALL OSPF processes? [no]:  yes  r6# 6w3d: OSPF: Interface Loopback0 going Down 6w3d: OSPF: 6.6.6.6 address 6.6.6.6 on Loopback0 is dead, state DOWN 6w3d: OSPF: Interface Serial0/1 going Down 6w3d: OSPF: 6.6.6.6 address 10.1.1.17 on Serial0/1 is dead, state DOWN 6w3d: OSPF: 1.1.1.1 address 10.1.1.18 on Serial0/1 is dead, state DOWN 6w3d: %OSPF-5-ADJCHG: Process 1, Nbr 1.1.1.1 on Serial0/1 from FULL to DOWN, Neighbor Down: Interface down or detached 6w3d: OSPF: Interface Loopback0 going Up 6w3d: OSPF: Interface Serial0/1 going Up 6w3d: OSPF: Build router LSA for area 7, router ID 6.6.6.6, seq 0x80000001 6w3d: OSPF:  2 Way Communication to 1.1.1.1 on Serial0/1, state 2WAY  6w3d: OSPF: Send DBD to 1.1.1.1 on Serial0/1 seq 0x12F4 opt 0x42 flag 0x7 len 32 6w3d: OSPF: Rcv DBD from 1.1.1.1 on Serial0/1 seq 0x2071 opt 0x2 flag 0x7 len 32   mtu 1500  state EXSTART  6w3d: OSPF: First DBD and we are not SLAVE 6w3d: OSPF: Rcv DBD from 1.1.1.1 on Serial0/1 seq 0x12F4 opt 0x2 flag 0x2 len 27 2  mtu 1500 state EXSTART 6w3d: OSPF: NBR Negotiation Done. We are the MASTER 6w3d: OSPF: Send DBD to 1.1.1.1 on Serial0/1 seq 0x12F5 opt 0x42 flag 0x3 len 52 6w3d: OSPF: Database request to 1.1.1.1 6w3d: OSPF: sent LS REQ packet to 10.1.1.18, length 144 6w3d: OSPF: Rcv DBD from 1.1.1.1 on Serial0/1 seq 0x12F5 opt 0x2 flag 0x0 len 32   mtu 1500  state EXCHANGE  6w3d: OSPF: Send DBD to 1.1.1.1 on Serial0/1 seq 0x12F6 opt 0x42 flag 0x1 len 32 6w3d: OSPF: Rcv DBD from 1.1.1.1 on Serial0/1 seq 0x12F6 opt 0x2 flag 0x0 len 32   mtu 1500  state EXCHANGE  6w3d: OSPF: Exchange Done with 1.1.1.1 on Serial0/1 6w3d: OSPF: Synchronized with 1.1.1.1 on Serial0/1,  state FULL  6w3d: %OSPF-5-ADJCHG: Process 1, Nbr 1.1.1.1 on Serial0/1 from LOADING to FULL, Loading Done 

Example 2: Displaying the Attempted Formation of an OSPF Adjacency when There Is an Area Mismatch

The following is representative output from the debug ip ospf adj EXEC command when one end of a serial link has been configured in the wrong OSPF area. The EXEC command clear ip ospf process is used to clear the existing adjacency.

 r6#  debug ip ospf adj  OSPF adjacency events debugging is on r6#  clear ip ospf process  Reset ALL OSPF processes? [no]:  yes  r6# 6w3d: OSPF: Interface Loopback0 going Down 6w3d: OSPF: 6.6.6.6 address 6.6.6.6 on Loopback0 is dead, state DOWN 6w3d: OSPF: Interface Serial0/1 going Down 6w3d: OSPF: 6.6.6.6 address 10.1.1.17 on Serial0/1 is dead, state DOWN 6w3d: OSPF: Interface Loopback0 going Up 6w3d: OSPF: Interface Serial0/1 going Up 6w3d: OSPF: Build router LSA for area 7, router ID 6.6.6.6, seq 0x80000001 6w3d: OSPF: Build router LSA for area 17, router ID 6.6.6.6, seq 0x80000001 6w3d: OSPF: Rcv pkt from 10.1.1.18, Serial0/1, area 0.0.0.17  mismatch area 0.0.0.7 in the header  
 <  Free Open Study  >  


Cisco[r] OSPF Command and Configuration Handbook
Cisco OSPF Command and Configuration Handbook (paperback)
ISBN: 1587055406
EAN: 2147483647
Year: 2002
Pages: 236

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net