01-15-2020 05:15 PM - edited 01-15-2020 05:22 PM
I am practicing OSPF and EIGRP on real cisco gear for CCNA and here is my question. Is that any way to change administrative distance of all OSPF routes at one time on one router?
The purpose of that is: I want to already configured OSPF routes keep working until I finish all EIGRP configs on all routers; then, I want to change AD for OSPF to default and all configured EIGRP routes will come up.
I know that is probably weird way, but still, I am curious is that even possible.
Solved! Go to Solution.
01-15-2020 07:05 PM
Hi,
You can do that using distance command under EIGRP. It will change the default AD value for internal and external Routes learned from EIGRP.
Router EIGRP X
Distance 130 180
Above command will change the AD of all the internal EIGRP learned routes from 90 to 130 and 180 to external learned routes. This can make OSPF learned routes prefered over EIGRP since OSPF AD is 120.
Reference: https://www.cisco.com/c/m/en_us/techdoc/dc/reference/cli/nxos/commands/eigrp/distance-eigrp.html
01-15-2020 07:05 PM
Hi,
You can do that using distance command under EIGRP. It will change the default AD value for internal and external Routes learned from EIGRP.
Router EIGRP X
Distance 130 180
Above command will change the AD of all the internal EIGRP learned routes from 90 to 130 and 180 to external learned routes. This can make OSPF learned routes prefered over EIGRP since OSPF AD is 120.
Reference: https://www.cisco.com/c/m/en_us/techdoc/dc/reference/cli/nxos/commands/eigrp/distance-eigrp.html
01-16-2020 06:21 AM
Thank you. That's clear
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