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 eigrp

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

1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Re: Redistribute eigrp

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,

Harold Ritter
Sr. Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México 
Paseo de la Reforma 222 Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México
9 REPLIES
Cisco Employee

Re: Redistribute eigrp

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,

Harold Ritter
Sr. Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México 
Paseo de la Reforma 222 Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México
New Member

Re: Redistribute eigrp

This work great!

thank you.

Re: Redistribute eigrp

Is there any need for the deny statement in the access-list

Re: Redistribute eigrp

Hi,

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

And please never forget the metrics when doing redistribution.

BR,

Mohammed Mahmoud.

Re: Redistribute eigrp

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

Cisco Employee

Re: Redistribute eigrp

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,

Harold Ritter
Sr. Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México 
Paseo de la Reforma 222 Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México

Re: Redistribute eigrp

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.

Re: Redistribute eigrp

you are correct.

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

Narayan

New Member

Re: Redistribute eigrp

Another thing to note is if you create a route-map with a permit statement do not configure another sequence, there is also an explicit deny any at the end.

175
Views
0
Helpful
9
Replies