Juniper Networks Certified Internet Specialist Exam: JN0-360 - Router A Route Selection

Router A Route Selection

Prev Question Next Question

Question

Router A receives two similar route advertisements from different BGP peers. What would cause a route to be selected in this scenario?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

A

When a router receives multiple route advertisements for the same destination from different BGP peers, it needs to select one of these routes to be installed in the routing table and used for forwarding traffic. The selection process is based on the BGP route selection algorithm, also known as the path selection process.

The BGP route selection algorithm evaluates a number of attributes for each candidate route and assigns a preference value to each attribute. The route with the highest preference value is selected as the best path and installed in the routing table.

The attributes evaluated by the BGP route selection algorithm are:

  1. Weight: A locally significant value assigned by the local router to the route. The highest weight value is preferred.

  2. Local preference: An indication of the degree of preference given to a route by the local AS. The highest local preference value is preferred.

  3. Locally originated routes: Routes originated by the local router are preferred over routes learned from other routers.

  4. AS path length: Shorter AS paths are preferred over longer AS paths.

  5. Origin type: IGP (Interior Gateway Protocol) routes are preferred over EGP (Exterior Gateway Protocol) routes, which are in turn preferred over incomplete routes.

  6. MED (Multi-Exit Discriminator): A metric used to signal the preferred exit point for traffic leaving an AS. The lowest MED value is preferred.

  7. External BGP (eBGP) over Internal BGP (iBGP): eBGP-learned routes are preferred over iBGP-learned routes.

  8. Peer IP address: The BGP speaker with the lowest IP address is preferred.

Based on the above attributes and their preference values, the BGP route selection algorithm selects the best path for each destination. In the case of receiving two similar route advertisements from different BGP peers, the selection would be based on the above attributes, where the route with the best value for any attribute would be preferred.

Therefore, based on the provided answer options, the answer to the question would be:

A. having a lower MED value - The route with the lowest MED value is preferred, therefore, if one of the routes has a lower MED value than the other, it would be selected.

B. having a lower local preference - The route with the highest local preference value is preferred, therefore, if one of the routes has a higher local preference value than the other, it would be selected.

C. learning a route from a peer with a higher peer ID - Peer ID is not one of the attributes used by the BGP route selection algorithm.

D. learning a route from a peer with a higher IGP metric - IGP metric is not one of the attributes used by the BGP route selection algorithm.