QuestionQ23

BGP

Your network receives the 203.0.113.0/24 network through EBGP from AS 64500 and AS 64501. Both advertisements have identical local-preference values, AS-path lengths, and BGP origin codes. You want to influence how your AS sends traffic to the 203.0.113.0/24 network.

In this scenario, which attribute should you consider next when choosing the best path?

  • A router ID
  • B MED value
  • C peer IP address
  • D IGP metric
Explanation

By default, BGP compares MED only between paths received from the same neighboring AS. Because these paths come from AS 64500 and AS 64501, MED is not used unless a nondefault always-compare-MED policy is configured. Since both routes were learned through eBGP, the next applicable criterion is the IGP metric to the BGP next hop; the path with the lower metric is preferred.

Learn more

Community Discussion

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