cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
509
Views
5
Helpful
2
Replies

CCNA EIGRP Administrative Distance

Aureliano
Level 1
Level 1

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.

 

1 Accepted Solution

Accepted Solutions

Muhammad Awais Khan
Cisco Employee
Cisco Employee

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

View solution in original post

2 Replies 2

Muhammad Awais Khan
Cisco Employee
Cisco Employee

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

Thank you. That's clear

Review Cisco Networking products for a $25 gift card