cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
6574
Views
10
Helpful
2
Replies

set extcommunity rt command

jay_7301
Level 1
Level 1

Hi All,

Not sure if someone can help clear this up. I have a route map below

route-map test1 permit 10
  match ip address prefix-test
  set extcommunity rt 1:1 additive

Is the above setting the prefix list test with a RT of 1:1? if so is that all it does is tag routes? I cannot see this route map against a neighbour? I can see another vrf has this as an import target so I assume this will match any prefix stated in the above route map?

vrf context test2
  description test2
  address-family ipv4 unicast
    route-target import 1:1
   

Thanks

2 Replies 2

jay_7301
Level 1
Level 1

looking at this further think I have answered my own question. The above route map tags the routes with the above RD.  Then the VRF below imports these routes based on what is in the prefix.

Hi,

This set statement of the route-map should do what you want to match,

match xxxx

set extcommunity rt 1:1 additive --------> New community added and The additive keyword is set so the current communities are still present.

*** Please rate all helpful responses and mark solutions***