08-28-2018 01:11 PM
i have a switch that is connected to 2 routers and forming an EIGRP adjacency to both over interface VLAN. is their a way to filter and/or offset some routes to a specific neighbour as when i apply the distribute/offset list directly to the interface VLAN it affects both neighbours
08-28-2018 02:34 PM - edited 08-28-2018 02:50 PM
Hello,
post the full config of your switch...
The route map refers to an access list. The source portion of the access list is your EIGRP neighbor. So by matching the neighbors, you should be able to filter routes per neighbor...
08-28-2018 02:48 PM - edited 08-29-2018 02:33 AM
Hello
In the eigrp process of the switch you can increase the admin distance of the less preferred eigrp neighbor and specify a acl value which doesnt exist so it will capture all routes being advertised from that peer.
swtich
router eigrp xxx
distance 91 (advertising eigrp router) 0.0.0.0 10
08-29-2018 02:21 AM - edited 08-29-2018 02:27 AM
thank you paul, it helped with the inbound routes to the switch to be filtered. is their a way to engineer the outbound traffic as well.
as per the topology below, i need 2.2.2.2 to go through R2 instead of R1 to 1.1.1.1 ( any destination from 2.2.2.2 must go through R2not only 1.1.1.1 ), and 1.1.1.1 to be routed back to 2.2.2.2 through R2 as well
Topology
08-29-2018 04:36 AM - edited 08-29-2018 05:05 AM
Hello
You can use Policy based routing to accomplish this;
Example:
rtr1 = 10.1.123.1
rtr2 = 10.1.123.2
Switch = 10.1.123.100
ip sla 1
icmp-echo 10.1.123.2 source-ip 10.1.123.100
ip sla schedule 1 life forever start-time now
track 10 rtr 1 reachability
access-list 100 permit ip host 2.2.2.2 any
route-map PBR permit 10
match ip address 100
set ip next-hop verify-availability 10.1.123.2 1 track 10
int vlan xx
ip policy route-map PBR
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide