cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
723
Views
0
Helpful
3
Replies

Redistribute Static to OSP

amarula115
Level 1
Level 1

I want to distribute only one static route to OSPF.

ip route 10.55.254.0 255.255.255.192 10.80.60.5

 

My config:

ip prefix-list DMZ201 seq 10 permit 10.55.254.0/26


route-map DMZ201-TO-OSPF permit 10
 match ip address prefix DMZ201

 

router ospf 200
redistribute static route-map DMZ201-TO-OSPF subnets

 

Does this config make sense? Any comments

3 Replies 3

Yes, that is correct configuration.

 

HTH,

Meheretab

HTH,
Meheretab

amarula115
Level 1
Level 1

Thank you for your help.

 

Would redistribution config be the same or similar if I would like to distribute static route to EIGRP instead of OSPF?

 

Yes, similar route-map configuration can be used.

When you redistribute Static to EIGRP replace the subnets keyword with metric and metric values.

 

Example:

router eigrp 123

 redistribute static STATIC-to-EIGRP metric 10000 100 255 1 1500

!

 

HTH,

Meheretab

HTH,
Meheretab
Review Cisco Networking products for a $25 gift card