redistribute static

Unanswered Question
May 20th, 2007

Hi,

I had configured 3 eigrp autonomous systems in my router, but i have so many static routes. So, how do i configure the redistribute static that should learn only specific static routes in eigrp.

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
bjornarsb Sun, 05/20/2007 - 22:29

Hi,

Try this:

router eigrp 1

redistribute static metric 10000 100 255 1 1

network 172.16.0.0

*******************************************

metric 10000 100 255 1 1500

where 10000 = Bandwidth, 100 = Delay, 255 = Reliability, 1 = Loading, and 1500 = MTU.

You could also use a route-map if you need one:

redistribute static route-map XXX

HTH

Regards,

Bjornarsb

udayashankarsg Sun, 05/20/2007 - 22:52

HI Bjornarsb,

Can u reply the configuration for below example

I had advertised 172.25.7.0 on eigrp 110 but i have static routes for 172.25.4.0 and 172.25.3.0 and many other static routes. But i need to advertise 172.25.3.0 and 172.25.4.0 in eigrp autonomous system 110 using redistribute static route-map. So please help how do i need to configure ?

ankbhasi Sun, 05/20/2007 - 22:59

Hi Uday,

Give this a try

redistribute static route-map

route-map permit 10

match ip address 1

!

access-list 1 permit 172.25.4.0 0.0.0.255

access-list 1 permit 172.25.3.0 0.0.0.255

HTH

Ankur

udayashankarsg Sun, 05/20/2007 - 23:15

thanks. But i need one more information, Please help me. If i configure 3 automonous system. Example the network 172.25.7.0 in eigrp 50 and 172.27.3.0 and 172.27.4.0 in eigrp 110 and eigrp 120. But i need to advertise 172.25.7.0 in all the 3 autonomous system , how can i do this ?

bjornarsb Sun, 05/20/2007 - 23:05

Here you are:

!

router eigrp 1

redistribute static route-map static-to-eigrp

network 172.25.7.0

default-metric 10000 100 255 1 1500

!

ip route 172.25.4.0 255.255.255.0 XX

ip route 172.25.3.0 255.255.255.0 XX

access-list 1 permit 172.25.4.0 0.255.255.255

access-list 1 permit 172.25.3.0 0.255.255.255

route-map static-to-eigrp permit

match ip address 1

BR,

Bjornarsb

udayashankarsg Sun, 05/20/2007 - 23:17

thanks. But i need one more information, Please help me. If i configure 3 automonous system. Example the network 172.25.7.0 in eigrp 50 and 172.27.3.0 and 172.27.4.0 in eigrp 110 and eigrp 120. But i need to advertise 172.25.7.0 in all the 3 autonomous system , how can i do this ?

mohammedmahmoud Sun, 05/20/2007 - 23:36

Hi,

You can freely redistribute from any EIGRP process (using the process IDs or ASs) to another using route-maps as illustrated above.

Or since they are on the same router, just use the same network command "network 172.25.7.0" under the 3 EIGRP routing processes.

HTH, please do rate all helpful replies,

Mohammed Mahmoud.

saugatobanerjee Sun, 05/20/2007 - 23:41

Hi,

I would like to give a litlle more less lines of command that you try with out the access-list.If you have many routes then it will surely help you to reduce no. of lines command.

Here you are:

!

router eigrp 1

redistribute static route-map static-to-eigrp

network 172.25.7.0

default-metric 10000 100 255 1 1500

!

ip route 172.25.4.0 255.255.255.0 tag 30

ip route 172.25.3.0 255.255.255.0 tag 30

route-map static-to-eigrp permit

match tag 30.

regards,

bjornarsb Sun, 05/20/2007 - 23:40

Like this:

(config-router)#redistribute eigrp ?

<1-65535> Autonomous system number

BR,

Bjornarsb

Actions

This Discussion