Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Re: 'set community' command ...

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 -

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Re: 'set community' command ...

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

2 REPLIES

Re: Re: 'set community' command ...

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

Super Bronze

Re: Re: 'set community' command ...

"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.

830
Views
5
Helpful
2
Replies