OSPF Flashcards
(120 cards)
What does OSPF stand for?
a) Open Shortest Path First
b) Optimal Shortest Path Forwarding
c) Open Secure Path First
d) Optimal Secure Path Forwarding
Answer: a) Open Shortest Path First
Which algorithm does OSPF use to calculate the shortest path?
a) Bellman-Ford
b) Dijkstra
c) Spanning Tree
d) Diffie-Hellman
Answer: b) Dijkstra
What is the administrative distance of OSPF?
a) 90
b) 100
c) 110
d) 120
Answer: c) 110
Which transport protocol does OSPF use?
a) TCP
b) UDP
c) IP (Protocol 89)
d) ICMP
Answer: c) IP (Protocol 89)
What is the default OSPF hello interval on a broadcast multi-access network?
a) 5 seconds
b) 10 seconds
c) 30 seconds
d) 60 seconds
Answer: b) 10 seconds
Which OSPF packet type is used to establish neighbor adjacency?
a) Hello
b) DBD (Database Description)
c) LSR (Link-State Request)
d) LSU (Link-State Update)
Answer: a) Hello
What is the default dead interval in OSPF?
a) 10 seconds
b) 20 seconds
c) 40 seconds
d) 60 seconds
Answer: c) 40 seconds
Which multicast address does OSPF use for AllSPFRouters?
a) 224.0.0.5
b) 224.0.0.6
c) 224.0.0.9
d) 224.0.0.10
Answer: a) 224.0.0.5
Which multicast address does OSPF use for AllDRRouters?
a) 224.0.0.5
b) 224.0.0.6
c) 224.0.0.9
d) 224.0.0.10
Answer: b) 224.0.0.6
What is the OSPF router ID selection priority order?
a) Highest loopback > Highest active physical > Manually configured
b) Manually configured > Highest loopback > Highest active physical
c) Highest active physical > Highest loopback > Manually configured
d) Manually configured > Highest active physical > Highest loopback
Answer: b) Manually configured > Highest loopback > Highest active physical
Which OSPF network type requires a DR/BDR election?
a) Point-to-Point
b) Broadcast
c) Non-Broadcast Multi-Access (NBMA)
d) Both b and c
Answer: d) Both b and c
Which OSPF network type does not require a DR/BDR?
a) Broadcast
b) Point-to-Point
c) Non-Broadcast Multi-Access (NBMA)
d) Point-to-Multipoint
Answer: b) Point-to-Point
What is the OSPF default cost for a 100 Mbps Ethernet interface?
a) 1
b) 10
c) 100
d) 1000
Answer: a) 1
How is OSPF cost calculated?
a) 10^8 / Bandwidth (bps)
b) 10^6 / Bandwidth (bps)
c) Bandwidth (bps) / 10^8
d) Bandwidth (bps) / 10^6
Answer: a) 10^8 / Bandwidth (bps)
Which command manually sets the OSPF router ID?
a) router-id <ID> under OSPF process
b) ip ospf router-id <ID>
c) ospf router-id <ID>
d) set router-id <ID></ID></ID></ID></ID>
Answer: a) router-id <ID> under OSPF process</ID>
Which OSPF state means two routers have exchanged DBD packets?
a) Init
b) 2-Way
c) ExStart
d) Exchange
Answer: d) Exchange
In which OSPF state are LSAs fully exchanged?
a) Loading
b) Full
c) Exchange
d) 2-Way
Answer: b) Full
Which command enables OSPF on an interface?
a) ip ospf enable
b) ip ospf process-id area area-id
c) network <network> <wildcard> area <area></area>
d) Both b and c</wildcard></network>
Answer: d) Both b and c
What is the purpose of the OSPF DBD packet?
a) To establish neighbor relationships
b) To describe the LSDB contents
c) To request specific LSAs
d) To flood LSAs
Answer: b) To describe the LSDB contents
Which OSPF packet type confirms receipt of LSU packets?
a) Hello
b) LSAck
c) DBD
d) LSR
Answer: b) LSAck
What is the backbone area in OSPF?
a) Area 0
b) Area 1
c) Area 100
d) Area 255
Answer: a) Area 0
Which LSA type describes intra-area routes?
a) Type 1
b) Type 2
c) Type 3
d) Type 4
Answer: a) Type 1 (Router LSA)
Which LSA type is generated by the DR?
a) Type 1
b) Type 2
c) Type 3
d) Type 5
Answer: b) Type 2 (Network LSA)
Which LSA type describes routes from other areas?
a) Type 1
b) Type 3
c) Type 5
d) Type 7
Answer: b) Type 3 (Summary LSA)