06-11-2009 07:28 AM - edited 03-04-2019 05:05 AM
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
Solved! Go to Solution.
06-11-2009 08:34 AM
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
06-11-2009 08:39 AM
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.
06-11-2009 08:49 AM
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
06-11-2009 08:17 AM
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
06-11-2009 08:28 AM
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
06-11-2009 08:34 AM
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
06-11-2009 08:39 AM
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.
06-11-2009 08:44 AM
John,
This technique is described in RFC1998. It doesn't mean that this is exactly what your SP is doing with the community attribute you are sending them but this is by far the most commonly used approach.
http://www.ietf.org/rfc/rfc1998.txt?number=1998
Regards
06-11-2009 08:49 AM
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
06-11-2009 09:09 AM
Sam,
Good point. It certainly makes it easier to read ;-)
Regards
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