PrepAway - Latest Free Exam Questions & Answers

What will Router 2 do with the routes shown in the exhibit?

Refer to the Exhibit.

Router 2 is receiving a route to 10.0.0.0/8 from Router 4 and Router 5. What will Router 2 do with the routes shown in the exhibit?

PrepAway - Latest Free Exam Questions & Answers

A.
Router 2 will mark both routes active if both next hops are reachable.

B.
Router 2 will prefer the route received from Router 4 because of a lower origin code value.

C.
Router 2 will prefer the route that arrived first because neither route is necessarily preferable over the other.

D.
Router 2 will prefer the route received from Router 5 because it has a lower MED value.

Explanation:
The BGP Path Decision Algorithm
BGP determines the best path to each destination for a BGP speaker by comparing path attributes according to the following selection sequence:
1. Select a path with a reachable next hop.
2. Select the path with the highest weight.
3. If path weights are the same, select the path with the highest local preference value.
4. Prefer locally originated routes (network routes, redistributed routes, or aggregated routes) over received routes.
5. Select the route with the shortest AS-path length.
6. If all paths have the same AS-path length, select the path based on origin: IGP is preferred over EGP; EGP is preferred over Incomplete.
7. If the origins are the same, select the path with lowest MED value.
8. If the paths have the same MED values, select the path learned via EBGP over one learned via IBGP.
9. Select the route with the lowest IGP cost to the next hop.
10. Select the route received from the peer with the lowest BGP router ID.

The following sections discuss the attributes evaluated in the path decision process. Examples show how you might configure these attributes to influence routing decisions.

Useful link:
http://www.juniper.net/techpubs/software/erx/erx41x/swconfig-routing-vol2/html/bgp-config10.html


Leave a Reply