您的当前位置:首页正文

EIGRP实验

2024-10-18 来源:威能网
掌握EIGEP基本配置步骤 熟悉EIGRP汇总和容错的配置 实验目的 1.CISCO2811路由器3台,交叉线,串行线,电源线若干 2.WinXP电脑一台 实验环境 实验内容(算法、程序、步骤和方法) 实验内容(算法、程序、步骤和方法)

一、现根据课本的所给拓扑图将设备连接好; 二、根据书本所给的拓扑图,将设备相应的端口、IP地址配好(当然这之前要将路由器原来的配置文件给删除,并重启),配置好网络; 三、最后用ping命令来检验所配置网络的连通性。 四、关键配置步骤、命令: (一)eigrp配置 拓扑图: 根据拓扑图,将整个网络配置好,包括ip,端口地址,这些个过程书上有,这里略了。下面是网络配好后用一些命令来查看一些配置及状态: 1.在Westasman上使用show ip interfaces命令,显示其接口或者是IP地址的up或者down状态;

2.在Westasman上使用show ip eigrp neighbors命令,来查看邻居表,检查EIGRP是否与其邻居建立邻居关系。 3.在Westasman上使用show ip eigrp topology命令,来显示目标网络192.168.200.0/24的拓扑表。 5.在Westasman上使用show ip eigrp traffic命令

(二)配置EIGRP容错 (接上) 实验内容(算法、程序、步骤和方法) R1(config)#int s0/0/0 R1(config-if)#ip add 192.168.64.1 255.255.255.252 R1(config-if)#bandwidth 1544 R1(config-if)#no shut R1(config-if)#exit R1(config)#int fa0/0 R1(config-if)#ip add 192.168.1.1 255.255.255.0 R1(config-if)#no shut R1#show ip int bri Interface IP-Address OK? Method Status Protocol FastEthernet0/0 192.168.1.1 YES manual up up FastEthernet0/1 unassigned YES unset administratively down down Serial0/0/0 192.168.64.1 YES manual up up Serial0/0/1 unassigned YES unset administratively down dow R2(config)#int s0/0/0 R2(config-if)#ip add 192.168.64.2 255.255.255.252 R2(config-if)#bandwidth 1544

R2(config-if)#no shut R2(config)#int s0/0/1 R2(config-if)#ip add 192.168.64.6 255.255.255.252 R2(config-if)#bandwidth 1544 R2(config-if)#no shut R2(config-if)#int fa0/0 R2(config-if)#ip add 192.168.72.1 255.255.255.0 R2(config-if)#no shut R2#show ip int bri Interface IP-Address OK? Method Status Protocol FastEthernet0/0 192.168.72.1 YES manual up up FastEthernet0/1 unassigned YES unset administratively down down Serial0/0/0 192.168.64.2 YES manual up up Serial0/0/1 192.168.64.6 YES manual up up R3(config)#int s0/0/0 R3(config-if)#ip add 192.168.64.5 255.255.255.252 R3(config-if)#bandwidth 1544 R3(config-if)#no shut R3(config)#int fa0/0 R3(config-if)#ip add 192.168.1.2 255.255.255.0 R3(config-if)#no shut R3#show ip int bri Interface IP-Address OK? Method Status Protocol FastEthernet0/0 192.168.1.2 YES manual up up FastEthernet0/1 unassigned YES unset administratively down down Serial0/0/0 192.168.64.5 YES manual up up Serial0/0/1 unassigned YES unset administratively down down

R1(config)#router eigrp 100 R1(config-router)#network 192.168.64.0 R1(config-router)#network 192.168.1.0 R2(config)#router eigrp 100 R2(config-router)#network 192.168.64.0 R2(config-router)#network 192.168.72.0 R3(config)#router eigrp 100 R3(config-router)#network 192.168.64.0 R3(config-router)#network 192.168.64.0 Westasman#ping 192.168.64.1 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.64.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/3/4 ms 显示EIGRP可行后继路由器度量值信息 R1#debug eigrp fsm EIGRP FSM Events/Actions debugging is on R3#debug eigrp fsm EIGRP FSM Events/Actions debugging is on 拔掉R3路由器的串行连接

