12-15-2008 05:55 PM - edited 03-04-2019 12:43 AM
Hello all. I read that you can use BGP community attributes to influence how an EBGP neighbor routes to you. If you (the customer) have 2 EBGP neighbors (2 separate ISPs), after tagging routes with a community attribute and configuring them outbound to the EBGP neighbors. what filter can you (the customer) use to influence how they route to you? how does this work from the ISP perspective? Do the ISPs have to configure anything? do you have to call the ISP and tell them what to configure for the community that you sent to them? please be specific. thanks
in other words, I am trying to find out if BGP community attributes on their own can influence how ISPs get to you and how. please be specific. thanks
12-15-2008 08:34 PM
Wale
Other than tagging/inserting the community value into what you advertise to the ISP there is not much that you do (you do not configure any filters or anything like that). The rest is up to the ISP. The ISP will configure filters to recognize the community value and to take appropriate action based on the community value that you have set.
And you need to negotiate with the ISP to agree on what community values they will accept and process. Many ISPs have some standard community values which they offer for customers to use, and you can negotiate with your ISPs for unique community values if the ones they have as standard do not fill your requirements.
HTH
Rick
12-16-2008 12:11 AM
Hello,
Rick is right. Just to make it a little more specific, an action that is commonly taken when an ISP detectes a particular community in a received route is to set the local preference for the route in the ISP AS. Other possible actions for ISP include prepending of the ISP AS in customer routes or blackhole traffic (as suggested/triggered remotely by customer). So, this type of customer initiated setting of community is a specific hint from customer to ISP about which action the ISP should take to influence path selection and that's pretty much the power of those communities.
For a sample policy, please have a look at the following link: http://www.onesc.net/communities/as701/
You can also browse other sample policies here: http://www.onesc.net/communities/
Note also, that a standard policy which is available for all customers is normally preconfigured by ISP (e.g. they have filters in the BGP session with you and those filters look for the communities in the routes you are sending to them and take the appropriate action such as setting the local preference in their own AS). Communicating with ISP is always wise, just to confirm you have a common understanding of the specific policy.
Kind Regards,
M.
12-16-2008 10:25 AM
M
This is a nice answer and a good complement to my response. It deserves the rating that I gave it.
HTH
Rick
12-17-2008 06:00 AM
Thank you Rick. I thought the same about your post yesterday. This means that I rated it yesterday though I did not say it (it is a habit of mine not to necessarily talk about rating). Sometimes I write a lot and sometimes nothing (trying to keep average number of words low :-).
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide