cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2208
Views
0
Helpful
3
Replies

Static route redistribution in EIGRP-Nexus

ScarFace P
Level 1
Level 1

Hello Experts, 

   We are installing some default and static routes in our core nexus switch, which further need to be redistributed in EIGRP instance running on the core. I have configured three default routes with different AD value and other are static routes. I have read i cisco docs that we cant redistribute static routes directly into routing protocols like in IOS, we need to have route-map in place and made the configuration as below. When i put this config will all the three default routes be available to other eigrp neighbours having one best in routing table or only one route will be available. Please correct me if config needs to be changed. 

Static Routes:-

ip route 0.0.0.0/0 10.25.25.24
ip route 0.0.0.0/0 10.26.25.24 253
ip route 0.0.0.0/0 10.27.25.24 254


ip route 10.0.0.0/8 Null0


ip route 10.0.3.3/32 10.25.25.22
ip route 10.1.2.2/32 10.25.25.124
ip route 10.3.1.0/22 10.3.6.25

Prefix-List:-

ip prefix-list StaticRoute seq 10 permit 0.0.0.0/0 le 32
ip prefix-list StaticRoute seq 25 permit 10.0.0.0/8 le 32
ip prefix-list StaticRoute seq 30 permit 10.0.3.3/32
ip prefix-list StaticRoute seq 35 permit 10.1.2.2/32
ip prefix-list StaticRoute seq 40 permit 10.3.1.0/22 le 32

Route-map:-


route-map StaticRoute_TO_EIGRP1 permit 10
match ip address prefix-list StaticRoute

Routing Config:-

router eigrp EIGRP1
autonomous-system 1
address-family ipv4 unicast
redistribute static route-map StaticRoute_TO_EIGRP1

Thanks in advance.

PM

3 Replies 3

Pranay Prasoon
Level 3
Level 3

Hi Pankaj,

This is the wrong section for this question. However, I am not sure how does it make a difference which default route EIGRP picks from three different metric. Eventually the other routers will get the default route from the one which is redistributing and will send traffic to next hop. When packet will come to this router at that time static route will kick in if there are not specific routes to a prefix and then AD,etc. 

Thanks Pranay for the response. So you mean the config is correct.

Thanks

PM

yes

Review Cisco Networking for a $25 gift card