实验31配置和调试EIGRP.docx

上传人:b****4 文档编号:5437690 上传时间:2022-12-16 格式:DOCX 页数:11 大小:55.19KB
下载 相关 举报
实验31配置和调试EIGRP.docx_第1页
第1页 / 共11页
实验31配置和调试EIGRP.docx_第2页
第2页 / 共11页
实验31配置和调试EIGRP.docx_第3页
第3页 / 共11页
实验31配置和调试EIGRP.docx_第4页
第4页 / 共11页
实验31配置和调试EIGRP.docx_第5页
第5页 / 共11页
点击查看更多>>
下载资源
资源描述

实验31配置和调试EIGRP.docx

《实验31配置和调试EIGRP.docx》由会员分享,可在线阅读,更多相关《实验31配置和调试EIGRP.docx(11页珍藏版)》请在冰豆网上搜索。

实验31配置和调试EIGRP.docx

实验31配置和调试EIGRP

实验3-1:

配置和调试EIGRP

【实验目的】:

在本次实验中,你将安装增强的内部网关路由协议(EIGRP)和观察它的缺省行为。

然后优化EIGRP配置。

在完成本次实验之后,你需要完成下列任务:

∙核心和其他机架使用EIGRP路由协议

∙理解EIGRP的查询数据包。

∙配置EIGRP路由汇总。

∙发布EIGRP缺省路由。

∙配置EIGRP存根特性去限制EIGRP查询范围。

【实验拓扑】:

注意:

图中x为所在机架编号,y为路由器编号。

【实验帮助】:

如果出现任何问题,可以向在值的辅导老师提出并请求提供帮助。

【命令列表】:

命令

描述

#debugipeigrp

显示EIGRP的更新过程

(config-router)#eigrpstub

指定那个路由器是一个EIGRP存根路由器

(config-if)#ipsummary-addresseigrp110.x.0.0255.255.0.0

在一个接口上创建和发布一个汇总路由。

(config-router)#network10.x.0.00.0.255.255

指定在这个网络(10.3.0.0/16)内运行EIGRP协议

(config-router)#noauto-summary

在类的边界关闭自动汇总功能

(config)#routereigrp1

打开EIGRP路由器议运行自治系统1

【任务一】:

配置基本的EIGRP。

在这个任务中,你需要安装和观察这个EIGRP的行为。

实验之前,请确保你的路由器配置与下列类似:

P1R1或P1R2:

hostnameP1R1

!

boot-start-marker

boot-end-marker

!

noaaanew-model

ipsubnet-zero

noipdomainlookup

!

interfaceEthernet0

ipaddress10.1.1.1255.255.255.0

!

interfaceSerial0

ipaddress172.31.1.1255.255.255.0

encapsulationframe-relay

frame-relaymapip172.31.1.3111broadcast

noframe-relayinverse-arp

!

interfaceSerial1

ipaddress10.1.0.1255.255.255.0

clockrate64000

!

noiphttpserver

ipclassless

P1R3或P1R4:

hostnameP1R3

!

boot-start-marker

boot-end-marker

!

noaaanew-model

ipsubnet-zero

noipdomainlookup

!

interfaceEthernet0

ipaddress10.1.1.3255.255.255.0

!

interfaceSerial0

ipaddress10.1.3.3255.255.255.0

shutdown

clockrate64000

!

interfaceSerial1

noipaddress

shutdown

!

noiphttpserver

ipclassless

!

linecon0

exec-timeout300

loggingsynchronous

lineaux0

linevty04

login

实验过程:

第一步:

使用自治系统号1配置EIGRP在每一个路由器上。

使用适当的网络和掩码值使所有的接口都运行EIGRP进程。

在边界路由器上关闭自动汇总。

第二步:

使用showipprotocols命令验证你的配置是否是正确的。

确定所有路由器的自治系统号为1和所有领居交换路由是正常的。

你的显示结果应该与下列类似:

P1R2#shippro

