HPE7-A07 · Question #5
An OSPF router has learned a path to an external network by both an E1 and an E2 advertisement. Both routes have the same path cost. Which path will the router prefer?
The correct answer is A. The router will prefer the E1 path. In OSPF, when a router learns about an external network through both E1 and E2 advertisements, and if both have the same path cost, the router will prefer the E1 path. This is because E1 routes consider both the external cost to reach the external network and the internal cost…
Question
An OSPF router has learned a path to an external network by both an E1 and an E2 advertisement. Both routes have the same path cost. Which path will the router prefer?
Options
- AThe router will prefer the E1 path.
- BThe router will use Doth paths equally utilizing ECMP.
- CThe router will prefer the E2 path.
- DBoth routes will be suppressed until the path conflict has been resolved.
How the community answered
(53 responses)- A74% (39)
- B17% (9)
- C6% (3)
- D4% (2)
Explanation
In OSPF, when a router learns about an external network through both E1 and E2 advertisements, and if both have the same path cost, the router will prefer the E1 path. This is because E1 routes consider both the external cost to reach the external network and the internal cost to reach the ASBR, providing a more comprehensive metric. E2 routes only consider the external cost and ignore the internal cost to the ASBR, which could potentially lead to suboptimal routing. Therefore, the router will choose the E1 path due to its more accurate representation of the total path cost.
Topics
Community Discussion
No community discussion yet for this question.