检查新路由是否已被添加 (三)配置EIGRP汇总 R2(config)#int lo0 R2(config-if)#ip add 172.16.8.1 255.255.255.0

R2(config-if)#no shut R2(config-if)#int lo1 R2(config-if)#ip add 172.16.9.1 255.255.255.0 R2(config-if)#no shut R2(config-if)#int lo2 R2(config-if)#ip add 172.16.10.1 255.255.255.0 R2(config-if)#no shut R2(config-if)#int lo3 R2(config-if)#ip add 172.16.11.1 255.255.255.0 R2(config-if)#no shut R2(config-if)#int lo4 R2(config-if)#ip add 172.16.12.1 255.255.255.0 R2(config-if)#no shut R2(config-if)#int lo5 R2(config-if)#ip add 172.16.13.1 255.255.255.0 R2(config-if)#no shut R2(config-if)#int lo6 R2(config-if)#ip add 172.16.14.1 255.255.255.0 R2(config-if)#no shut R2(config-if)#int lo7 R2(config-if)#ip add 172.16.15.1 255.255.255.0 R2(config-if)#no shut R2(config)#router eigrp 100 R2(config-router)#no auto-summary R2(config)#router eigrp 100 R2(config-router)#no network 172.16.0.0 R2(config-router)#network 172.16.8.0 0.0.0.255

R2(config)#router eigrp 100 R2(config-router)#network 172.16.9.0 SanJose1#show ip route Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static route Gateway of last resort is not set D 192.168.72.0/24 [90/2172416] via 192.168.64.2, 00:16:36, Serial0/0/0 172.16.0.0/24 is subnetted, 8 subnets D 172.16.12.0 [90/2297856] via 192.168.64.2, 00:00:26, Serial0/0/0 D 172.16.13.0 [90/2297856] via 192.168.64.2, 00:00:26, Serial0/0/0 D 172.16.14.0 [90/2297856] via 192.168.64.2, 00:00:26, Serial0/0/0 D 172.16.15.0 [90/2297856] via 192.168.64.2, 00:00:26, Serial0/0/0 D 172.16.8.0 [90/2297856] via 192.168.64.2, 00:03:21,

Serial0/0/0 D 172.16.9.0 [90/2297856] via 192.168.64.2, 00:00:27, Serial0/0/0 D 172.16.10.0 [90/2297856] via 192.168.64.2, 00:00:27, Serial0/0/0 D 172.16.11.0 [90/2297856] via 192.168.64.2, 00:00:27, Serial0/0/0 192.168.64.0/24 is variably subnetted, 3 subnets, 2 masks C 192.168.64.0/30 is directly connected, Serial0/0/0 D 192.168.64.0/24 is a summary, 00:16:37, Null0 D 192.168.64.4/30 [90/2681856] via 192.168.64.2, 00:17:05, Serial0/0/0 C 192.168.1.0/24 is directly connected, FastEthernet0/0 R2(config)#int s0/0/0 R2(config-if)#ip summary-address eigrp 100 172.16.8.0 255.255.248.0 R2(config-if)#int s0/0/1 R2(config-if)#ip summary-address eigrp 100 172.16.8.0 255.255.248.0 R2#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 maximum hopcount 100 EIGRP maximum metric variance 1 Redistributing: eigrp 100 EIGRP NSF-aware route hold timer is 240s Automatic network summarization is not in effect Address Summarization: 172.16.8.0/21 for Serial0/0/0, Serial0/0/1 Summarizing with metric 128256 Maximum path: 4 Routing for Networks: 172.16.8.0/24 172.16.0.0

192.168.64.0 192.168.72.0 Routing Information Sources: Gateway Distance Last Update (this router) 90 00:03:41 192.168.64.1 90 00:04:02 192.168.64.5 90 00:04:02 Distance: internal 90 external 170 试验心得与小结 通过这次实验,我更了解了EIGRP的一些基本配置,以及EIGRP这种路由协议的一些功能。在实验过程中遇到一些问题,比如端口突然down掉,着有可能是线松掉了的问题。另外有时会ping不通,可能是network没设置完整。 指导教师 评议 成绩评定: 指导教师签名:

因篇幅问题不能全部显示,请点此查看更多更全内容