OSPF Flashcards
What must match for two routers to become OSPF neighbors?
Hello and Dead intervals, area ID, authentication, subnet, MTU
What happens when the OSPF process is reset?
All adjacencies are lost and rebuilt
What command sets an MD5 authentication key?
ip ospf message-digest-key [key-id] md5 [password]
What is the difference between E1 and E2 external routes?
E1 includes internal cost, E2 uses only external cost
How do you influence DR election?
Set OSPF priority (higher wins)
What command shows OSPF DR/BDR status on an interface?
show ip ospf interface
How do you change OSPF cost reference bandwidth?
auto-cost reference-bandwidth [value] (inside OSPF process)
What is the significance of the OSPF Dead interval?
If no Hello packets are received in this time, the neighbor is declared down
Can OSPF use loopback interfaces?
Yes, and they are preferred for router ID selection
What command displays OSPF LSAs in the database?
show ip ospf database
What command shows OSPF neighbors?
show ip ospf neighbors
What OSPF state indicates routers are exchanging DBDs?
Exchange
What command clears the OSPF process?
clear ip ospf process
Which router types generate Type 5 LSAs?
ASBRs
What OSPF network type does not elect a DR or BDR?
Point-to-Point (P2P)
What command can trace OSPF packets?
debug ip ospf packet
What command shows the dynamic routing protocols running?
show ip protocols
What is the default external route type in OSPF?
E2
What command resets the OSPF process?
clear ip ospf process
What metric does OSPF use?
Cost
Which router becomes the DR if priorities are equal?
Router with the highest Router ID
How do you originate a default route in OSPF (ASBR)?
default-information originate
Which command shows the contents of the OSPF LSDB?
show ip ospf database
Which command configures OSPF authentication?
ip ospf authentication [message-digest/simple]