Route Source
|
Default Distance Values
|
Connected
interface
|
0
|
Static route
|
1
|
Enhanced Interior
Gateway Routing Protocol (EIGRP) summary route
|
5
|
External Border
Gateway Protocol (BGP)
|
20
|
Internal EIGRP
|
90
|
OSPF
|
110
|
Intermediate
System-to-Intermediate System (IS-IS)
|
115
|
Routing
Information Protocol (RIP)
|
120
|
Exterior Gateway
Protocol (EGP)
|
140
|
Unknown*
|
255
|
Low administrative distance takes precedence in route distribution.
Suppose we have 2 routing protocols RIP and EIGRP; 120 and 100 respectively. EIGRP will be preferred over the RIP because of the administrative distance is 100.
However, Administrative distance can be changed to take precedence
For instance, lets enable RIP route by using distance command to modify distance
Router1#show ip route
Router1(config)#router rip
Router1(config-router)#distance 90
Now check again with show ip route command
You will see that RIP has taken precedence over EIGRP.
No comments:
Post a Comment