ImageVerifierCode 换一换
格式:DOC , 页数:19 ,大小:580.50KB ,
资源ID:7666854      下载积分:10 金币
验证码下载
登录下载
邮箱/手机:
图形码:
验证码: 获取验证码
温馨提示:
支付成功后,系统会自动生成账号(用户名为邮箱或者手机号,密码是验证码),方便下次登录下载和查询订单;
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝    微信支付   
验证码:   换一换

开通VIP
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【https://www.zixin.com.cn/docdown/7666854.html】到电脑端继续下载(重复下载【60天内】不扣币)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录   QQ登录  

开通VIP折扣优惠下载文档

            查看会员权益                  [ 下载后找不到文档?]

填表反馈(24小时):  下载求助     关注领币    退款申请

开具发票请登录PC端进行申请。


权利声明

1、咨信平台为文档C2C交易模式,即用户上传的文档直接被用户下载,收益归上传人(含作者)所有;本站仅是提供信息存储空间和展示预览,仅对用户上传内容的表现方式做保护处理,对上载内容不做任何修改或编辑。所展示的作品文档包括内容和图片全部来源于网络用户和作者上传投稿,我们不确定上传用户享有完全著作权,根据《信息网络传播权保护条例》,如果侵犯了您的版权、权益或隐私,请联系我们,核实后会尽快下架及时删除,并可随时和客服了解处理情况,尊重保护知识产权我们共同努力。
2、文档的总页数、文档格式和文档大小以系统显示为准(内容中显示的页数不一定正确),网站客服只以系统显示的页数、文件格式、文档大小作为仲裁依据,个别因单元格分列造成显示页码不一将协商解决,平台无法对文档的真实性、完整性、权威性、准确性、专业性及其观点立场做任何保证或承诺,下载前须认真查看,确认无误后再购买,务必慎重购买;若有违法违纪将进行移交司法处理,若涉侵权平台将进行基本处罚并下架。
3、本站所有内容均由用户上传,付费前请自行鉴别,如您付费,意味着您已接受本站规则且自行承担风险,本站不进行额外附加服务,虚拟产品一经售出概不退款(未进行购买下载可退充值款),文档一经付费(服务费)、不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
4、如你看到网页展示的文档有www.zixin.com.cn水印,是因预览和防盗链等技术需要对页面进行转换压缩成图而已,我们并不对上传的文档进行任何编辑或修改,文档下载后都不会有水印标识(原文档上传前个别存留的除外),下载后原文更清晰;试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓;PPT和DOC文档可被视为“模板”,允许上传人保留章节、目录结构的情况下删减部份的内容;PDF文档不管是原文档转换或图片扫描而得,本站不作要求视为允许,下载前可先查看【教您几个在下载文档中可以更好的避免被坑】。
5、本文档所展示的图片、画像、字体、音乐的版权可能需版权方额外授权,请谨慎使用;网站提供的党政主题相关内容(国旗、国徽、党徽--等)目的在于配合国家政策宣传,仅限个人学习分享使用,禁止用于任何广告和商用目的。
6、文档遇到问题,请及时联系平台进行协调解决,联系【微信客服】、【QQ客服】,若有其他问题请点击或扫码反馈【服务填表】;文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“【版权申诉】”,意见反馈和侵权处理邮箱:1219186828@qq.com;也可以拔打客服电话:4009-655-100;投诉/维权电话:18658249818。

注意事项

本文(路由交换实验.doc)为本站上传会员【xrp****65】主动上传,咨信网仅是提供信息存储空间和展示预览,仅对用户上传内容的表现方式做保护处理,对上载内容不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知咨信网(发送邮件至1219186828@qq.com、拔打电话4009-655-100或【 微信客服】、【 QQ客服】),核实后会尽快下架及时删除,并可随时和客服了解处理情况,尊重保护知识产权我们共同努力。
温馨提示:如果因为网速或其他原因下载失败请重新下载,重复下载【60天内】不扣币。 服务填表

路由交换实验.doc

