cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1931
Views
5
Helpful
3
Replies

OSPF states

balajee
Level 1
Level 1

Hi,

I am not clear on OSPF. Why do we need two kinds of states in OSPF ie OSPF neighbor states and interface states? I know abt neighbor states, but what is the significance of interface states?

3 Replies 3

royalblues
Level 10
Level 10

Balajee,

The Neighbor state machine as you know tracks the state of the neighbor i.e down, init, exstart, full etc.

The interface state machine on the other hand tracks the state of the interface i.e whether it is down, P2P, waiting, DR, BDR or loopback

HTH

Narayan

bvsnarayana03
Level 5
Level 5

OSPF is a link state protocol, which means it has a lot to do with the link or the state of the link. Link can be considered a synonym for interface, when referring to ospf.So, it is the interface state that determines how an ospf router negotiates with neighbor.

When an ospf router sends HELLO pkts to its neighbor for negotiation, it contains info obtained in the interface state to tell the neighbor about its own state.

So to conclude, interface state determines the router's own state to neighbors. while neighbor state is as the name indicates.

hope this clarifies. you may revert for further clarity.

pls rate if helped.

Thanks for the good explaination. I got the answer from ur explaination

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco