01-04-2017 05:40 AM - edited 03-12-2019 01:44 AM
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
01-04-2017 06:18 AM
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.
01-05-2017 01:34 AM
Thanks Pranay for the response. So you mean the config is correct.
Thanks
PM
01-05-2017 08:11 AM
yes
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