1、 (一)静态路由: 配置:我们要使1.1.1.0/24,2.2.2.0/24和3.3.3.0/24网络能够互相通信,按如下所述操作。 (1)步骤1:在各路由器上IP地址,保证直连链路的连通性 R1(config)#int loopback0 R1(config-if)#ip address 1.1.1.1 255.255.255.0 R1(config)#int s0/0 R1(config-if)#ip address 192.168.12.1 255.255.255.0 R1(config-if)#no shutdown R2(config)

2、int loopback0 R2(config-if)#ip address 2.2.2.2 255.255.255.0 R2(config)#int s0/1 R2(config-if)#ip address 192.168.12.2 255.255.255.0 R2(config-if)#no shutdown R2(config)#int s0/0 R2(config-if)#ip address 192.168.23.2 255.255.255.0 R2(config-if)#no shutdown R3(config)#int loopb

3、ack0 R3(config-if)#ip address 3.3.3.3 255.255.255.0 R3(config)#int s0/1 R3(config-if)#ip address 192.168.23.3 255.255.255.0 R3(config-if)#no shutdown (2)步骤2:在R1上配置静态路由 R1(config)#ip route 2.2.2.0 255.255.255.0 192.168.12.2 R1(config)#ip route 3.3.3.0 255.255.255.0 192.168.12.2

4、//下一跳为IP地址形式,192.168.12.2是R2上的IP地址 (3)步骤3:在R2上配置静态路由 R2(config)#ip route 1.1.1.0 255.255.255.0 192.168.12.1 R2(config)#ip route 3.3.3.0 255.255.255.0 192.168.23.3 (4)步骤4:在R3上配置静态路由 R3(config)#ip route 1.1.1.0 255.255.255.0 192.168.23.2 R3(config)#ip route 2.2.2.0 255.255.255.0 192.168.23.2

5、 查看: R1 R2 R3 上面: R1#show ip route R2#show ip route R3#show ip route 验证: R1#ping 2.2.2.2 source loopback 0 R1#ping 3.3.3.3 source loopback 0 R2#ping 1.1.1.1 source loopback 0 R2#ping 3.3.3.3 source loopback 0 R3#ping 1.1.1.1 source loopback 0 R3#ping 2.2.2.2 s

6、ource loopback 0 实验2:默认路由 (1)步骤1:在各路由器上IP地址,保证直连链路的连通性 R1(config)#int loopback0 R1(config-if)#ip address 1.1.1.1 255.255.255.0 R1(config)#int s0/0 R1(config-if)#ip address 192.168.12.1 255.255.255.0 R1(config-if)#no shutdown R2(config)#int loopback0 R2(conf

7、ig-if)#ip address 2.2.2.2 255.255.255.0 R2(config)#int s0/1 R2(config-if)#ip address 192.168.12.2 255.255.255.0 R2(config-if)#no shutdown R2(config)#int s0/0 R2(config-if)#ip address 192.168.23.2 255.255.255.0 R2(config-if)#no shutdown R3(config)#int loopback0 R3(config-if)#

8、ip address 3.3.3.3 255.255.255.0 R3(config)#int s0/1 R3(config-if)#ip address 192.168.23.3 255.255.255.0 R3(config-if)#no shutdown (2):静态路由: R1(config)#ip route 0.0.0.0 0.0.0.0 192.168.12.2 (下一跳为对端接口地址) R2(config)#ip route 1.1.1.0 255.255.255.0 192.168.12.1 R2(config)#ip route 3.3.3.0

9、 255.255.255.0 192.168.23.3 R3(config)#ip route 0.0.0.0 0.0.0.0 192.168.23.2 验证: R1# ping 3.3.3.3 source loo0 实验3: rip 基本底层配置: R1(config)#int loopback0 R1(config-if)#ip address 1.1.1.1 255.255.255.0 R1(config)#int s0/0 R1(config-if)#ip address 192.168.12.1 255.255.255

10、0 R1(config-if)#no shutdown R2(config)#int loopback0 R2(config-if)#ip address 2.2.2.2 255.255.255.0 R2(config)#int s0/1 R2(config-if)#ip address 192.168.12.2 255.255.255.0 R2(config-if)#no shutdown R2(config)#int s0/0 R2(config-if)#ip address 192.168.23.2 255.255.255.0 R2(

