This is a nice one. If you check the IP Routing Protocol Command Reference (*1), you find an example for EIGRP where the command
"distance 90 192.168.7.0 0.0.0.255"
should set the administrative distance to 120 for the router with the address 172.16.1.3 in EIGRP.
But I think this is misleading, and does not work (it may be me though). This command works fine with RIP and OSPF, where you can also enhance it with an access-list to change the AD only for selected route entries:
"distance 109 100.100.100.1 0.0.0.0 NET_1"
"ip access-list standard NET_1
permit 22.214.171.124 0.0.0.255"
Sets the AD for 126.96.36.199/24 received from neighbor 100.100.100.1 to 109.
In the IP Routing Protocol Command Reference EIGRP (*2), you find a note which says "You cannot set the administrative distance in EIGRP against certain routes or sources, as you can with other protocols. The command does not work this way with EIGRP".
This note is at the bottom of the entry "eigrp distance", and I think it is correct.
So to my best knowledge and experience there is no way to manipulate the AD for EIGRP routes, except when using the "distance eigrp" command. This command specifies the AD for internal and external EIGRP routes, but applies to all EIGRP routes alike.
In answer to you question, you have to use the "distance eigrp" command, and you are bound to the limitations of this command.
Hi everyone, I would like to thank you in advance for any help you can provide a newcomer like myself!
Im studying the 100-105 book by Odom and am currently on the topic of Port security. I purchased a used 2960 and I'm trying to follow a...
While deploying a number of 18xx/2802/3802 model access points (APs), which run AP-COS as their operating platform. It can be observed on some occasions that while many of their access points were able to join the fabric WLC withou...
I am going to design and build an LAN network under a tunnel underground with long distance between the switches.
I will have 2 Catalyst switches and 8 Industrial IE3000, and they will be connected with fiber.
For now I am planning on use Layer-2 s...