cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
421
Views
0
Helpful
1
Replies

distrubute only two subnets BGP into OSPF

wilson_1234_2
Level 3
Level 3

I have an edge router that I want to distribute only two subnets into ospf.

Can I do this by allowing only those two subnets from BGP, or do I need to filter what gets into OSPF?

1 Reply 1

droehsler
Level 1
Level 1

Hello,

You can do it either way using a route map. You can filter your BGP neighbor on the incoming routes or redistribute into OSPF using a route map to filter. Cisco recommends against redistributing from BGP into an IGP but if there is a filter it should be ok.

David