11、config-if)#no shutdown R3(config)#int loopback 0 R3(config-if)#ip address 3.3.3.3 255.255.255.0 R3(config)#int s0/1 R3(config-if)#ip address 192.168.23.3 255.255.255.0 R3(config-if)#no shutdown R3(config)#int s0/0 R3(config-if)#ip address 192.168.34.3 255.255.255.0 R3(con

12、fig-if)#no shutdown R4(config)#int loopback 0 R4(config-if)#ip address 4.4.4.4 255.255.255.0 R4(config)#int s0/1 R4(config-if)#ip address 192.168.34.4 255.255.255.0 R4(config-if)#no shutdown (1) 步骤1:配置路由器R1 R1(config)#router rip R1(config-router

13、)#version 2 R1(config-router)#no auto-summary R1(config-router)#network 1.0.0.0 R1(config-router)#network 192.168.12.0 (2)步骤2:配置路由器R2 R2(config)#router rip R2(config-router)#version 2 R3(config-router)#no auto-summary R2(config-router)#network 2.0.0.0 R2(config-router)#net

14、work 192.168.12.0 R2(config-router)#network 192.168.23.0 (3)步骤3:配置路由器R3 R3(config)#router rip R3(config-router)#version 2 R3(config-router)#no auto-summary R3(config-router)#network 3.0.0.0 R3(config-router)#network 192.168.23.0 R3(config-router)#network 192.168.34.0 (4)步骤4:配

15、置路由器R4 R4(config)#router rip R4(config-router)#version 2 R4(config-router)#no auto-summary R4(config-router)#network 192.168.34.0 R4(config-router)#network 4.0.0.0 验证: 查看:R1 上面 show ip route 有 R 4.4.4.0/24 [120/3] via 192.168.12.2, 00;00;22, Serial0/0 R 192.168.23.0/24

16、[120/1] via 192.168.12.2, 00;00;22, Serial0/0 R 192.168.34.0/24 [120/2] via 192.168.12.2, 00;00;22, Serial0/0 或 R1# ping 4.4.4.4 soure loo0 出现: !!!!! Ok了 实验4 单区域OSPF 基本底层配置: R1(config)#int loopback0 R1(config-if)#ip address 1.1.1.1 255.255.255.0 R1(config)#int s0/0 R1

17、config-if)#ip address 192.168.12.1 255.255.255.0 R1(config-if)#no shutdown R2(config)#int loopback0 R2(config-if)#ip address 2.2.2.2 255.255.255.0 R2(config)#int s0/1 R2(config-if)#ip address 192.168.12.2 255.255.255.0 R2(config-if)#no shutdown R2(config)#int s0/0 R2(config

18、if)#ip address 192.168.23.2 255.255.255.0 R2(config-if)#no shutdown R3(config)#int loopback 0 R3(config-if)#ip address 3.3.3.3 255.255.255.0 R3(config)#int s0/1 R3(config-if)#ip address 192.168.23.3 255.255.255.0 R3(config-if)#no shutdown R3(config)#int s0/0 R3(config-if

19、)#ip address 192.168.34.3 255.255.255.0 R3(config-if)#no shutdown R4(config)#int loopback 0 R4(config-if)#ip address 4.4.4.4 255.255.255.0 R4(config)#int s0/1 R4(config-if)#ip address 192.168.34.4 255.255.255.0 R4(config-if)#no shutdown 2.起路由进程 ospf (1)步骤1:配置路由器R1 R1(c

20、onfig)#router ospf 1 R1(config-router)#router-id 1.1.1.1 R1(config-router)#network 1.1.1.0 255.255.255.0 area 0 R1(config-router)#network 192.168.12.0 255.255.255.0 area 0 (2)步骤2:配置路由器R2 R2(config)#router ospf 1 R2(config-router)#router-id 2.2.2.2 R2(config-router)#network 192.168.

