04-16-2021 08:30 AM
Hello, hoping someone else may have some experience with this. I'm trying to create a simple leak-map that:
1) Leaks two specific prefixes from a prefix-list
2) Leaks them out a specific interface only
from a Nexus 9000, config is as follows:
ip prefix-list EigrpNetwork seq 9 permit 10.33.254.254/32
ip prefix-list EigrpNetwork seq 10 permit 10.33.0.0/24
route-map nexus_leak permit 200
match ip address prefix-list EigrpNetwork
match interface Ethernet1/25/1
router eigrp 1
autonomous-system 1
stub direct leak-map nexus_leak
network 10.0.0.0/8
Upstream router sees that it is advertising direct routes and a leak-map, but does not receive these prefixes. If I remove the match interface statement, it works. I can get this working with this exact config on an IOS switch. Does NX-OS do interface matching on leak-maps differently? I read through config guides and couldn't find any info. Help much appreciated!
04-16-2021 09:21 AM
match Horizontal is OR
match Vertical is AND
so match AND meaning it must match before the action will apply.
04-16-2021 09:47 AM
Yes, that's how the route-map is currently set up.
04-17-2021 04:30 AM
Hello ,
the leak-map feature with EIGRP stub is thought for a remote site having two EIGRP stub routers R1 and R2 with an EIGRP link between them, in the case that R2 uplink fails without the leak-map R2 cannot receive routes received by R1 because R1 being stub cannot propagate routes received on its own uplink.
In my understanding the leak-map allows to relax the EIGRP stub feature so that R1 can pass some routes to R2 making R2 not isolated when its own uplink has failed. An aggregate route or a default route are the typical routes to pass.
Now, in your case you are matching on an interface that is in AND with the prefix-list that specifies the prefixes to be leaked.
However, the test should not be done on the upstream device that should be the one sending those test prefixes, but on a device connected to the matched interface ( the R2 in my previous explanation) downstream the device under test.
Hope to help
Giuseppe
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