已阅读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. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2026年广西理工职业技术学院单招职业技能考试模拟测试卷附答案
- 2026年江西工业职业技术学院单招(计算机)考试参考题库附答案
- 2025年辽宁建筑职业学院辅导员考试笔试真题汇编附答案
- 2025年青海建筑职业技术学院单招(计算机)测试模拟题库附答案
- 2025年郑州卫生健康职业学院辅导员考试笔试真题汇编附答案
- 2026年甘肃机电职业技术学院单招职业适应性测试模拟测试卷附答案
- 2025年青海省黄南藏族自治州单招职业适应性考试模拟测试卷附答案
- 2026年新疆铁道职业技术学院单招职业适应性测试题库附答案
- 2026年浙江财经大学东方学院单招(计算机)测试备考题库必考题
- 2026年烟台科技学院单招职业倾向性考试题库附答案
- 厂房消防安全管理手册
- 23《孟子三章-生于忧患死于安乐》课件
- 2026-2031年中国气管插管固定装置行业发展分析及投资风险预测研究报告
- 2025秋南方新课堂金牌学案中国历史七年级上册(配人教版)(教师用书)
- 2026品牌营销日历【营销节点】
- 冬季检维修安全课件
- 工会考试试题题库及答案解析
- 卢沟桥事变的总结课件
- 校长竞聘面试答辩题(附答案)
- 矿山安全救护队组建及管理文件
- 电力工程项目售后服务及质量保证措施
评论
0/150
提交评论