




已阅读5页,还剩11页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
要求所有计算机、交换机、路由器的接口相互联通。1. 交换机下的计算机在两个网络段,要求划分vlan,要求switchA 和switchB 的f0/5 和f0/6 在vlan 2;routerA:RouterenRouter#config tEnter configuration commands, one per line. End with CNTL/Z.Router(config)#int f0/0Router(config-if)#ip add 10.65.1.2 255.255.0.0Router(config-if)#no shut%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to upRouter(config-if)#int s0/1Router(config-if)#ip add 10.68.1.2 255.255.0.0Router(config-if)#no shut%LINK-5-CHANGED: Interface Serial0/1, changed state to downRouter(config-if)#int f0/1.1Router(config-subif)#enRouter(config-subif)#encapsulation dRouter(config-subif)#encapsulation dot1Q 1Router(config-subif)#ip add 10.66.1.4 255.255.0.0Router(config-subif)#int f0/1.2Router(config-subif)#enRouter(config-subif)#encapsulation dRouter(config-subif)#encapsulation dot1Q 2Router(config-subif)#ip add 10.60.1.4 255.255.0.0Router(config-subif)#int f0/1Router(config-if)#no shut%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up%LINK-5-CHANGED: Interface FastEthernet0/1.1, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1.1, changed state to up%LINK-5-CHANGED: Interface FastEthernet0/1.2, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1.2, changed state to upRouter(config-if)#end%SYS-5-CONFIG_I: Configured from console by consoleRouter#show runBuilding configuration.Current configuration : 940 bytes!version 12.2no service timestamps log datetime msecno service timestamps debug datetime msecno service password-encryption!hostname Router!interface FastEthernet0/0 ip address 10.65.1.2 255.255.0.0 duplex auto speed auto!interface FastEthernet0/1 no ip address duplex auto speed auto!interface FastEthernet0/1.1 encapsulation dot1Q 1 native ip address 10.66.1.4 255.255.0.0!interface FastEthernet0/1.2 encapsulation dot1Q 2 ip address 10.60.1.4 255.255.0.0!interface Serial0/0 no ip address shutdown!interface Serial0/1 ip address 10.68.1.2 255.255.0.0!interface Serial0/2 no ip address shutdown!interface Serial0/3 no ip address shutdown!interface FastEthernet1/0 no ip address duplex auto speed auto shutdown!interface FastEthernet1/1 no ip address duplex auto speed auto shutdown!ip classless!line con 0line vty 0 4 login!endRouter#Router#Router#%LINK-5-CHANGED: Interface Serial0/1, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/1, changed state to upRouter con0 is now availablePress RETURN to get started.RouterB:RouterenRouter#config tEnter configuration commands, one per line. End with CNTL/Z.Router(config)#int s0/0Router(config-if)#ip add 10.78.1.1 255.255.0.0Router(config-if)#clRouter(config-if)#clock rRouter(config-if)#clock rate 64000Router(config-if)#no shut%LINK-5-CHANGED: Interface Serial0/0, changed state to upRouter(config-if)#int f0/0Router(config-if)#%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to upip add 10.69.1.2 255.255.0.0Router(config-if)#no shut%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to upRouter(config-if)#int f0/1Router(config-if)#ip add 10.70.1.2 255.255.0.0Router(config-if)#no shut%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to uprouterC:RouterenRouter#config tEnter configuration commands, one per line. End with CNTL/Z.Router(config)#int s0/0Router(config-if)#ip add 10.68.1.1 255.255.0.0Router(config-if)#clRouter(config-if)#clock rRouter(config-if)#clock rate 64000Router(config-if)#no shut%LINK-5-CHANGED: Interface Serial0/0, changed state to upRouter(config-if)#int s0/1Router(config-if)#ip add 10.78%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to up.1.2 255.255.0.0Router(config-if)#no shut%LINK-5-CHANGED: Interface Serial0/1, changed state to downRouter(config-if)#%LINK-5-CHANGED: Interface Serial0/1, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/1, changed state to upSwitchA:SwitchenSwitch#config tEnter configuration commands, one per line. End with CNTL/Z.Switch(config)#vlan1 % Invalid input detected at marker.Switch(config)#vlan 1Switch(config-vlan)#vlan 2Switch(config-vlan)#int f0/3Switch(config-if)#swSwitch(config-if)#switchport mSwitch(config-if)#switchport mode aSwitch(config-if)#switchport mode access Switch(config-if)#swSwitch(config-if)#switchport aSwitch(config-if)#switchport access vlan 1Switch(config-if)#int f0/6Switch(config-if)#swSwitch(config-if)#switchport mSwitch(config-if)#switchport mode aSwitch(config-if)#switchport mode access Switch(config-if)#swSwitch(config-if)#switchport aSwitch(config-if)#switchport access vlSwitch(config-if)#switchport access vlan 2Switch(config-if)#int f0/1Switch(config-if)#swSwitch(config-if)#switchport mSwitch(config-if)#switchport mode tSwitch(config-if)#switchport mode trunk %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to down%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to upSwitch(config-if)#int f0/2Switch(config-if)#swSwitch(config-if)#switchport mSwitch(config-if)#switchport mode tSwitch(config-if)#switchport mode trunk %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to down%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to upSwitchB:SwitchenSwitch#config tEnter configuration commands, one per line. End with CNTL/Z.Switch(config)#vlan 1Switch(config-vlan)#vlan 2Switch(config-vlan)#int f0/3Switch(config-if)#swSwitch(config-if)#switchport mSwitch(config-if)#switchport mode aSwitch(config-if)#switchport mode access Switch(config-if)#swSwitch(config-if)#switchport aSwitch(config-if)#switchport access vlSwitch(config-if)#switchport access vlan 1Switch(config-if)#int f0/6Switch(config-if)#swSwitch(config-if)#switchport mSwitch(config-if)#switchport mode aSwitch(config-if)#switchport mode access Switch(config-if)#swSwitch(config-if)#switchport aSwitch(config-if)#switchport access vlSwitch(config-if)#switchport access vlan 2Switch(config-if)#int f0/1Switch(config-if)#swSwitch(config-if)#switchport mSwitch(config-if)#switchport mode tSwitch(co
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2018春苏科版七年级生物下册第五单元第10章同步说课稿:5.10.1水中的动物
- 2025年血液成份输血装置项目建议书
- 气血相关课件
- 2018春冀少版八年级生物下册第七单元第1章说课稿:7.1.1环境对生物的影响001
- 第一单元第3课《劳动赞歌》教学设计-苏少版(2024)初中美术七年级下册
- 《口语交际:请你支持我》教学设计-六年级语文上册统编版
- 艺术品租赁与展览服务创新创业项目商业计划书
- 社交障碍诊断测试创新创业项目商业计划书
- 第11课一块奶酪(教学设计)-三年级上册语文统编版
- 宠物维生素复合制剂创新创业项目商业计划书
- 2025年成人高考专升本【生态学基础】真题试卷+答案解析
- 关于幸福的课件
- 中国软件行业协会:2025中国软件行业基准数据报告 SSM-BK-202509
- 浙江省浙南名校联盟2025-2026学年高二上学期开学返校联考英语试卷(含音频)
- 铁道概论PPT完整全套教学课件
- GJB《质量分析报告》模板
- Flexsim(仿真软件)中文版教程
- GB 31187-2014体育用品电气部分的通用要求
- 商标法课件新
- 消防设施操作员报名承诺书
- 《工艺评价和研究规划》(PERP)系列报告之一
评论
0/150
提交评论