[c-nsp] Set BGP metric based on nexthop IGP metric

Lukas Tribus luky-37 at hotmail.com
Fri Jun 5 11:44:12 EDT 2015


>> Hello,
>>
>> I need a hint regarding a OSPF/BGP setup on some C6500.
>> I have BGP configured between the loopback IPs of several routers.
>> Lets say router a and router b advertise x.x.x.x/24 (connected network) to
>> router c (and d, e...).
>>
>> Router c now has 2 BGP routes with same attributes (except the nexthop)
>> and takes the oldest one as far as I see.
>
> For EBGP correct. You need to use IBGP if you want to respect IGP metrics.

Also, you shouldn't "redistribute" your loopback into OSPF, but properly configure it
with ospf:
interface Loopback0
 ip ospf 1 area 0



Lukas

 		 	   		  


More information about the cisco-nsp mailing list