I'm trying to setup routing where I automatically modify the community string attribute of a prefix based on the one of the following:
Link changes between other peer
Adjacency state of another peer
Route's next hop address.
My main goal is to if one peer goes down I would like to change the community string attribute of my advertised prefix to my second peer.
I'm trying to see if route-map will be able to do that, does anyone have any ideas how i could do this?
Thanks in advance for you help.