Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

prefering 1 eigrp route over another

another dumb question, I guess.  I have a 2 routers, r1 and r2, connected to a layer 3 switch.  All 3 devices run eigrp.  I would like to send traffic from the layer 3 switch for a destination, say  to r1 and different traffic , say to r2. In my eigrp routing table, I get all traffic going to r1, nothing to r2.  I've tried max paths, variance, hsrp, route-maps (route maps in the bgp section, since r1 and r2 also run bgp), static routes and I just can't seem to figure this out.   How do I go about doing this?



  • WAN Routing and Switching
Everyone's tags (1)
Cisco Employee

You can use offset list

You can use offset list matching routes and using some penalties to make that route worse.

How is it configured in the L3 switch? Is it the same SVI for both routers?

Is one SVI for R1 and another for R2?

If they're different SVI you can do this below.



access-list 99 permit

router eigrp x

offset-list 99 in XXX   vlan y

XXX => Value to be greater than the backup route

Y -> SVI connected to R1


This would make this specific route to have a penalty so the traffic would flow through R2.



HelloYou could also use PBR


You could also use PBR.

access-list 100 permit scr dest

route-map PBR permit 10

 match ip address 100
 set ip next-hop x.x.x.x
set ip next-hop verify-availability





Please don't forget to rate any posts that have been helpful. Thanks.
New Member

hey, thanks, 3 different

hey, thanks, 3 different things I can try, just when I was thinking it couldn't be done.  thanks again.


Another way is using

Another way is using administrative distance; you can modify it using :

router eigrp <as>

   distance <admin_dist>  <source_ip> <wild card mask> <acl>

You can give routes (or some routes) from r1 a worst admin distance; this way the switch will prefere routes from r2.





please rate if useful


This widget could not be displayed.