ExamGecko
Question list
Search
Search

Related questions











Question 53 - JN0-351 discussion

Report
Export

Exhibit

You are troubleshooting an issue where traffic to 192.168.10.0/24 is being sent to R1 instead of your desired path through R2.

Referring to the exhibit, what is the reason for the problem?

A.
R2's route is not the best path due to loop prevention.
Answers
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.
Answers
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
Answers
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.
Answers
D.
R1's route is the best path due to the shorter AS path.
Suggested answer: C

Explanation:

The exhibit shows the output of the commandshow ip bgp, which displays information about the BGP routes in the routing table1. The output shows two routes for the destination 192.168.10.0/24, one from R1 and one from R2.

The route from R1 has a local preference of 200, while the route from R2 has a local preference of 100.Local preference is a BGP attribute that indicates the degree of preference for a route within an autonomous system (AS)2.A higher local preference means a more preferred route2.

BGP uses a best path selection algorithm to choose the best route for each destination among multiple paths.The algorithm compares different attributes of the routes in a specific order of precedence3.The first attribute that is compared is weight, which is a Cisco-specific attribute that is local to the router3.If the weight is equal or not set, the next attribute that is compared is local preference3.

In this case, both routes have the same weight of 0, which means that they are learned from external BGP (eBGP) peers3. Therefore, the next attribute that is compared is local preference.Since R1's route has a higher local preference than R2's route, it is chosen as the best path and installed in the routing table3. The other attributes, such as origin code and AS path, are not considered in this case.

asked 18/09/2024
Robert Miletich
46 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first