QuestionQ16

BGP

Question Image

You are troubleshooting a problem in which traffic for 192.168.10.0/24 is sent to R1 rather than the desired path through R2. Referring to the exhibit, what is causing this problem?

  • A R2's route is not the best path due to loop prevention.
  • B R2's route is not the best path due to a lower origin code.
  • C R1's route is the best path due to a higher local preference.
  • D R1's route is the best path due to the shorter AS path.
Explanation

The route through R1 has a local preference of 500, while the route through R2 has a local preference of 100. BGP prefers the route with the higher local-preference value, so the R1 path is selected even though the R2 AS path is shorter. Juniper: Local Preference for BGP Routes

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!