At BGP best path selection algorithm the weight attribute is first. The default weight for learned routes is 0 and the default weight for a locally originated route is 32768. Weight attribute is preferred large number weight. Only effect on outgoing traffic. Figure 1.1 In this scenario by default R1 will choose AS200 to reach AS500. We want to use AS300 path to reach to AS500. So let play with weight. We have two options using to Weight Set the weight attribute on the neighbor (That will affect all routes learn from that neighbor) Using Route map can specific routes to have the weight set. Configuration Weight attribute on neighbor R1 router bgp 140 no synchronization bgp log-neighbor-changes network 1.1.1.0 mask 255.255.255.0 neighbor 10.1.12.2 remote-as 200 neighbor 10.1.14.4 remote-as 140 neighbor 10.1.14.4 next-hop-self neighbor 10.1.14.4 weight 100 no auto-summary R2 router bgp 200 ...