[c-nsp] Route prefrence

Oliver Boehmer (oboehmer) oboehmer at cisco.com
Sat Apr 10 04:36:27 EDT 2010


 
> 
> I'm shortning the whole story to the point where I'm getting stuck..
> I'm scratching my head on this solution for a week. Can't find a
solution ,
> please help with this. Thanks in advance.
> 
> I have a network 12.0.0.0/8 , which is being learnt on a router from
EBGP
> peer and two redistribution Routers  in eigrp AS1.
> 
 
> 
> I want to prefer 12.0.0.0/8 -
> 
> prefer 12.0.0.0/8 from  1st eigrp redistrbution router in eigrp AS 1
> if not available
> prefer 12.0.0.0/8 from EBGP
> if not available
> prefer 12.0.0.0/8 from  2nd eigrp redistrbution router in eigrp AS 1
> 

that's a tricky one. If the 12/8 routes were internal EIGRP routes (as
opposed to external ones), you might be able to use the "distance
<neighbor> <mask> <acl>" to assign a distance on a per prefix/nbr basis,
but this doesn't work for external EIGRP routes, if I recall correctly. 
If you ran iBGP within your eigrp AS, you could inject 12/8 into iBGP
(instead of EIGRP), and then use regular BGP attributes to select the
appropriate route among the then three BGP paths. 

	oli



More information about the cisco-nsp mailing list