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

Adding a community to a route-map

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
Hall of Fame Super Gold

Re: Adding a community to a route-map

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

2 REPLIES
Hall of Fame Super Gold

Re: Adding a community to a route-map

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

Gold

Re: Adding a community to a route-map

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.

125
Views
5
Helpful
2
Replies
CreatePlease to create content