cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
546
Views
0
Helpful
2
Replies

Route-map/Prefix-list question

Junaid Shah
Level 1
Level 1

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

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


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

View solution in original post

2 Replies 2

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


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

makes sense, thanks

Review Cisco Networking products for a $25 gift card