Redistribute eigrp

Answered Question
May 11th, 2007

Hi all!

Somebody know if it's possible exclude a host/net from eigrp?

for example, i want to redistribute static routes.

I have this static routes:

ip route 192.168.0.0 255.255.255.0 s1/0

ip route 192.168.1.0 255.255.255.0 s1/1

with "redistribute static" command i notify all my static routes but i don't want to notify 192.168.1.0/24.

Somebody can help me?

Regards

I have this problem too.
0 votes
Correct Answer by Harold Ritter about 9 years 7 months ago

try redistribute static route-map xyz

route-map xyz permit 10

match ip address 1

!

access-list 1 permit 192.168.0.0

access-list 1 deny any

Hope this helps,

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Correct Answer
Harold Ritter Fri, 05/11/2007 - 08:23

try redistribute static route-map xyz

route-map xyz permit 10

match ip address 1

!

access-list 1 permit 192.168.0.0

access-list 1 deny any

Hope this helps,

mohammedmahmoud Fri, 05/11/2007 - 13:17

Hi,

I don't think, may be Harold can answer this.

And please never forget the metrics when doing redistribution.

BR,

Mohammed Mahmoud.

sundar.palaniappan Fri, 05/11/2007 - 13:26

There's no need for deny statement at the end as there's a implicit deny to the access list. The one thing to gain with an explict deny at the end of an access list is it will show you the # of hits that didn't match any of the above rules.

HTH

Sundar

Harold Ritter Fri, 05/11/2007 - 13:33

Sundar,

You are perfectly right about the deny statement not adding anything. I just like to use it for clarity. This way even a novice looking at the config don't have to ask themselve what the default is ;-)

Regards,

John Patrick Lopez Fri, 05/11/2007 - 14:08

I was looking on some of our static routes that were redistributed through EIGRP and we didn't define the metric. EIGRP used the metric of the outbound interface where the static route is pointed. The route was redistributed even without metric defined. HTH.

royalblues Fri, 05/11/2007 - 14:12

you are correct.

It is not mandatory to use the metric while redistributing static or connected routes in EIGRP

Narayan

Actions

This Discussion