RoutingProtocolis"eigrp1"

Outgoingupdatefilterlistforallinterfacesisnotset

Incomingupdatefilterlistforallinterfacesisnotset

Defaultnetworksflaggedinoutgoingupdates

Defaultnetworksacceptedfromincomingupdates

EIGRPmetricweightK1=1,K2=0,K3=1,K4=0,K5=0

EIGRPmaximumhopcount100

EIGRPmaximummetricvariance1

Redistributing:

eigrp1

EIGRPNSF-awarerouteholdtimeris240s

Automaticnetworksummarizationisineffect

Automaticaddresssummarization:

172.31.0.0/16forEthernet0,Serial1

Summarizingwithmetric2169856

10.0.0.0/8forSerial0

Summarizingwithmetric281600

Maximumpath:

4

RoutingforNetworks:

10.1.0.0/16

172.31.1.0/24

RoutingInformationSources:

GatewayDistanceLastUpdate

(thisrouter)9000:

01:

44

GatewayDistanceLastUpdate

10.1.0.19000:

01:

45

10.1.2.49000:

00:

02

172.31.1.39000:

01:

57

Distance:

internal90external170

P1R2#

第三步:

在每一个路由器上验证EIGRP是接收了远程路由条目。

你的显示应该如下列所示类似:

P1R2#shiproute

Codes:

C-connected,S-static,R-RIP,M-mobile,B-BGP

D-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPFinterarea

N1-OSPFNSSAexternaltype1,N2-OSPFNSSAexternaltype2

E1-OSPFexternaltype1,E2-OSPFexternaltype2

i-IS-IS,su-IS-ISsummary,L1-IS-ISlevel-1,L2-IS-ISlevel-2

ia-IS-ISinterarea,*-candidatedefault,U-per-userstaticroute

o-ODR,P-periodicdownloadedstaticroute

Gatewayoflastresortisnotset

172.31.0.0/24issubnetted,1subnets

C172.31.1.0isdirectlyconnected,Serial0

10.0.0.0/24issubnetted,5subnets

D10.1.3.0[90/2195456]via10.1.2.4,00:

02:

56,Ethernet0

C10.1.2.0isdirectlyconnected,Ethernet0

D10.1.1.0[90/2195456]via10.1.0.1,00:

02:

53,Serial1

C10.1.0.0isdirectlyconnected,Serial1

D10.254.0.0[90/2195456]via172.31.1.3,00:

02:

25,Serial0

第四步:

在内部路由器(PxR3和PxR4)使用debugipeigrp命令去监视EIGRP查询。

第五步:

在边界路由器上关闭串行接口(Thes0/1interfaceonPxR1andPxR2)。

第六步:

查看内部路由器上的EIGRP查询,你的显示应该与下列类似:

第七步:

关闭所有的DEBUG命令。

第八步:

在边界路由上激活串行接口(Thes0/1interfaceonPxR1andPxR2)。

【任务二】:

配置EIGRP核心扩展性

在这个任务中,你将配置EIGRP路由汇总。

这个更改将进一步控制EIGRP的查询范围,最小化更新通信和最小化路由表增加EIGRP的扩展性和加速网络的收敛。

实验过程:

第一步:

手动配置边界路由器(PxR1和PxR2)汇总路由条目10.x.0.0/16到EIGRP核心路由器BBR1(在这里x是你的机架编号)。

第二步:

TELNET到BBR1(172.31.x.3)并验证BBR1仅收到了一条汇总没有,并没有详细路由条目。

如果两个边界路由器是配置适当的,你应该能看到两条等价的有效连路BBR1。

你的显示应该与下列类似:

BBR1>shiproute

Codes:

C-connected,S-static,I-IGRP,R-RIP,M-mobile,B-BGP

D-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPFinterarea

N1-OSPFNSSAexternaltype1,N2-OSPFNSSAexternaltype2

E1-OSPFexternaltype1,E2-OSPFexternaltype2,E-EGP

