I have a "Tun0" interface over which I speak EIGRP. On this same router I have a "Vlan1" interface. What i'd like to do is speak only of the interfaces that pass a route-map, e.g.
route-map foo permit 10
match interface Vlan1
router eigrp 100
distribute-list route-map foo out
eigrp stub connected summary
However, this doesn't work. A debug shows that 'Vlan1' is being denied by the route-map rather than permitted by it. 'sh ip eigrp top' on the prefix in question suggests that the next-hop for this route is 0.0.0.0. The behavior appears to be the same with or without the EIGRP stub processing and the other stub processing features are desirable in this case.
How do I only include routes sourced from this interface in EIGRP?
Best Answer
if you want to enable eigrp on selected interfaces only, you can use passive interface feature, and if you want to reditribute routes you can use leakmap(and\or redistribution), a-la:
added:
added:
added(sw1 config is the same, only sw2 was changed):