21、12.0 255.255.255.0 area 0 R2(config-router)#network 192.168.23.0 255.255.255.0 area 0 R2(config-router)#network 2.2.2.0 255.255.255.0 area 0 (3)步骤3:配置路由器R3 R3(config)#router ospf 1 R3(config-router)#router-id 3.3.3.3 R3(config-router)#network 192.168.23.0 255.255.255.0 area 0 R3(c

22、onfig-router)#network 192.168.34.0 255.255.255.0 area 0 R3(config-router)#network 3.3.3.0 255.255.255.0 area 0 (4)步骤4:配置路由器R4 R4(config)#router ospf 1 R4(config-router)#router-id 4.4.4.4 R4(config-router)#network 4.4.4.0 255.255.255.0 area 0 R4(config-router)#network 192.168.34.0 25

23、5.255.255.0 area 0 验证: 每台路由器上 R# show ip route 能看到4条环回口地址路由: C 192.168.12.0/24 is directly connected, Serial0/0/0 1.0.0.0/32 is subnetted, 1 subnets O 1.1.1.1 [110/65] via 192.168.12.1, 00;07;27, Serial0/0/0 2.0.0.0/24 is subnetted, 1 subnets C 2.2.2.0 is di

24、rectly connected, Loopback0 3.0.0.0/32 is subnetted, 1 subnets O 3.3.3.3 [110/65] via 192.168.23.2, 00;07;27, Serial0/0/1 4.0.0.0/32 is subnetted, 1 subnets O 4.4.4.4 [110/129] via 192.168.23.2, 00;07;27, Serial0/0/1 C 192.168.23.0/24 is directly connected, Serial0/0/1

25、 O 192.168.34.0/24 [110/128] via 192.168.23.2, 00;07;27, Serial0/0/1 或者 R1# ping 4.4.4.4 source loo0 !!!!!(出现感叹号) 实验5 广播多路访问链路上的OSPF 基本底层配置: R1(config)#int loopback0 R1(config-if)#ip address 1.1.1.1 255.255.255.0 R1(config)#int e0/0 R1(config-if)#i

26、p address 192.168.1.1 255.255.255.0 R1(config-if)#no shutdown R2(config)#int loopback0 R2(config-if)#ip address 2.2.2.2 255.255.255.0 R2(config)#int e0/0 R2(config-if)#ip address 192.168.1.2 255.255.255.0 R2(config-if)#no shutdown R3(config)#int loopback 0 R3(c

27、onfig-if)#ip address 3.3.3.3 255.255.255.0 R3(config)#int e0/0 R3(config-if)#ip address 192.168.1.3 255.255.255.0 R3(config-if)#no shutdown R4(config)#int loopback 0 R4(config-if)#ip address 4.4.4.4 255.255.255.0 R4(config)#int e0/0 R4(config-if)#ip address 192.168.1.4

28、 255.255.255.0 R4(config-if)#no shutdown .实验步骤1:配置路由器R1 R1(config)#router ospf 1 R1(config-router)#router-id 1.1.1.1 R1(config-router)#network 1.1.1.0 255.255.255.0 area 0 R1(config-router)#network 192.168.1.0 255.255.255.0 area 0 (2)步骤2:配置路由器R2 R2(config)#router ospf 1 R2(config-ro

29、uter)#router-id 2.2.2.2 R2(config-router)#network 192.168.1.0 255.255.255.0 area 0 (3)步骤3:配置路由器R3 R3(config)#router ospf 1 R3(config-router)#router-id 3.3.3.3 R3(config-router)#network 192.168.1.0 255.255.255.0 area 0 (4)步骤4:配置路由器R4 R4(config)#router ospf 1 R4(config-router)#router-id 4.4.4.

30、4 R4(config-router)#network 4.4.4.0 255.255.255.0 area 0 R4(config-router)#network 192.168.1.0 255.255.255.0 area 0 验证:查看 (1)show ip ospf neighbor R1#show ip ospf neighbor Neighbor ID Pri State Dead Time Address Interface 2.2.2.2 1

