cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
164
Views
5
Helpful
2
Replies
Highlighted
Beginner

tag statement in routemap

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

2 REPLIES 2
Highlighted
Hall of Fame Guru

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

Highlighted

Hi Jon,

thanks for the explanation, we are trying to do the mutual redistribution and what you say makes good sense.

 

thanks,

Content for Community-Ad