03-18-2014 11:14 AM - edited 03-04-2019 10:36 PM
can a set tag used in one route-map be referred to or used in a different route map? I'm looking at someone else's work below and trying to understand it.
thank you.
route-map BGP2EIGRP deny 5
match ip address prefix-list novoip_plist
!
route-map BGP2EIGRP permit 10
match ip address ALL
set metric 1000000 1 255 1 1500
set tag 10
!
route-map EIGRP2BGP deny 10
match tag 10
!
route-map EIGRP2BGP permit 20
match ip address ALL
03-18-2014 11:40 AM
can a set tag used in one route-map be referred to or used in a different route map?
Yes it can.
You have mutual redistriution happening with your config (assuming the route map names are accurate). What the config is doing is making sure any BGP routes that are redistributed into EIGRP are not then redistributed back from EIGRP into BGP.
So you tag the routes as you redistribute from BGP into EIGRP and then when you redistribute from EIGRP into BGP you only redistribute routes that do not have that tag ie. EIGRP routes that have not been learnt from BGP redistribution.
Jon
03-18-2014 11:42 AM
Hi Jon,
thanks for the explanation, we are trying to do the mutual redistribution and what you say makes good sense.
thanks,
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide