Hi everybody,
at the moment we are migrating some ospf sites to bgp. The Problem is that we are using a OSPF stub area. So it is not possible to redistribute BGP routes into the OSPF stub area. So we have to tricks to propagate the bgp routes into ospf. But this isn't the problem. The issue that I am having is that I have two route entrys for subnets which are already migrated to the BGP and I want to prefer always the BGP route. How can I achieve this?
sh ip bgp 172.20.31.72/29
BGP routing table entry for 172.20.31.72/29, version 118173
Paths: (2 available, best #1, table default)
Advertised to update-groups:
14 16
Refresh Epoch 1
65310 65011
192.168.185.36 from 192.168.xx.xx (192.168.xx.xx)
Origin incomplete, metric 222, localpref 100, valid, external, best
Refresh Epoch 1
20570 20570 65310
192.168.232.150 from 192.168.232.150 (xx.xx.xx.xx)
Origin IGP, localpref 100, valid, external
cheers peter