10-10-2019 03:45 PM
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
10-10-2019 04:19 PM
Yes, that is correct configuration.
HTH,
Meheretab
10-11-2019 04:53 PM
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?
10-11-2019 10:54 PM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide