cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
793
Views
5
Helpful
4
Replies

Nexus 7k exclude static from distribute

PLC
Level 1
Level 1

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!

1 Accepted Solution

Accepted Solutions

 

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

View solution in original post

4 Replies 4

Jon Marshall
Hall of Fame
Hall of Fame

 

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

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?

 

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

Many thanks!

Review Cisco Networking for a $25 gift card