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. And see here for current known issues.

New Member

redistribute static

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
Bronze

Re: redistribute static

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

New Member

Re: redistribute static

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 ?

Cisco Employee

Re: redistribute static

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

New Member

Re: redistribute static

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 ?

Bronze

Re: redistribute static

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

New Member

Re: redistribute static

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 ?

New Member

Re: redistribute static

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

Re: redistribute static

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.

New Member

Re: redistribute static

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,

Bronze

Re: redistribute static

Like this:

(config-router)#redistribute eigrp ?

<1-65535> Autonomous system number

BR,

Bjornarsb

171
Views
0
Helpful
10
Replies