Have questions regarding specific certification or exam? Want syllabus or course information? Want to know which certifications are best? Ask anything you want to know?
It's good to share knowledge and expertise. Go ahead , answer the questions and help out the the community. You can point to resources and preparation tips also.
We at CertificationsTalk are willing to produce a community of helpful Professionals, to seek solutions of each other's problems. Take action and become a part of community.

Go Back   IT Certifications Forum > Ask - Answer - Share > Cisco Certifications

Share This Thread To
Reply
 
LinkBack Thread Tools Display Modes
Old 03-17-2011, 09:29 AM   #1 (permalink)
Junior Member
 
Join Date: Mar 2011
Posts: 2
Default How Does OSPF Neighbor State Change

How Does OSPF Neighbor State Change
Q1. What are OSPF packets? What do they do?
Answer: There are 5 OSPF packets:
Hello: Discover neighbors.
DD (Data Description): Exchange LSDB catalog (LSA headers).
Request: Ask neighbor to send LSA that I don't have.
Update: Send LSA requested by neighbors.
Ack: Tell Update sending router that I have received your Update.
Q2: What are neighbor states? What do they do?
Answer: There are 7 states:
Down. Neighbor is gone. E.g. neighbor is down, stops running OSPF, or is just initialized.
Init: The node has a one-way relationship with a neighbor. It receives a Hello from the neighbor.
2-way. The node has a bidirectional relationship with a neighbor. It has received a Hello from the neighbor and the Hello's neighbor list contains my name.
ExStart. Two neighbors negotiate Master-Slave relationship before exchanging LSA.
Exchange: Exchange LSDB catalogs with neighbors and find out which LSA is missing.
Loading. Ask a neighbor to send LSAs that I don't have.
Full: Two neighbors have the same LSDB. They have the same knowledge of the topology.
Note: See the companion simulation to relate how routers change states when receiving packets.
Q3. How to groups 9 neighbor into some meaningful stages?
Answer. These states can be classified into 4 stages:
- Discover neighbors. Down, Init, 2-way. Use Hello.
- Determine Master-Slave: ExStart, Exchange. Use DD.
- Find out which LSA to exchange: Loading. Use DD, Request.
- Synchronize LSDB: Full Adjacency. Use Update, Ack.
Q4. What is Master-Slave relationship for neighbors?
Answer: When two neighbors are ready to exchange LSA catalogs, they need to use a sequence number to tag LSA catalog exchange. The first job is to decide the sequence number. Two neighbors exchange DD to indicate their Router ID. The one with the higher Router ID wins and chooses a sequence number.
Note. In the companion simulation (External link), you can click DD to see its content.
Q5. Why neighbors need to use a sequence number to track LSA catalog exchange?
Answer: Sequence numbers are used to track LSA catalog transaction sessions. A router may have a large LSA catalog that does fit into one DD packet. This router may have several neighbors to exchange LSA catalog at the same time.
Q6. Does OSPF use TCP to provide reliable transmission of LSA?
Answer: No. OSPF uses Request-Update-Ack to ensure reliable transmission of LSA.
Q7. Why doesn't OSPF use TCP to transfer LSA?
Answer: TCP is designed to transmit large chunk of data across a congested network. Its goal is to adapt to network congestion and avoid packet losses due to router queue full. It is costly to set up a TCP sessions. An OSPF router transmits LSA to directly connected neighbors. There is no network congestion is involved between sender and receiver nodes. Using a light weight send-ack reliable transmission method is sufficient.
This article is the FAQ of an interactive simulation: OSPF Neighbor state. It visualizes topology, packets, router state changes. It listed under External links.

Last edited by Mary Winkler; 05-10-2012 at 08:26 AM.
vl1111 is offline   Reply With Quote
Old 05-09-2012, 04:24 PM   #2 (permalink)
Member
 
Join Date: Apr 2012
Posts: 37
Default

Recently I am making a topology about ospf and have interesting time in working to get OSPF Neighbor States. And to get it all is needed is the basic understanding of IP routing protocols and the OSPF routing protocol. I have used "show ip ospf neighbor" command to determine the state of the OSPF neighbor or neighbors. And i feel comfortable to work with it without any troubleshoots.
Pauline Grossen is offline   Reply With Quote
Reply

Tags
www.visualland.net

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 09:55 AM.


3.8.4