i-IS-IS,L1-IS-ISlevel-1,L2-IS-ISlevel-2,ia-IS-ISinterarea

*-candidatedefault,U-per-userstaticroute,o-ODR

Gatewayoflastresortisnotset

172.31.0.0/24issubnetted,1subnets

C172.31.1.0isdirectlyconnected,Serial0

S192.168.11.0/24[1/0]via172.31.1.2

10.0.0.0/8isvariablysubnetted,2subnets,2masks

D10.1.0.0/16[90/2195456]via172.31.1.2,00:

00:

04,Serial0

[90/2195456]via172.31.1.1,00:

00:

04,Serial0

C10.254.0.0/24isdirectlyconnected,Ethernet0

S192.168.1.0/24[1/0]via172.31.1.1

【任务三】:

配置EIGRP根(STUB)

我们已经通过路由汇总优化了从边界路由器到达核心路由器BBR1的路由表,但是怎样限制从边界路由器到内部路由器的查询数据包呢?

实验过程:

第一步:

使用eigrpstubconnectedsummary命令配置内部路由器(PxR3和PxR4)为EIGRP根。

记住查询范围并不对路由表产生影响。

第二步:

验证边界路由器是否识别内部部由器是一个EIGRP根。

你的显示输入应该如下列所示:

P1R2#shipeigrpneide

IP-EIGRPneighborsforprocess1

HAddressInterfaceHoldUptimeSRTTRTOQSeq

(sec)(ms)CntNum

010.1.2.4Et01400:

03:

462421452069

Version12.3/1.2,Retrans:

0,Retries:

0

StubPeerAdvertising(CONNECTEDSUMMARY)Routes

Suppressingqueries

110.1.0.1Se11200:

04:

1034204087

Version12.3/1.2,Retrans:

2,Retries:

0

2172.31.1.3Se012800:

03:

3444264034

Version12.0/1.1,Retrans:

5,Retries:

0

P1R2#

第三步:

这个根指出查询通信边界和帮助避免ISA(stuckinactive)状态的发生,SIA是EIGRP长时期不能确认路由。

为了演示这种情形,在内部路由器上使用debugipeigrp命令。

第四步:

关闭边界路由器的串行接口(PxR1和PxR2的s1口)。

第五步:

与没有将内部路由器配置为根比较,这里没有查询传送到内部路由器。

在配置内部路由器为EIGRP根后,你不应该看到比下列输出更多的调试信息。

P1R4#

02:

41:

32;IP–EIGRP:

ProcessingincomingQUERYpacket

第六步:

重新打开边界路由器的串行接口。

第七步:

关闭内部路由器的调试信息。

(PxR3和PxR4)。

【任务四】:

配置EIGRP缺省路由

在这个任务中,边界路由器将通过EIGRP发布一条缺省路由到内部路由器。

这个更改将通过最小化路由更新和最小华路由表增加EIGRP的稳定性和收敛速度。

实验过程:

第一步:

从边界路由器发送一条缺省路由到内部路由器,同时你也应该过滤所有的详细路由。

你可以在边界路由器上使用一条0.0.0.00.0.0.0汇聚路由发送到内部路由器完成这个目的。

第二步:

检查内部路由器的路由表。

你可以看到一条缺省路由和直连路由和EIGRP从其他内部路由器上学习到的路由,但是没有详细的路由条目。

这些条目被过滤掉了。

你的显示输入应该与下列类似:

P1R4#shiproute

Codes:

C-connected,S-static,R-RIP,M-mobile,B-BGP

D-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPFinterarea

N1-OSPFNSSAexternaltype1,N2-OSPFNSSAexternaltype2

E1-OSPFexternaltype1,E2-OSPFexternaltype2

i-IS-IS,su-IS-ISsummary,L1-IS-ISlevel-1,L2-IS-ISlevel-2

ia-IS-ISinterarea,*-candidatedefault,U-per-userstaticroute

o-ODR,P-periodicdownloadedstaticroute

