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. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

bsc
New Member

Redistribution with route-maps and individual metric

hello everyone,

i encountered a unexpected behavior while working with redistribution from ospf to eigrp and route-maps.

what i am doing is setting the metric for individual networks in the route-map and not in the redistribute-command:

!

router eigrp 137

redistribute ospf 1 route-map o2e

network 172.21.9.0 0.0.0.255

[...]

!

and the route-map:

!

route-map o2e permit 20

match ip address 21

set metric 100 10 255 1 1500

!

the redistribution works fine after a reboot or after a clear ip route *. without any of the two no routes get redistributed from ospf to eigrp.

is this the normal behavior? does it have something to do with the recompiling of route-maps? can someone confirm this? or is it a bug?

i have tested it with 12.1(16), 12.1(18), 12.2(13a) on cisco2600 and cisco3600, they all show the same behavior.

thanks

/birgit

  • Other Network Infrastructure Subjects
4 REPLIES
New Member

Re: Redistribution with route-maps and individual metric

it's not normal.

Redistribution works fine without reboot or cle ip route *.

Wait a moment until routes get.

Try again.

bsc
New Member

Re: Redistribution with route-maps and individual metric

hi,

thanks a lot for your answer. waiting doesnt change anything. the only message i get is this:

router#sh clock

*16:40:40.424 UTC Fri Mar 5 1993

router#conf t

Enter configuration commands, one per line. End with CNTL/Z.

router(config)#router eigrp 137

router(config-router)# redistribute ospf 1 route-map o2e

router(config-router)#

4d16h: IP-EIGRP: Callback: redistribute command ospf Sense: 1^Z

router#

4d16h: %SYS-5-CONFIG_I: Configured from console by vty0 (192.168.97.194)

router#

router#

router#sh clock

*16:45:00.672 UTC Fri Mar 5 1993

router#sh clock

*16:49:57.932 UTC Fri Mar 5 1993

router#clear ip route *

router#

4d16h: IP-EIGRP: Callback: redist frm ospf AS 1 192.168.97.68/30

4d16h: into: eigrp AS 137 event: 1

4d16h: IP-EIGRP: Callback: redist frm ospf AS 1 172.21.5.5/32

4d16h: into: eigrp AS 137 event: 1

so i guess i will open a case.

thanks

\birgit

Bronze

Re: Redistribution with route-maps and individual metric

Hi Birgit

I just checked this on my routers and i had the same behavior. If i give the metric along with the redistribution it works fine as soon as i set the metric in the route-map the route will not be redistributed till you do the clear ip route*. So for me it also looks like a bug.

Regards

Roger

bsc
New Member

Re: Redistribution with route-maps and individual metric

hi roger,

just opened a case with a company you are related closely to ;)

thanks

/birgit

380
Views
0
Helpful
4
Replies