jawestbr This is the content source of the page.
The advantage that BGP has over all other routing protocols is the ability to control path selection based on different routing policies. The policy to apply to influence traffic into and out of your network should be based on what fits within your existing deployment and what you find easiest to manage.

Initial Topology

The following topology will be referenced for the entirety of this document unless otherwise stated. EIGRP is being used as the underlying IGP for basic connectivity.
notion image

Manipulating the Best Path

R1 prefer R2 now, let’s change it to R3:
  • Weight
  • Local Preference
  • AS Path
  • MED
  • Installing Multiple Paths

Weight: Higher the better, default is 0

Since the weight of the R3 path is 1, and the weight of the R2 path is 0 (by default) R1 prefers the path with a next hop address of 13.13.13.3.
 

Local Preference: Higher the better, default is 100

 

AS PATH: Config on R1, Prepend path to bad neighbor R2

 

Med: On R2, Assign value to R1, default is 0

 

Multiple Paths: Load balance on BGP