11-24-2008 03:04 AM - edited 03-04-2019 12:28 AM
Hi,
Just want to know more abt. the usage of this command. I know the command has its attributes like ie) export, internet ...etc. I want to know that if I see something like this,
set community 65111:2211
Is this command used to tag routes so that when it reached its neighbor, further action can be taken on it ?
Pls advice,
Cheers,
- InternetB -
Solved! Go to Solution.
11-24-2008 03:19 AM
Yes exactly.
Communities are used to tag certain routes so that appropriate action can be taken on the prefixes carrying this tag as per the defined policy.
There are 4 standard communities available
internet
By default all prefixes belong to this community
no-export
routes tagged with this community are not advertised to any external BGP peers
no-advertise
Routes tagged with this community are not advertised to any BGP peer (external as well as internal)
Local-as
It is similar to no-export community but within a confederation
http://www.cisco.com/web/about/ac123/ac147/archived_issues/ipj_6-2/bgp_communities.html
HTH
Narayan
11-24-2008 03:19 AM
Yes exactly.
Communities are used to tag certain routes so that appropriate action can be taken on the prefixes carrying this tag as per the defined policy.
There are 4 standard communities available
internet
By default all prefixes belong to this community
no-export
routes tagged with this community are not advertised to any external BGP peers
no-advertise
Routes tagged with this community are not advertised to any BGP peer (external as well as internal)
Local-as
It is similar to no-export community but within a confederation
http://www.cisco.com/web/about/ac123/ac147/archived_issues/ipj_6-2/bgp_communities.html
HTH
Narayan
11-24-2008 04:29 AM
"Is this command used to tag routes so that when it reached its neighbor, further action can be taken on it ?"
Another, yes.
Actions taken are up to the policies between the two neighbors (and even further downstream neighbors, including perhaps different ASs). Most common usage is providing some selection or preference for choosing a path.
You also have the option of sending more than one community per route.
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