bgp communities and numbers?

Answered Question
Jun 11th, 2009

All,

I understand most of the bgp communities like no-advertise, no-export, etc., but our provider had us add a community full of numbers to workaround another provider advertising our address space. What do these numbers do exactly?

It's something like:

route-map set-community permit 10

match ip address 5

set community 528739922

I can only assume that they're putting a priority on this community in a route-map on their side and then making the other providers advertisement and lower priority. This was a cutover from a legacy system to a newer system with the legacy system let unmodified. It screwed up our routing last night, and it seems like this is what they did to fix it. I wasn't involved in this one, but I'm curious as to what the above route-map does.

Thanks,

John

I have this problem too.
0 votes
Correct Answer by cisco_lad2004 about 7 years 7 months ago

John

If u add this line "ip bgp-community new-format" to ur box, u will see that the long number is actually community 8067:61010 so ur AS + tag for action.

HTH

Sam

Correct Answer by Edison Ortiz about 7 years 7 months ago

John,

Communities provide a tagging mechanism where you can group customers and treat their traffic accordingly.

Based on your community, the ISP is making traffic decision within their network and perhaps with other ISP carriers as well.

What type of routing decisions are made? Only the ISP can answer that.

HTH,

__

Edison.

Correct Answer by cisco_lad2004 about 7 years 7 months ago

Communities can be set both inbound or outbound. when done outbound (towards another AS) its purpose needs to be coordinated and agreed.

I think your neighboring AS knows about this community and is taking action...else what is the point of setting it outbound.

Sam

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (4 ratings)
Loading.
cisco_lad2004 Thu, 06/11/2009 - 08:17

route map is merely setting a community for ACL 5 prefixes.

there must be an action taking place further away in the network with a statement matching this community Number.

some ISPs use community values to take specific action in their own AS. so Customer set the community to get ISP to take an automatic action based on the community agreed.

You need to find out more about what action is taking place when this community is matched.

HTH

Sam

John Blakley Thu, 06/11/2009 - 08:28

That's what I had thought at first. Normally, from what configs I've seen, it would set the community in-bound (we're setting it out), and then a route-map would match the community and advertise to it's other peers, correct? Well, if that's the case, the only other thing that I could think of is maybe the provider is matching on our community and block, and they're sending a community to the other provider with a no-advertise? I can't see any other way that they could keep the other provider/system from advertising our block.

John

Correct Answer
cisco_lad2004 Thu, 06/11/2009 - 08:34

Communities can be set both inbound or outbound. when done outbound (towards another AS) its purpose needs to be coordinated and agreed.

I think your neighboring AS knows about this community and is taking action...else what is the point of setting it outbound.

Sam

Correct Answer
Edison Ortiz Thu, 06/11/2009 - 08:39

John,

Communities provide a tagging mechanism where you can group customers and treat their traffic accordingly.

Based on your community, the ISP is making traffic decision within their network and perhaps with other ISP carriers as well.

What type of routing decisions are made? Only the ISP can answer that.

HTH,

__

Edison.

Correct Answer
cisco_lad2004 Thu, 06/11/2009 - 08:49

John

If u add this line "ip bgp-community new-format" to ur box, u will see that the long number is actually community 8067:61010 so ur AS + tag for action.

HTH

Sam

Actions

This Discussion