「实战」基本的EIGRP路由配置,一分钟了解下

2023-06-16 15:01:43

一、目的

1.完成路由器基本参数配置;

2.在cisco1上创建4个环回口;在cisco3上创建1个环回口;

3.所有路由器参与EIGRP,AS号为100。

二、拓扑

三、步骤

1.启动EIGRP进程

cisco1(config)#router eigrp 100

cisco1(config-router)#network 192.168.12.0

cisco1(config-router)#network 172.16.0.0

cisco1(config-router)#network 172.16.1.0

cisco1(config-router)#network 172.16.2.0

cisco1(config-router)#network 172.16.3.0

cisco2(config)#router eigrp 100

cisco2(config-router)#network 192.168.12.0

cisco2(config-router)#network 192.168.23.0

cisco3(config)#router eigrp 100

cisco3(config-router)#network 192.168.23.0

cisco3(config-router)#network 10.0.0.0

2.查看cisco2的路由表

cisco2#show ip route

Gateway of last resort is not set

D 172.16.0.0/16 [90/2297856] via 192.168.12.1, 00:01:11, Serial0

D 10.0.0.0/8 [90/2297856] via 192.168.23.3, 00:01:11, Serial1

C 192.168.12.0/24 is directly connected, Serial0

C 192.168.23.0/24 is directly connected, Serial1

【EIGRP的代号为D,来源与它的核心算法:DUAL 。EIGRP的自治系统内部管理距离值为90。度量值的计算参数为:带宽,延迟,可靠,负载,MTU。但是默认情况下只有带宽和延迟】

3.查看cisco2上运行的动态路由选择协议

cisco2#show ip protocols

Routing Protocol is "eigrp 100"

Outgoing update filter list for all interfaces is not set

Incoming update filter list for all interfaces is not set

Default networks flagged in outgoing updates

Default networks accepted from incoming updates

EIGRP metric weight K1=1, K2=0, K3=1, K4=0, K5=0

【 计算EIGRP度量值默认的参数是:K1(带宽),K3(延迟)】

EIGRP maximum hopcount 100

EIGRP maximum metric variance 1

Redistributing: eigrp 100

Automatic network summarization is in effect

Automatic address summarization:

192.168.23.0/24 for Serial0

192.168.12.0/24 for Serial1

Maximum path: 4

Routing for Networks:

192.168.12.0

192.168.23.0

Routing Information Sources:

Gateway Distance Last Update

192.168.12.1 90 00:03:53

192.168.23.3 90 00:03:53

Distance: internal 90 external 170

注: 在cisco2上宣告的两个网段

4.查看EIGRP的邻居表

cisco2#show ip eigrp neighbors

IP-EIGRP neighbors for process 100

H Address Interface Hold Uptime SRTT RTO Q Seq Type

(sec) (ms) Cnt Num

1 192.168.23.3 Se1 12 00:23:42 24 200 0 4

0 192.168.12.1 Se0 11 00:26:44 688 4128 0 3

注:H代表建立EIGRP邻居关系的先后顺序。EIGRP的HELLO时间为5秒,HOLD时间为15秒。

5.观察EIGRP的报文更新地址

cisco3#debug ip packet

IP packet debugging is on

cisco3#

01:18:51: IP: s=192.168.23.3 (local), d=224.0.0.10 (Serial1), len 60, sending broad/multicast

01:18:52: IP: s=10.0.0.1 (local), d=224.0.0.10 (Loopback0), len 60, sending broad/multicast

01:18:52: IP: s=10.0.0.1 (Loopback0), d=224.0.0.10, len 60, rcvd 2

01:18:53: IP: s=192.168.23.2 (Serial1), d=224.0.0.10, len 60, rcvd 2

【 EIGRP使用组播地址224.0.0.10来参与EIGRP进程】

以下是华为数通路由交换方向完整技术分享,欢迎对华为网络技术感兴趣的小伙伴们订阅。【可在专栏中进行查看订阅】


华为新版HCIP数通路由交换

华为新版HCIE数通路由交换