06-13-2006 09:56 PM - edited 03-03-2019 12:59 PM
route-map AS15330-IN permit 100
description INFORELAY
set local-preference 130
set community 9583:15330 9583:62400 9583:62404 9583:62700 additive
Can any one explain how this set community command works here
06-14-2006 03:41 AM
It adds the above 4 communities to the set of communities already attached to the prefix.
Hope this helps,
06-14-2006 04:33 AM
can i please know what is the use of this
06-14-2006 05:07 AM
rangaprabhu
The community value can be used by BGP routers to help make decisions about routes. There are only a very few communities with fixed meaning. Each organization that uses communities picks the values that it will use and assigns the meaning to those values. A community might be used for example to indicate that a route was leaned from a direct customer of some provider. Other customers of that provider might want to prefer that route without consideration of path length (for example). Some of the ISPs have set up systems of community values to communicate information about routes to their customers.
Based on the name of the route map it appears that it is applied to traffic received from a particular peer and assigns the community values. Those community values could be used by other BGP routers within that AS to make decisions, or the community values could be advertised to peers in other ASes to help them make decisions. There is no way for us to know the particular meaning of these communities.
HTH
Rick
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