cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
536
Views
10
Helpful
4
Replies

BGP community attributes

west33637
Level 1
Level 1

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

4 Replies 4

Richard Burts
Hall of Fame
Hall of Fame

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

HTH

Rick

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.

M

This is a nice answer and a good complement to my response. It deserves the rating that I gave it.

HTH

Rick

HTH

Rick

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 :-).

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card