CCNP-EIGRP 实验.doc_第1页
CCNP-EIGRP 实验.doc_第2页
CCNP-EIGRP 实验.doc_第3页
CCNP-EIGRP 实验.doc_第4页
CCNP-EIGRP 实验.doc_第5页
已阅读5页,还剩24页未读, 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

CCNP-EIGRP实验报告CCNPEIGRP实验MatrixQQ:42194766EMAIL:M目录1 实验拓扑42 实验配置42.1 路由器R1上的配置42.2 路由器R2上的配置52.3 路由器R3上的配置52.4 路由器R4上的配置62.5 路由器R5上的配置82.6 帧中继交换机FR1上的配置92.7 虚拟终端机C1上的配置93 实验任务一:通过bandwidth控制路由选择93.1 实验思路93.2 实验配置103.3 实验验证103.4 实验结论114 实验任务二:使用passive interfaces配置,降低网络负载114.1 实验思路114.2 实验配置114.2.1 在路由器R1上的配置114.2.2 在路由器R3上的配置114.2.3 在路由器R4上的配置124.2.4 在路由器R5上的配置124.3 实验验证124.3.1 在路由器R1上的实验验证124.3.2 在路由器R3上的实验验证134.3.3 在路由器R4上的实验验证134.3.4 在路由器R5上的实验验证144.4 实验结论145 实验任务三:缺省路由145.1 实验思路145.2 实验配置155.2.1 在路由器R1上的配置155.2.2 在路由器R2上的配置155.3 实验验证155.4 实验结论166 实验任务四:路由手工汇总166.1 实验思路166.2 实验配置176.3 实验验证176.4 实验结论187 实验任务五:对称负载均衡187.1 实验思路187.2 实验配置187.3 实验验证187.4 实验结论:198 实验任务六:非对称负载均衡198.1 实验思路208.2 实验配置208.3 实验验证208.4 实验结论219 实验任务七:身份验证219.1 实验思路219.2 实验配置229.2.1 在路由器R1上的配置229.2.2 在路由器R2上的配置229.3 实验验证229.3.1 在路由器R1上的实验验证229.3.2 在路由器R2上的实验验证2310 实验任务十:stub routers2310.1 状态receive-only测试2310.1.1 实验思路2310.1.2 实验配置2410.1.3 实验验证2410.1.4 实验结论2410.2 状态connected测试2510.2.1 实验思路2510.2.2 实验配置2510.2.3 实验验证2510.2.4 实验结论2610.3 状态static测试2610.3.1 实验思路2610.3.2 实验配置2710.3.3 实验验证2710.3.4 实验结论2710.4 状态summary测试2810.4.1 实验思路2810.4.2 实验配置2810.4.3 实验验证2810.4.4 实验结论291 实验拓扑2 实验配置2.1 路由器R1上的配置RouterenRouter#conf tRouter(config)#hostname R1R1(config)#int s0/0R1(config-if)#ip add 52R1(config-if)#no shutR1(config-if)#exitR1(config)#int f1/0R1(config-if)#ip add 52R1(config-if)#no shutR1(config-if)#exitR1(config)#router eigrp 110R1(config-router)#no autoR1(config-router)#network R1(config-router)#network R1(config-router)#endR1#copy run start2.2 路由器R2上的配置RouterenRouter#conf tRouter(config)#hostname R2R2(config)#int s0/0R2(config-if)#encapsulation frame-relayR2(config-if)#no shutR2(config-if)#int s0/0.1 point-to-pointR2(config-subif)#ip address 52R2(config-subif)#frame-relay interface-dlci 101R2(config-subif)#no shutR2(config-subif)#exitR2(config)#int s0/0R2(config-if)#int s0/0.2 point-to-pointR2(config-subif)#ip address 52R2(config-subif)#frame-relay interface-dlci 102R2(config-subif)#no shutR2(config-subif)#exitR2(config)#int s0/0R2(config-if)#int s0/0.3 point-to-pointR2(config-subif)#ip address 52R2(config-subif)#frame-relay interface-dlci 103R2(config-subif)#no shutR2(config-subif)#exitR2(config)#int s0/1R2(config-if)#ip address 52R2(config-if)#no shutR2(config-if)#exitR2(config)#router eigrp 110R2(config-router)#no autoR2(config-router)#network R2(config-router)#network R2(config-router)#network R2(config-router)#network R2(config-router)#endR2#copy run start2.3 路由器R3上的配置RouterenRouter#conf tRouter(config)#hostname R3R3(config)#int loopback1R3(config-if)#ip address 40R3(config-if)#no shutR3(config-if)#exitR3(config)#int loopback2R3(config-if)#ip address 7 40R3(config-if)#no shutR3(config-if)#exitR3(config)#int loopback3R3(config-if)#ip address 3 40R3(config-if)#no shutR3(config-if)#exitR3(config)#int s0/1R3(config-if)#ip address 52R3(config-if)#no shutR3(config-if)#exitR3(config)#int s0/0R3(config-if)#encapsulation frame-relayR3(config-if)#ip address 52R3(config-if)#frame-relay interface-dlci 202R3(config-if)#no shutR3(config-if)#exitR3(config)#router eigrp 110R3(config-router)#no autoR3(config-router)#network R3(config-router)#network 172.16.1 0 R3(config-router)#network 5R3(config-router)#network 6 5R3(config-router)#network 2 5R3(config-router)#endR3#copy run start2.4 路由器R4上的配置RouterenRouter#conf tRouter(config)#hostname R4R4(config)#int loopback1R4 (config-if)#ip address 40R4 (config-if)#no shutR4 (config-if)#exitR4 (config)#int loopback2R4 (config-if)#ip address 7 40R4 (config-if)#no shutR4 (config-if)#exitR4 (config)#int loopback3R4 (config-if)#ip address 3 40R4 (config-if)#no shutR4 (config-if)#exitR4 (config)#int s0/1R4 (config-if)#ip address 52R4 (config-if)#no shutR4 (config-if)#exitR4 (config)#int s0/2R4 (config-if)#ip address 52R4 (config-if)#no shutR4 (config-if)#exitR4 (config)#int s0/0R4 (config-if)#encapsulation frame-relayR4 (config-if)#ip address 52R4 (config-if)#frame-relay interface-dlci 303R4 (config-if)#no shutR4 (config-if)#exitR4 (config)#router eigrp 110R4 (config-router)#no autoR4 (config-router)#network R4 (config-router)#network R4 (config-router)#network R4 (config-router)#network 5R4 (config-router)#network 6 5R4 (config-router)#network 2 5R4 (config-router)#endR4#copy run start2.5 路由器R5上的配置RouterenRouter#conf tRouter(config)#hostname R5R5(config)#int loopback1R5 (config-if)#ip address 40R5 (config-if)#no shutR5 (config-if)#exitR5 (config)#int loopback2R5 (config-if)#ip address 7 40R5 (config-if)#no shutR5 (config-if)#exitR5 (config)#int loopback3R5 (config-if)#ip address 3 40R5 (config-if)#no shutR5 (config-if)#exitR5 (config)#int s0/1R5 (config-if)#ip address 52R5 (config-if)#no shutR5 (config-if)#exitR5 (config)#int s0/0R5 (config-if)#encapsulation frame-relayR5 (config-if)#ip address 0 52R5 (config-if)#frame-relay interface-dlci 404R5 (config-if)#no shutR5 (config-if)#exitR5 (config)#router eigrp 110R5 (config-router)#no autoR5 (config-router)#network R5 (config-router)#network R5 (config-router)#network 5R5 (config-router)#network 6 5R5 (config-router)#network 2 5R5 (config-router)#endR5#copy run start2.6 帧中继交换机FR1上的配置2.7 虚拟终端机C1上的配置3 实验任务一:通过bandwidth控制路由选择3.1 实验思路如下图所示,路由器R4上到达网段/30是通过接口s0/0。在路由器R4的接口上配置bandwidth,使到达网段网段/30的路由改为通过接口s0/1。3.2 实验配置R4enR4#conf tR4(config)#int s0/0R4(config-if)#bandwidth 64R4(config-if)#no shutR4(config-if)#exitR4(config)#int s0/2R4(config-if)#bandwidth 64R4(config-if)#no shutR4(config-if)#exit3.3 实验验证R4#sh ip route eigrp 3.4 实验结论通过设置bandwidth,改变了metric值,最终达到了控制路由选择的目的。4 实验任务二:使用passive interfaces配置,降低网络负载4.1 实验思路将直连主机的接口配置为passive interfaces,将不再通过这些接口发送hello包,降低网络负载4.2 实验配置4.2.1 在路由器R1上的配置R1enR1#conf tR1(config)#router eigrp 110R1(config-router)#passive-interface defaultR1(config-router)#no passive-interface s0/0R1(config-router)#endR1#copy run start4.2.2 在路由器R3上的配置R3enR3#conf tR3(config)#router eigrp 110R3(config-router)#passive-interface defaultR3(config-router)#no passive-interface s0/0R3(config-router)#no passive-interface s0/1R3(config-router)#endR3#copy run start4.2.3 在路由器R4上的配置R4enR4#conf tR4(config)#router eigrp 110R4(config-router)#passive-interface defaultR4(config-router)#no passive-interface s0/0R4(config-router)#no passive-interface s0/1R4(config-router)#no passive-interface s0/2R4(config-router)#endR4#copy run start4.2.4 在路由器R5上的配置R5enR5#conf tR5(config)#router eigrp 110R5(config-router)#passive-interface defaultR5(config-router)#no passive-interface s0/0R5(config-router)#no passive-interface s0/1R5(config-router)#endR5#copy run start4.3 实验验证4.3.1 在路由器R1上的实验验证R1#sh ip pro4.3.2 在路由器R3上的实验验证R3#sh ip pro4.3.3 在路由器R4上的实验验证R4#sh ip pro4.3.4 在路由器R5上的实验验证R5#sh ip pro4.4 实验结论通过passive interfaces设置,将路由器R1上的f1/0,R3上的loopback1、loopback2、loopback3,R4上的loopback1、loopback2、loopback3,R5上的loopback1、loopback2、loopback3等接口设置为passive interface,不在这些接口发送hello包等EIGRP数据包,达到降低网络负载的目的。5 实验任务三:缺省路由5.1 实验思路将路由器R1与R2的邻居关系断开,在路由器R2上做缺省路由,让R3、R4、R5学习到缺省路由,并可以访问R1。5.2 实验配置5.2.1 在路由器R1上的配置R1enR1#conf tR1(config)#no router eigrp 110R1(config)#ip route s0/0R1(config)#endR1#copy run start5.2.2 在路由器R2上的配置R2enR2#conf tR2(config)#ip default network /ip default-network是一个classful命令R2(config)#ip route 52 s0/1R2(config)#endR2#copy run start5.3 实验验证在路由器R3上验证R3#sh ip route5.4 实验结论通过在R2上配置ip default-network,成功的让整个自治系统中所有的路由器学习到了一条缺省路由,简化了配置和管理。在配置过程中需要注意的是ip default-network是一个classful命令,以此配置为例,即默认16为A类地址,带有掩码。ip default-network设置的网段必须在eigrp中宣告这一网段,其他路由器才能通过EIGRP学习到这条缺省路由。6 实验任务四:路由手工汇总6.1 实验思路在路由器R2上做路由手工汇总,减少用于路由更新的数据传输,减轻网络负载。汇总前R1上有关EIGRP的路由表如下图示:6.2 实验配置在路由器R2上配置R2enR2#conf tR2(config)#int s0/1R2(config-if)#ip summary-address eigrp 110 92R2(config-if)#ip summary-address eigrp 110 92R2(config-if)#ip summary-address eigrp 110 92R2(config-if)#ip summary-address eigrp 110 40 R2(config-if)#endR2#copy run start6.3 实验验证在路由器R1上验证R1#sh ip route eigrp6.4 实验结论对比手工汇总前后路由器R1上的路由表,可以看到R1通过EIGRP学习到的路由明显减少,减轻了网络对于EIGRP路由更新的负载。7 实验任务五:对称负载均衡7.1 实验思路通过在路由器R2上配置maximum-paths,实现对称负载均衡。(因为Maximum-paths默认为4,所以先关闭负载均衡,查看路由表,再打开,对比路由表的变化)7.2 实验配置在路由器R2上配置R2enR2#conf tR2(config)#router eigrp 110R2(config)#maximum-paths 1R2(config)#endR2#sh ip route eigrpR2#conf tR2(config)#router eigrp 110R2(config)#maximum-paths 2R2(config)#endR2#sh ip route eigrpR2#copy start run7.3 实验验证当配置maximum-paths为1(即关闭负载均衡)时,路由表如下图示:当配置maximum-paths为2(即关闭负载均衡)时,路由表如下图示7.4 实验结论:对比路由表可知,当配置maximum-paths为2后,R2到达网段/30和/30的路由均为2条,实现了负载均衡。8 实验任务六:非对称负载均衡8.1 实验思路在路由器R2上修改R2到R3和R2到R4的bandwidth,使两段链接metric值不相等。再配置variance,实现非对称负载均衡。8.2 实验配置在路由器R2上配置R2enR2#conf tR2(config)#int s0/0.1R2(config-subif)#bandwidth 256R2(config-subif)#exitR2(config)# int s0/0.2R2(config-subif)#bandwidth 128R2(config-subif)#exitR2(config)#router eigrp 110R2(config-router)#maximum 4R2(config-router)#variance 8R2(config-router)#endR2#copy run start8.3 实验验证当配置maximum-paths为4,variance为8时,路由表如下图示:8.4 实验结论在修改了R2到R3和R2到R4的bandwidth之后,由路由表可知,当配置maximum-paths为4,variance为8后,R2到达网段/30的路由为FD值不同的3条路由,实现了非对称负载均衡。9 实验任务七:身份验证9.1 实验思路在路由器R1和R2上配置keychain,使用md5加密方式进行身份验证。9.2 实验配置9.2.1 在路由器R1上的配置R1enR1#conf tR1(config)#key chain R1KeyChainR1(config-keychain)#key 1R1(config- keychain-key)#key-string cisco1R1(config- keychain-key)#exitR1(config-keychain)#key 2R1(config- keychain-key)#key-string cisco2R1(config- keychain-key)#exitR1(config-keychain)#exitR1(config)#int s0/0R1(config-if)#ip authentication mode eigrp 110 md5R1(config-if)#ip authentication key-chain eigrp 110 R1KeyChainR1(config-if)#endR1#copy run start9.2.2 在路由器R2上的配置R2enR2#conf tR2(config)#key chain R2KeyChainR2(config-keychain)#key 1R2(config- keychain-key)#key-string cisco1R2(config- keychain-key)#exitR2(config-keychain)#key 2R2(config- keychain-key)#key-string cisco2R2(config- keychain-key)#exitR2(config-keychain)#exitR2(config)#int s0/1R2(config-if)#ip authentication mode eigrp 110 md5R2(config-if)#ip authentication key-chain eigrp 110 R2KeyChainR2(config-if)#endR2#copy run start9.3 实验验证9.3.1 在路由器R1上的实验验证R1#sh key chainR1#debug eigrp packets9.3.2 在路由器R2上的实验验证R2#sh key chainR2#debug eigrp packets10 实验任务十:stub routers10.1 状态receive-only测试10.1.1 实验思路将路由器R3配置为stub router,且状态为receive-only,其他路由器将无法学习到在R3上声明的网络/28, 6/28, 2/28。10.1.2 实验配置在路由器R3上的配置R3enR3#conf tR3(config)#router eigrp 110R3(config-router)#eigrp stub receive-onlyR3(config-router)#endR3#copy run start10.1.3 实验验证在路由器R2上的实验验证R2#sh ip route eigrp10.1.4 实验结论由R2上的路由信息可知,路由器R3设置为stub router,且状态设置为receive-only后,其他路由器无法学习到在R3上声明的网络/28, 6/28, 2/28。10.2 状态connected测试10.2.1 实验思路在上一个实验的基础上将路由器R3的状态改为connected,其他路由器将可以重新学习到在R3上声明的网络/28, 6/28, 2/28。10.2.2 实验配置在路由器R3上的配置R3enR3#conf tR3(config)#router eigrp 110R3(config-router)#eigrp stub connectedR3(config-router)#endR3#copy run start10.2.3 实验验证在路由器R2上的实验验证R2#sh ip route eigrp10.2.4 实验结论由R2上的路由信息可知,路由器R3状态改为connected后,其他路由器将可以重新学习到在R3上声明的网络19

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论