Distance Eigrp Command on CISCO Router/Switch

Command

Distance EIGRP

Use

This command changes the administrative distance for EIGRP routes.

Syntax

Router(config-router)#distance eigrp <internal distance> <external distance>

Example

Distance Eigrp Command on CISCO Router/Switch 1

In this example, we will change the EIGRP administrative distance to 110. Currently, we see EIGRP is at its default administrative distance of 90.

R1(config)#do show ip route eigrp
2.0.0.0/32 is subnetted, 1 subnets
D 2.2.2.2 [90/156160] via 10.1.1.2, 00:00:25, FastEthernet0/0
33.0.0.0/32 is subnetted, 1 subnets
D 33.33.33.33 [90/158720] via 10.1.1.2, 00:00:25, FastEthernet0/0
3.0.0.0/32 is subnetted, 1 subnets
D 3.3.3.3 [90/158720] via 10.1.1.2, 00:00:25, FastEthernet0/0
10.0.0.0/24 is subnetted, 3 subnets
D 10.2.2.0 [90/30720] via 10.1.1.2, 00:00:25, FastEthernet0/0
133.133.0.0/32 is subnetted, 1 subnets
D 133.133.133.133 [90/158720] via 10.1.1.2, 00:00:25, FastEthernet0/0

Here, we change the distance with the distance eigrp 110 200.

R1(config)#router eigrp 100
R1(config-router)#distance eigrp 110 200

Now we can see the change is reflected in the routing table.

R1(config-router)#do show ip route eigrp
2.0.0.0/32 is subnetted, 1 subnets
D 2.2.2.2 [110/156160] via 10.1.1.2, 00:01:47, FastEthernet0/0
33.0.0.0/32 is subnetted, 1 subnets
D 33.33.33.33 [110/158720] via 10.1.1.2, 00:01:47, FastEthernet0/0
3.0.0.0/32 is subnetted, 1 subnets
D 3.3.3.3 [110/158720] via 10.1.1.2, 00:01:47, FastEthernet0/0
10.0.0.0/24 is subnetted, 3 subnets
D 10.2.2.0 [110/30720] via 10.1.1.2, 00:01:47, FastEthernet0/0
133.133.0.0/32 is subnetted, 1 subnets
D 133.133.133.133 [110/158720] via 10.1.1.2, 00:01:47, FastEthernet0/0
Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x