OSPF Routing Flashcards
What class of protocol is OSPF
OSPF is a classless, link-state routing protocol
What is Classless Routing
- Classless routing causes a router to use its default routes for any packet that does not match some other route
OSPF Packet Types
- Hello: Used to establish and maintain
adjacency. - DBD (Database Description):
Abbreviated list of the sending router’s
linkstate database. - LSR (Link-State Request) : Used by
routers to request more information
about any entry in the DBD. - LSU (Link-State Update): Link-state
information. - LSAck (LSA Acknowledgment): Router
sends a link-state (LSAck) to confirm
MCQ - Hello Packet & Neighbour establishment
- Hello Packets are sent by OSPF enabled
routers to discover their neighbours and
establish adjacencies. - Only when the 3 parameters (Hello
interval, Dead interval and Network Type)
are agreed, the routers can become
neighbours
Hello and Dead interval
*Hello interval: this defines how often we send the hello
packet.
*Dead interval: this defines how long we should wait for
hello packets before we declare the neighbor dead.
On Ethernet interfaces you will see a 10 second hello
interval and a 40 second dead interval.
Enabling OSPFv2 Routing statement
R1(config)# router ospf [ process-id ]
* This command enables OSPF on the router using process-id of 10 in this example
Router ID and Network statement
R1(config)#router ospf 10
R1(config-router)#router-id 1.1.1.1
R1(config-router)#network 172.16.3.0 255.255.255.252 area 0
Area 0 is the backbone area
OSPF Passive Interface statement
R1(config-router)# passive-interface g0/0
Verifying OSPFv2 operation statement (see image in disc)
show ip ospf neighbors
#show ip route (see if route is learning remote routes)
What is Link-State
- Link-State - each node independently calculates the next best logical path
What is OSPF
It is an open standard and inter-operate across multi vendor environments
What is OSPF known for
- It is known for it’s scalability