cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
311
Views
0
Helpful
3
Replies

set community question

bma
Level 1
Level 1

Hi

set community is in the route-map command with BGP, like:

route-map NET-BGP-Out permit 10

match ip address 99

set community 7020:20

What is mean for set community:7020:20?

What is for the number 7020:20?

Thanks

ben

3 Replies 3

Richard Burts
Hall of Fame
Hall of Fame

Ben

The BGP community is a value that you assign to routes. It is essentially a tag that is associated with the route so that someone else can evaluate the tag and make some processing decision based on the tag value.

In general the number before the colon in the community value (like 7020) would be your AS number. The number after the colon (like 20) is some arbitrary value that you pick.

So what this generally means is that you have agreed with some BGP neighbor that if they see routes from you with community (tag) value of 7020:20 that they should take some particular action about those routes.

HTH

Rick

HTH

Rick

Hi Ben,

Just to add a tiny detail on the prefect explaination by Rick, to add the community to the already existing communities you must use the "additive" keyword, in your example if the matched (in the ACL 99) routes has already got any communities it will be replaced with the "7020:20".

HTH,

Mohammed Mahmoud.

Thanks all.

ben

Review Cisco Networking products for a $25 gift card