Gatewayoflastresortis10.1.2.2tonetwork0.0.0.0

10.0.0.0/24issubnetted,3subnets

C10.1.3.0isdirectlyconnected,Serial0

C10.1.2.0isdirectlyconnected,Ethernet0

D10.1.1.0[90/2195456]via10.1.3.3,00:

03:

11,Serial0

D*0.0.0.0/0[90/307200]via10.1.2.2,00:

00:

19,Ethernet0

P1R4#

【实验验证】:

成功完成整个实验,你需要完成下列任务:

∙你有成功的配置EIGRP和查看了查询数据包。

∙你有汇总路由到你的核心。

∙你有在内部路由器上执行优化。

【路由器配置】:

P1R1:

hostnameP1R1

!

boot-start-marker

boot-end-marker

!

!

noaaanew-model

ipsubnet-zero

noipdomainlookup

!

!

!

!

interfaceEthernet0

ipaddress10.1.1.1255.255.255.0

ipsummary-addresseigrp10.0.0.00.0.0.05

!

interfaceSerial0

ipaddress172.31.1.1255.255.255.0

encapsulationframe-relay

ipsummary-addresseigrp110.1.0.0255.255.0.05

frame-relaymapip172.31.1.3111broadcast

noframe-relayinverse-arp

!

interfaceSerial1

ipaddress10.1.0.1255.255.255.0

clockrate64000

!

routereigrp1

network10.1.0.00.0.255.255

network172.31.1.00.0.0.255

noauto-summary

!

noiphttpserver

ipclassless

!

!

!

!

linecon0

exec-timeout00

loggingsynchronous

lineaux0

linevty04

!

!

End

P1R2:

hostnameP1R2

!

boot-start-marker

boot-end-marker

!

!

noaaanew-model

ipsubnet-zero

noipdomainlookup

!

!

!

!

interfaceEthernet0

ipaddress10.1.2.2255.255.255.0

ipsummary-addresseigrp10.0.0.00.0.0.05

!

interfaceSerial0

ipaddress172.31.1.2255.255.255.0

encapsulationframe-relay

ipsummary-addresseigrp110.1.0.0255.255.0.05

frame-relaymapip172.31.1.3112broadcast

noframe-relayinverse-arp

!

interfaceSerial1

ipaddress10.1.0.2255.255.255.0

!

routereigrp1

network10.1.0.00.0.255.255

network172.31.1.00.0.0.255

noauto-summary

!

noiphttpserver

ipclassless

!

!

!

!

linecon0

exec-timeout300

loggingsynchronous

lineaux0

linevty04

!

!

End

P1R3:

hostnameP1R3

!

boot-start-marker

boot-end-marker

!

!

noaaanew-model

ipsubnet-zero

noipdomainlookup

!

!

!

!

interfaceEthernet0

ipaddress10.1.1.3255.255.255.0

!

interfaceSerial0

ipaddress10.1.3.3255.255.255.0

clockrate64000

!

interfaceSerial1

noipaddress

shutdown

!

routereigrp1

network10.1.0.00.0.255.255

auto-summary

eigrpstubconnectedsummary

!

noiphttpserver

ipclassless

!

!

!

!

linecon0

exec-timeout300

loggingsynchronous

lineaux0

linevty04

login

!

!

End

P1R4:

hostnameP1R4

!

boot-start-marker

boot-end-marker

!

!

noaaanew-model

ipsubnet-zero

noipdomainlookup

!

!

!

!

interfaceEthernet0

ipaddress10.1.2.4255.255.255.0

!

interfaceSerial0

ipaddress10.1.3.4255.255.255.0

!

interfaceSerial1

noipaddress

!

routereigrp1

network10.1.0.00.0.255.255

auto-summary

eigrpstubconnectedsummary

!

noiphttpserver

ipclassless

!

!

!

!

linecon0

exec-timeout00

loggingsynchronous

lineaux0

linevty04

!

!

end

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > PPT模板 > 动物植物

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1