cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1238
Views
0
Helpful
3
Replies
Highlighted
Beginner

Redistribute Multiple Route Maps into EIGRP

I am doing some lab trials with GNS3 to try and work out a better method of redistributing static routes into our network.

What I want to do is redistribute multiple route-maps into EIGRP.  Below is a run down of what I have setup so far.

I have setup the default route 0.0.0.0 0.0.0.0 Null0 on both R1 and R3

I have setup ip route ip route 10.10.5.0 255.255.255.0 10.33.4.6 and ip route 203.20.20.0 255.255.255.0 10.33.4.6 on R1

R4 has static routes back into the network

Capture.PNG

What I have setup in my lap is 3 core routers and I have R1 and R3 setup with route maps redistributing the default route as below -

#####R1#####

router eigrp 10

redistribute static route-map redist-default-eigrp

!

ip access-list standard redist-default-eigrp

permit 0.0.0.0

!

route-map redist-default-eigrp permit 10

match ip address redist-default-eigrp

set metric 1000000 10 255 1 1500

!

#####R3#######

router eigrp 10

redistribute static route-map redist-default-eigrp

!

ip access-list standard redist-default-eigrp

permit 0.0.0.0

!

route-map redist-default-eigrp permit 10

match ip address redist-default-eigrp

set metric 100 100000 1 1 1500

The above works as expected the route redistributed from R1 is of high preference and R2 sees it this way.

Now what I want to do is add another route map that will distribute the static routes require to get to R4, so I have created the following configurations

###########R1#############

ip access-list standard redist-ract-static

permit 10.10.5.0 0.0.0.255

permit 203.20.20.0 0.0.0.255

!

route-map redist-ract-static permit 10

match ip address redist-ract-static

set metric 10000 10 255 1 1500

The problem I have is that when I do the following command it removes the existing redistribution map from eigrp.

router eigrp 10

redistribute static route-map redist-ract-static

Is there a way to redistribute multiple route maps into EIGRP?

Any help greatly appreciated.

Isaac

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Hall of Fame Expert

Redistribute Multiple Route Maps into EIGRP

Hello Isaac,

given a  specific source protocol static in your case only a single route-map can be used.

However, route-maps can be made of multiple blocks or clauses you would need a single route-map but with two blocks.

When creating the second route-map block you need to use the same name and to give a different number

route-map xxx permit 10

! match

! set

route-map xxx permit 20

! match

! set

In this way the router will be configured for considering a route-map made of two clauses

Hope to help

Giuseppe

View solution in original post

3 REPLIES 3
Highlighted
Hall of Fame Expert

Redistribute Multiple Route Maps into EIGRP

Hello Isaac,

given a  specific source protocol static in your case only a single route-map can be used.

However, route-maps can be made of multiple blocks or clauses you would need a single route-map but with two blocks.

When creating the second route-map block you need to use the same name and to give a different number

route-map xxx permit 10

! match

! set

route-map xxx permit 20

! match

! set

In this way the router will be configured for considering a route-map made of two clauses

Hope to help

Giuseppe

View solution in original post

Beginner

Re: Redistribute Multiple Route Maps into EIGRP

Thanks for the reply Guiseppe.

I will have a look at doing it this way, which will work for sure.

Is there any other way of injecting static routes into EIGRP or have I chosed the right method?

UPDATED

This is exactly what I was after.

Set it up in GNS3 today and works a treat.

Thanks again Guiseppe.

Cheers,

Isaac

Highlighted
Beginner

Redistribute Multiple Route Maps into EIGRP

Just an update, put this into production this week.

Worked a treat.

ROUTER1

no redistribute static metric 10000 10 255 1 1500

ip access-list standard redist-default-eigrp

permit 0.0.0.0

!

ip access-list standard redist-ract-eigrp

permit 10.10.5.0 0.0.0.255

permit 10.150.10.0 0.0.0.255

permit 10.150.60.20 0.0.0.0

permit 203.20.20.0 0.0.0.255

permit 203.20.21.0 0.0.0.255

permit 203.20.22.0 0.0.0.255

permit 203.20.23.0 0.0.0.255

!

route-map redist-static-eigrp permit 10

match ip address redist-default-eigrp

set metric 1000000 10 255 1 1500

!

route-map redist-static-eigrp permit 20

match ip address redist-ract-eigrp

set metric 1000000 10 255 1 1500

!

router eigrp 10

redistribute static route-map redist-static-eigrp

ROUTER3

ip access-list standard redist-static-eigrp

permit 0.0.0.0

!

route-map redist-static-eigrp permit 10

match ip address redist-default-eigrp

set metric 10 1000000 1 1 1500

!

router eigrp 10

redistribute static route-map redist-static-eigrp

CreatePlease to create content
Content for Community-Ad