09-13-2019 06:45 AM
Hi,
I have a DMVPN router and i am learning lot of routes from hub but i am blocking some routes sending it to downstream switch which is an L3 switch and there is an EIGRP running between the DMVPN spoke router and the layer 3 core switch. Now there is a requirement to allow some host or /32 routes. So i am blocking 192.168.0.0/16 le 32 but the requirement says that i have to allow 192.168.0.20/32 and let the other routes remain blocked. Below is the current config
ip prefix-list SuppressDC-DCLinkOriginatedRoutes seq 110 permit 10.188.0.0/16 le 32
ip prefix-list SuppressDC-DCLinkOriginatedRoutes seq 115 permit 172.29.0.0/16 le 32
ip prefix-list SuppressDC-DCLinkOriginatedRoutes seq 120 permit 192.168.0.0/16 le 32
ip prefix-list SuppressDC-DCLinkOriginatedRoutes seq 145 permit 172.25.128.0/20
ip prefix-list SuppressDC-DCLinkOriginatedRoutes seq 150 permit 172.22.0.0/21
ip prefix-list SuppressDC-DCLinkOriginatedRoutes seq 160 permit 172.23.0.0/16
ip prefix-list SuppressDC-DCLinkOriginatedRoutes seq 170 permit 172.24.0.0/16
route-map IgnoreRoutes deny 12
match ip address prefix-list SuppressDC-DCLinkOriginatedRoutes
!
route-map IgnoreRoutes permit 20
I am thinking to add a below entry in prefix list
ip prefix-list SuppressDC-DCLinkOriginatedRoutes seq 122 deny 192.168.0.20/32
so wanted to check with you guys if this will work or if there is a better way of doing it. Thanks in advance and i want to keep it simple
Solved! Go to Solution.
09-13-2019 07:18 AM
Hello
Try the following:
ip prefix-list allow-host permit 192.168.0.20/32
route-map IgnoreRoutes permit 10
match iip address prefix allow-hiost
09-13-2019 07:18 AM
Hello
Try the following:
ip prefix-list allow-host permit 192.168.0.20/32
route-map IgnoreRoutes permit 10
match iip address prefix allow-hiost
09-13-2019 07:35 AM
makes sense, 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