Adding a community to a route-map

Answered Question
Jun 28th, 2006
User Badges:

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?


Correct Answer by Richard Burts about 11 years 1 month ago

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

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (2 ratings)
Loading.
Correct Answer
Richard Burts Wed, 06/28/2006 - 12:49
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

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

tdrais Wed, 06/28/2006 - 12:54
User Badges:
  • Blue, 1500 points or more

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.

Actions

This Discussion