03-03-2016 08:11 AM - edited 03-05-2019 03:29 AM
Not sure how best to implement or if on the right track below:
Export all routes or block all via RIP out for:
192.168.5.0/24
10.15.20.0/24
172.16.5.0/16
if routes pass and are OSPF, allow RIP process to send to neighbors and set metric to 5.
!
ip prefix-list EXPORT_ALL seq 5 permit 192.168.1.0/24
ip prefix-list EXPORT_ALL seq 10 permit 10.15.20.0/24
ip prefix-list EXPORT_ALL seq 15 permit 172.16.5.0/16
ip prefix-list EXPORT_ALL seq 20 deny 0.0.0.0/0 le 32
!
ip prefix-list EXPORT_ALL_BUT seq 5 deny 192.168.1.0/24
ip prefix-list EXPORT_ALL_BUT seq 10 deny 10.15.20.0/24
ip prefix-list EXPORT_ALL_BUT seq 15 deny172.16.5.0/16
ip prefix-list EXPORT_ALL_BUT seq 20 permit 0.0.0.0/0 le 32
!
ip prefix-list advertise-routes-through-rip seq 25 permit 0.0.0.0/0 le 32
!
router rip
version 2
network 10.0.0.0
network 172.16.0.0
network 192.168.5.0
distribute-list prefix advertise-through out rip
distribute-list prefix advertise-through out ospf 10
default metric 5
Solved! Go to Solution.
03-03-2016 04:50 PM
I am having trouble understanding the question.
What it sounds like is - you just want to redistribute OSPF into RIP for a specific list of prefixes. Would that be correct?
03-03-2016 04:50 PM
I am having trouble understanding the question.
What it sounds like is - you just want to redistribute OSPF into RIP for a specific list of prefixes. Would that be correct?
03-05-2016 06:18 AM
after the two policies have been met, just redistribute into OSPF or BGP if required. It should only be a matter of changing the statement "distribute-list prefix advertise-through out ospf 10". The thing I don't have experience with is creating a policy filtering using prefix list of either or.
03-03-2016 08:17 PM
Not quite. The requirement is a bit more nested: The filter represent 2 options, 1 where you allow all routes but the ones configured and the other option is to block all routes but the ones given. Then the next policy qualifies if the routes that passed the first policy are in the protocols (i.e. OSPF) that you want to allow rip to send to its neighbors.
03-04-2016 12:57 PM
Not quite. The requirement is a bit more nested: The filter represent 2 options, 1 where you allow all routes but the ones configured and the other option is to block all routes but the ones given. Then the next policy qualifies if the routes that passed the first policy are in the protocols (i.e. OSPF) that you want to allow rip to send to its neighbors.
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