01-30-2020 12:55 PM
Hello,
I was wondering what is the best way or easiest way to exclude a static route from redistribute into eigrp on nexus 7k? The task is to test SDN and I wanted to isolate a subnet for the testing to not impact any production.
looks like there is a general route map statement that redistributes all static routes with no prefix list or acl.
route-map static2routingprotocol permit xxxx
router eigrp xx
router-id 10.x.x.x
redistribute static route-map static2routingprotocol
appreciate any assistance!
Solved! Go to Solution.
01-31-2020 09:32 AM - edited 01-31-2020 09:34 AM
Correct, the 192.168.3.0/24 route will still be in the IP routing table, it just won’t be redistributed into EIGRP.
Jon
01-31-2020 03:38 AM
Assuming 192.168.3.0/24 is the static route you do not want to redistribute -
ip prefix-list REDIS deny 192.168.3.0/24
ip prefix-list REDIS permit 0.0.0.0/0 le 32
route-map REDIS permit 10
match ip address prefix-list REDIS
router eigrp xx
redistribute static route-map REDIS
Jon
01-31-2020 08:25 AM
Thanks Jon!
so to confirm in this case the static route for 192.168.3.0/3 would still route but it would via static and not eigrp and wouldnt deny the route entirely?
01-31-2020 09:32 AM - edited 01-31-2020 09:34 AM
Correct, the 192.168.3.0/24 route will still be in the IP routing table, it just won’t be redistributed into EIGRP.
Jon
01-31-2020 09:36 AM
Many thanks!
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