cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

Community Helping Community

160
Views
0
Helpful
2
Replies
Beginner

Route-map/Prefix-list question

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

1 ACCEPTED SOLUTION

Accepted Solutions
VIP Advisor

Re: Route-map/Prefix-list question

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



kind regards
Paul

Please rate and mark posts accordingly if you have found any of the information provided useful.
It will hopefully assist others with similar issues in the future

View solution in original post

2 REPLIES 2
VIP Advisor

Re: Route-map/Prefix-list question

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



kind regards
Paul

Please rate and mark posts accordingly if you have found any of the information provided useful.
It will hopefully assist others with similar issues in the future

View solution in original post

Beginner

Re: Route-map/Prefix-list question

makes sense, thanks

CreatePlease to create content
Content for Community-Ad
FusionCharts will render here