Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

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

Everyone's tags (1)
2 REPLIES
Hall of Fame Super Blue

can a set tag used in one

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

New Member

Hi Jon,thanks for the

Hi Jon,

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

 

thanks,

52
Views
5
Helpful
2
Replies
CreatePlease login to create content