Skip navigation
Login   |   Register
Cisco Learning Home > CCNP R&S Study Group > Discussions
1241 Views 10 Replies Latest reply: Apr 6, 2012 8:06 PM by Greg, CCNP, JNCIP RSS

Currently Being Moderated

Strange behaviour with route maps in redistribution

Apr 4, 2012 8:37 AM

jean-christophe - CCDP 433 posts since
Jan 18, 2012

I'm trying to redistribute the subnets from OSPF Area 3 on the right with different metrics into EIGRP AS 1 on the left, using GNS3:


  • 172.16.96.0/25 and 172.16.96.128/25 must not be redistributed on any redistributing routers (RD1/RD14/RD5)
  • 172.16.97.0/26, 172.16.97.64/26 and 172.16.97.128.0/26 must be redistributed only through RD1 with metric 1000 44 255 1 1500
  • 172.16.98.0/27 and 172.16.98.32/27 must be redistributed only through RD14 with metric 10000 4 255 1 1500
  • all other subnets (from other Areas) are redistributed with default metric 1000 1500 255 1 1500

Redistribution, Filtering, PBR and SLA Screenshot.png

The results on R7 are stunning :

 

R7#sh ip rou 172.16.96.0 255.255.252.0 lon

 

...     172.16.0.0/16 is variably subnetted, 21 subnets, 5 masks

 

D EX    172.16.97.128/26 [170/3083264] via 172.30.17.1, 00:40:36, Serial1/0

D EX    172.16.97.64/26 [170/3456000] via 172.30.147.3, 00:40:36, Serial1/2

                                    [170/3456000] via 172.30.17.1, 00:40:36, Serial1/0

D EX    172.16.97.0/26 [170/3083264] via 172.30.17.1, 00:40:36, Serial1/0

D EX    172.16.98.0/27 [170/2170880] via 172.30.147.3, 00:40:36, Serial1/2

D EX    172.16.98.32/27 [170/2170880] via 172.30.147.3, 00:40:36, Serial1/2

 

Everything is OK, except for the subnet 172.16.97.64/26 which:

 

·         should have the same metric as 172.16.97.0/26 and 172.16.97.128/26 ; 3456000 is the default metric here

·         should point to RD1 (172.30.17.1)

 

Here is the running config on RD1:

 

RD1#sh run | beg router

 

router eigrp 1

redistribute ospf 1 route-map rm-Area-3

network 172.30.0.0

default-metric 1000 1500 255 1 1500

no auto-summary

eigrp router-id 1.1.1.1

!...

ip access-list extended acl-96

permit ip 172.16.96.0 0.0.0.255 host 255.255.255.128

ip access-list extended acl-97

permit ip 172.16.97.0 0.0.0.191 host 255.255.255.192

ip access-list extended acl-98

permit ip 172.16.98.0 0.0.0.63 host 255.255.255.224

!       

route-map rm-Area-3 deny 10

match ip address acl-96

!       

route-map rm-Area-3 permit 20

match ip address acl-97

set metric 1000 44 255 1 1500

!       

route-map rm-Area-3 deny 30

match ip address acl-98

!       

route-map rm-Area-3 permit 40

 

Here is the running config on RD14:

 

RD14#sh run | beg router

router eigrp 1

redistribute ospf 14 route-map rm-Area-3

network 172.30.0.0

default-metric 1000 1500 255 1 1500

no auto-summary

eigrp router-id 14.14.14.14

! ...

ip access-list extended acl-96

permit ip 172.16.96.0 0.0.0.255 host 255.255.255.128

ip access-list extended acl-97

permit ip 172.16.97.0 0.0.0.191 host 255.255.255.192

ip access-list extended acl-98

permit ip 172.16.98.0 0.0.0.63 host 255.255.255.224

!

route-map rm-Area-3 deny 10

match ip address acl-96

!

route-map rm-Area-3 deny 20

match ip address acl-97

!

route-map rm-Area-3 permit 30

match ip address acl-98

set metric 10000 4 255 1 1500

!       

route-map rm-Area-3 permit 40

 

Any idea ?

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)