nerdexam
Juniper

JN0-281 · Question #25

How does OSPF calculate the best path to a particular prefix?

The correct answer is A. It finds the path with the numerically lowest cost. OSPF (Open Shortest Path First) calculates the best path based on the cost of the route, which is derived from the bandwidth of the interfaces along the path. OSPF Path Selection: OSPF assigns a cost to each link, typically based on the link's bandwidth (higher bandwidth equals…

Underlay Network

Question

How does OSPF calculate the best path to a particular prefix?

Options

  • AIt finds the path with the numerically lowest cost.
  • BIt finds the path with the shortest autonomous system path.
  • CIt finds the path with the least number of hops.
  • DIt finds the path with the numerically lowest route preference.

How the community answered

(30 responses)
  • A
    93% (28)
  • B
    3% (1)
  • C
    3% (1)

Explanation

OSPF (Open Shortest Path First) calculates the best path based on the cost of the route, which is derived from the bandwidth of the interfaces along the path. OSPF Path Selection: OSPF assigns a cost to each link, typically based on the link's bandwidth (higher bandwidth equals lower cost). The OSPF algorithm computes the shortest path to a destination by adding the costs of all links in the path. The path with the numerically lowest total cost is chosen as the best path. Cost Calculation: The OSPF cost can be manually adjusted or automatically calculated using the default formula: Cost=Reference BandwidthLink Bandwidth\text{Cost} = \frac{\text{Reference Bandwidth}}{\text{Link Bandwidth}}Cost=Link BandwidthReference Bandwidth

Topics

#OSPF#cost metric#path selection#SPF

Community Discussion

No community discussion yet for this question.

Full JN0-281 Practice