09-19-2019 04:48 PM
I have BGP learned prefixes that I want to redistribute into EIGRP but with different metrics. I use a route-map with a "set metric +512000" (with or without the + sign) but that does not take effect... I still receive the same metric with the default redistribute metric.
router eigrp 100 redistribute bgp 64911 metric 128 11000 1 1 1 route-map BGP-to-EIGRP ! route-map BGP-to-EIGRP permit 10 match ip address prefix-list PFL1 route-map BGP-to-EIGRP permit 20 match ip address prefix-list PFL2 set metric +512000
Did I do anything wrong? If not, is there another way to achieve this result?
Thanks
Solved! Go to Solution.
09-19-2019 09:15 PM
You might have to specify all 5 K-values since you are redistributing into EIGRP to manipulate the metric. Perhaps this will work?
route-map BGP-to-EIGRP permit 10 match ip address prefix-list PFL1 route-map BGP-to-EIGRP permit 20 match ip address prefix-list PFL2 set metric 512000 100 255 1 1500
09-19-2019 09:15 PM
You might have to specify all 5 K-values since you are redistributing into EIGRP to manipulate the metric. Perhaps this will work?
route-map BGP-to-EIGRP permit 10 match ip address prefix-list PFL1 route-map BGP-to-EIGRP permit 20 match ip address prefix-list PFL2 set metric 512000 100 255 1 1500
09-20-2019 06:35 AM
09-19-2019 10:53 PM - edited 09-19-2019 11:04 PM
According to Document 49111 (Table 2), the set metric +/- eigrp-metric option is not supported in route-maps.
Not sure if this document is still up-to-date (last change 2005), but it actually says that the +/- form isn't supported at all in redistribution route-maps, regardless of the routing-protocol:
"The +/- form of this command is not currently supported in redistribution route-maps, and it is actually interpreted as the set metric command with the sign omitted."
I'd also suggest to try the classic set metric option.
HTH
Rolf
09-20-2019 06:32 AM
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