天天看点

EIGRP分解试验部分-LAB1:EIGRP基本试验

LAB1:EIGRP基本试验

拓扑图:

EIGRP分解试验部分-LAB1:EIGRP基本试验

试验需求:

全网运行EIGRP路由协议,能够实现全网的互通,并且掌握主要几种show 命令的使用。

主要配置命令:

R1(config)#router eigrp 1 R1(config-route)#network 12.1.1.0 0.0.0.255 R1(config-route)#network 1.1.1.0 0.0.0.255 R2(config)#router eigrp 1 R2config-route)#network 12.1.1.0 0.0.0.255 R2config-route)#network 23.1.1.0 0.0.0.255 R3config)#router eigrp 1 R3onfig-route)#network 3.3.3.0 0.0.0.255 R3onfig-route)#network 23.1.1.0 0.0.0.255

查看路由表是否学习到路由

R1#show ip route

Gateway of last resort is not set

1.0.0.0/8 is variably subnetted, 2 subnets, 2 masks

C 1.1.1.0/24 is directly connected, Loopback0

D 1.0.0.0/8 is a summary, 00:00:29, Null0

D 3.0.0.0/8 [90/2809856] via 12.1.1.2, 00:00:06, Serial1/2

D 23.0.0.0/8 [90/2681856] via 12.1.1.2, 00:00:16, Serial1/2

12.0.0.0/8 is variably subnetted, 2 subnets, 2 masks

C 12.1.1.0/24 is directly connected, Serial1/2

D 12.0.0.0/8 is a summary, 00:00:29, Null0

EIGRP

是无类路由协议,但是路由表中发现是

/8

位的主类路由,为什么呢?

答:EIGRP默认在网络边界进行自动汇总,我们需要关闭此特性。

R1/R2/R3

R1(config)#router eigrp 1

R1(config-route)#no auto-summary

Note:EIGRP

配置注意事项

1.

自治系统号要匹配

2.E IGRP

可以直接宣告主类网络,但是最好我们通过通配符掩码进行精确匹配。使用通配符掩码,可以很好的控制哪些接口加入到EIGRP 的进程中工作。

3.关闭自动汇总。

EIGRP主要查看指令:

继续阅读