31、 FULL/BDR 00;00;37 192.168.1.2 Ethernet0/0 3.3.3.3 1 FULL/DROTHER 00;00;37 192.168.1.3 Ethernet0/0 4.4.4.4 1 FULL/DROTHER 00;00;34 192.168.1.4 Ethernet0/0 ***切换DR : 接口下面:不参与DR BDR 选取: R1(config)#int e0/0 R1(config-if)#ip os priori

32、ty 0 R3 选为 DR R3(config)#int e0/0 R3(config-if)#ip os priority 3 /(优先级调高) 配完后 四台路由器: R1/R2/R3/R4 同时 :R# clear ip ospf process R# 。。。。。。。。? (no) 敲 :y 实验6 area 0 区域验证 (1)步骤1:在各路由器上IP地址,保证直连链路的连通性 R1(config)#int loopba

33、ck0 R1(config-if)#ip address 1.1.1.1 255.255.255.0 R1(config)#int s0/0 R1(config-if)#ip address 192.168.12.1 255.255.255.0 R1(config-if)#no shutdown R2(config)#int loopback0 R2(config-if)#ip address 2.2.2.2 255.255.255.0 R2(config)#int s0/1 R2(config-if)#ip address

34、192.168.12.2 255.255.255.0 R2(config-if)#no shutdown (1)步骤1:配置路由器R1 R1(config)#router ospf 1 R1(config-router)#router-id 1.1.1.1 R1(config-router)#network 192.168.12.0 255.255.255.0 area 0 R1(config-router)#network 1.1.1.0 255.255.255.0 area 0 R1(config-router)#area 0 authentication //区域

35、0启用简单口令认证 R1(config)#interface s0/0 R1(config-if)#ip ospf authentication-key cisco //配置认证密码.cisco 两端必须一样 (2)步骤2:配置路由器R2 R2(config)#router ospf 1 R2(config-router)#router-id 2.2.2.2 R2(config-router)#network 2.2.2.0 255.255.255.0 area 0 R2(config-router)#network 192.168.12.0 255.255.255.0 a

36、rea 0 R2(config-router)#area 0 authentication R2(config)#interface s0/1 R2(config-if)#ip ospf authentication-key cisco 验证: R1# show ip ospf nei 有邻居 R1#show ip ospf neighbor Neighbor ID Pri State Dead Time Address Interface 2.2.2.2 1 FULL/

37、BDR 00;00;37 192.168.1.2 Ethernet0/0 实验7 dhcp 交换机/ 路由器 打开! R1(config)#int e0/0 R1(config-if)#ip address 192.168.1.1 255.255.255.0 R1(config-if)#no shutdown R1: R1(config)#ip dhcp pool ccie //定义地址池 R1(dhcp-config)#network 192.168.1.0 25

38、5.255.255.0 //DHCP服务器要分配的网络和掩码 R1(dhcp-config)#default-router 192.168.1.1 R1(dhcp-config)#lease infinite //定义租期 Pc1 Pc 2 配完点 添加 ———> 点ok 进入软件vpcs Show 查看 敲1 进入pc1 敲2 进入 pc2 1> Dhcp 显示ddora 获取 ip地址 2> Dhcp 显示ddora 获取ip 地址 实验8 划分VLAN 实验9

39、 trunk 1.配置路由地址 R1(config-if)#int e0/0 R1(config-if)#ip address 192.168.12.1 255.255.255.0 R1(config-if)#no sh R2(config-if)#int e0/0 R2(config-if)#ip address 192.168.12.2 255.255.255.0 R2(config-if)#no sh R4(config-if)#int e0/0 R4(config-if)#ip address 192.168.12.4 255.255.255.0 R4(

40、config-if)#no sh R5(config-if)#int e0/0 R5(config-if)#ip address 192.168.12.5 255.255.255.0 R5(config-if)#no sh 2.划分vlan R0 R0(config)#vlan 2 R0(config-vlan)#exit R0(config)#int f1/0 R0(config-if)#swi mo acc R0(config-if)#swi acc vlan 2 R0(config)#vlan 3 R0(config-vlan)#exit

