# How to Configure BGP Weight Attribute

**URL:** https://forum.networklessons.com/t/how-to-configure-bgp-weight-attribute/952
**Category:** Lessons Discussion
**Created:** [December 24, 2016, 6:33pm UTC](https://forum.networklessons.com/t/how-to-configure-bgp-weight-attribute/952 "2016-12-24T18:33:21Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![ReneMolenaar](https://cdn-forum.networklessons.com/user_avatar/forum.networklessons.com/renemolenaar/32/488_2.png) [@ReneMolenaar](https://forum.networklessons.com/u/ReneMolenaar)
#### Post date: [June 16, 2015, 8:53am UTC](https://forum.networklessons.com/t/how-to-configure-bgp-weight-attribute/952/5 "2015-06-16T08:53:05Z")

</div>

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:

> **[BGP Local Preference Attribute](https://networklessons.com/bgp/how-to-configure-bgp-local-preference-attribute)**
>
> BGP Attribute Local Preference is used to change the exit path for an AS. In this lesson, you will learn how to configure local preference.

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

> **[How to configure BGP MED Attribute](https://networklessons.com/bgp/how-to-configure-bgp-med-attribute)**
>
> BGP MED (Metric) is one of the BGP attributes and tells another AS how to enter your AS. I'll show you how to configure it on Cisco routers.

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

> **[How to configure BGP AS Path Prepending](https://networklessons.com/bgp/how-to-configure-bgp-as-path-prepending)**
>
> AS Path Prepending is a common BGP technique to influence path selection. In this lesson, you will learn how to configure AS Path prepending.

> **[BGP Communities Explained](https://networklessons.com/bgp/bgp-communities-explained)**
>
> BGP communities are used to "add" some extra information to prefixes. This can be used for dynamic routing policies or traffic engineering.

Hope this helps!

Rene

---

_[View the full topic](https://forum.networklessons.com/t/how-to-configure-bgp-weight-attribute/952)._
