How to Configure BGP Weight Attribute

Hi Hamood,

That’s right, you can use weight to select the path but this is only for the local router. If you want to influence your entire AS then you’ll have to use local preference:

https://networklessons.com/bgp/how-to-configure-bgp-local-preference-attribute/

To influence how traffic enters our AS we have a couple of methods, the first one is MED:

https://networklessons.com/bgp/how-to-configure-bgp-med-attribute/

This is only useful when you are multihomed to a single ISP. These two methods will help if you are multihomed to different ISPs:

https://networklessons.com/bgp/how-to-configure-bgp-as-path-prepending/

https://networklessons.com/bgp/bgp-communities-explained/

Hope this helps!

Rene