cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
323
Views
5
Helpful
2
Replies

Adding a community to a route-map

mmedwid
Level 3
Level 3

I have a route-map which defines the networks to announce to our ISP (using a prefix list). I now want to send a community string to the ISP - adding to this route-map statement. Can I just add the "set community xxxx:yyy" to the route map without removing the neighbor statement which refers to that route-map? Or do you need to remove that neighbor statement, add the line to the route-map, and then add back the neighbor statement?

1 Accepted Solution

Accepted Solutions

Richard Burts
Hall of Fame
Hall of Fame

Michael

You can add the set community to the route map and not need to remove the neighbor (which would be pretty drastic). The added statement in the route map would apply to any new advertisements of routes but would not affect routes already advertised. So after you change the route map you will need to clear the neighbor so that routes will be advertised fresh and will have the community set where appropriate. Depending on the version of code that you are running there are various possibilities of soft reset for the neighbor.

HTH

Rick

HTH

Rick

View solution in original post

2 Replies 2

Richard Burts
Hall of Fame
Hall of Fame

Michael

You can add the set community to the route map and not need to remove the neighbor (which would be pretty drastic). The added statement in the route map would apply to any new advertisements of routes but would not affect routes already advertised. So after you change the route map you will need to clear the neighbor so that routes will be advertised fresh and will have the community set where appropriate. Depending on the version of code that you are running there are various possibilities of soft reset for the neighbor.

HTH

Rick

HTH

Rick

tdrais
Level 7
Level 7

Unless your network is very unstable it won't matter.

BGP will not resend the routes with your new community until you clear the neighbor. You should be able to do a soft ourbound clear and get it to resend the routes.

You should be able to just add it to the route-map without removing it. You alway take some chance of messing up the routemap and it blocks everything but BGP does not send much so it is much less risk than other routing protocols.

Review Cisco Networking products for a $25 gift card