41、 R0(config)#int f1/1 R0(config-if)#swi mo acc R0(config-if)#swi acc vlan 3 R3 R3(config)#vlan 2 R3(config-vlan)#exit R3(config)#int f1/0 R3(config-if)#swi mo acc R3(config-if)#swi acc vlan 2 R3(config)#vlan 3 R3(config-vlan)#exit R3(config)#int f1/1 R3(config-if)#swi mo acc R3(config-

42、if)#swi acc vlan 3 3.交换机间的trunk R0(config)#int f1/2 R0(config-if)#switchport trunk encapsulation dot1q R0(config-if)#switch mode trunk R3(config)#int f1/2 R3(config-if)#switchport trunk encapsulation dot1q R3(config-if)#switch mode trunk 验证: 先R0上 R0# show int trun R

43、0#show int trun Port Mode Encapsulation Status Native vlan Fa1/2 on 802.1q trunking 1 显示 trunking 验证 R1# ping 192.168.12.4 !!!! R2# ping 192.168.12.5 !!!!! 实验10 vtp 3)配置S1为VTP server S1(config)#vtp mode server S1(con

44、fig)#vtp domain VTP-TEST S1(config)#vtp password cisco (4)配置S2为VTP transparent S2(config)#vtp mode tran S2(config)#vtp domain VTP-TEST S2(config)#vtp password cisco (5)配置S3为VTP client S2(vlan)#vtp mode client S2(vlan)#vtp domain VTP-TEST S2(config)#vtp password cisco s0(config)#int f1/

45、0 s0(config-if)#switchport trunk encapsulation dot1q s0(config-if)#switch mode trunk s1(config)#int f1/1 s1(config-if)#switchport trunk encapsulation dot1q s1(config-if)#switch mode trunk s1(config)#int f1/0 s1(config-if)#switchport trunk encapsulation dot1q s1(config-if)#switch mode trunk

46、 s2(config)#int f1/1 s2(config-if)#switchport trunk encapsulation dot1q s2(config-if)#switch mode trunk 验证: S1(config)# vlan 2 S1(config)# vlan 3 S1(config-vlan)# exit 查看s1# show vlan 出现添加的vlan S1# show vtp status Configuration Revision ; 2 //修订号为2

47、该数值非常重要 Maximum VLANs supported locally ; 1005 Number of existing VLANs ; 7 //VLAN数量 VTP Operating Mode ; Server //VTP模式 VTP Domain Name ; VTP-TEST //VTP域名 S3上同样show 也会有 实验4:EtherChannel配置 基本配置: S1(config)#interface port-channel 1 S1(con

48、fig)#interface f1/0 S1(config-if)#channel-group 1 mode on S1(config)#interface f1/1 S1(config-if)#channel-group 1 mode on S1(config)#int port-channel 1 S1(config-if)#switchport mode trunk S2(config)#interface port-channel 1 S2(config)#interface f1/0 S2(config-if)#channel-group 1 m

49、ode on S2(config)#interface f1/1 S2(config-if)#channel-group 1 mode on S2(config)#int port-channel 1 S2(config-if)#switchport mode trunk ******S1(config)#port-channel load-balance dst-mac S2(config)#port-channel load-balance dst-mac***** //以上是配置EtherChannel的负载平衡方式,命令格式为”port-channel load-

50、balance method”,负载平衡的方式有:dst-ip、dst-mac、src-dst-ip、src-dst-mac等 (2)查看EtherChannel信息 S1#show etherchannel summary Group Port-channel Protocol Ports ------+-------------+-----------+----------------------------------------------- 1 Po1(SU) - Fa0/13(Pd) Fa0/14(P)

移动网页_全站_页脚广告1

关于我们      便捷服务       自信AI       AI导航        抽奖活动

©2010-2025 宁波自信网络信息技术有限公司  版权所有

客服电话:4009-655-100  投诉/维权电话:18658249818

gongan.png浙公网安备33021202000488号   

icp.png浙ICP备2021020529号-1  |  浙B2-20240490  

关注我们 :微信公众号    抖音    微博    LOFTER 

客服