cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
746
Views
0
Helpful
10
Replies

redistribute static

udayashankarsg
Level 1
Level 1

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.

10 Replies 10

bjornarsb
Level 4
Level 4

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

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 ?

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

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 ?

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

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 ?

please reply to the above problem. How can i implement this ?

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.

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,

Like this:

(config-router)#redistribute eigrp ?

<1-65535> Autonomous system number

BR,

Bjornarsb

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: