Introduction to OSPF

Thank you so much for your answer and patience.

I already did what you told me for static routes and I will do the same to redistribute BGP prefix list to OSPF.

If I already have BGP filters (prefix-list) can I use the same prefix-lilst to create a route-map to filter the networks announce by BGP to OSPF?

example

router bgp 65533
 neighbor 6.6.6.6  remote-as 65533
 neighbor 6.6.6.6 update-source Loopback0
 neighbor 6.6.6.6 prefix-list PRUEBA in

ip prefix-list PRUEBA permit ip 10.250.20.0/24   --> ( I have a lot of prefix list for filtering but that is for that example)


route-map BGP-TO-OSPF permit 10
match ip address prefix-list PRUEBA


router ospf 1
redistribute BGP 64518 route-map BGP-TO-OSPF

Thank you so much for your answer.