



免费预览已结束,剩余1页可下载查看
下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
实验二、虚拟局域网VLAN一、 实验目的:学会VLAN的建立与PC的划分二、 实验拓扑图:F0/15Switch PC1PC2VLAN 20VLAN 10F0/5三、实验步骤:1.开始/程序/附件/通讯/超级终端/连接时使用:TCP/IP/主机地址:172.16.5.1/d6/password:star2.开始/运行/telnet 172.16.5.1/enable/password:starPassword: starD63.命令: SwitchAenablePassword:SwitchA#config terminalEnter configuration commands, one per line. End with CNTL/Z.SwitchA(config)#一、 在未划分VLAN前两台PC相互ping可以通。下面创建VLAN。SwitchenableSwitch#configure terminalEnter configuration commands, one per line. End with CNTL/Z.Switch(config)#vlan 102005-03-10 19:38:01 5-CONFIG:Configured from outbandSwitch(config-vlan)#name test102005-03-10 19:38:12 5-CONFIG:Configured from outbandSwitch(config-vlan)#exit2005-03-10 19:38:29 5-CONFIG:Configured from outbandSwitch(config)#vlan 202005-03-10 19:38:37 5-CONFIG:Configured from outbandSwitch(config)#vlan 202005-03-10 19:38:37 5-CONFIG:Configured from outbandSwitch(config-vlan)#name test202005-03-10 19:38:45 5-CONFIG:Configured from outbandSwitch(config-vlan)#exit2005-03-10 19:41:36 5-CONFIG:Configured from outbandSwitch(config)#exit2005-03-10 19:41:40 5-CONFIG:Configured from outband验证测试:Switch#show vlanVLAN Name Status Ports- - - -1 default active Fa0/1 ,Fa0/2 ,Fa0/3 Fa0/4 ,Fa0/5 ,Fa0/6 Fa0/7 ,Fa0/8 ,Fa0/9 Fa0/10,Fa0/11,Fa0/12 Fa0/13,Fa0/14,Fa0/15 Fa0/16,Fa0/17,Fa0/18 Fa0/19,Fa0/20,Fa0/21 Fa0/22,Fa0/23,Fa0/2410 test10 active !创建的VLAN10,没有端口属于VLAN10中20 test20 active !创建的VLAN20,没有端口属于VLAN20中!默认情况下所有接口都属于VLAN1Switch#二、 将接口分配到VLANSwitch#Switch#configure terminalEnter configuration commands, one per line. End with CNTL/Z.Switch(config)#interface fastethernet 0/52005-03-10 19:49:59 5-CONFIG:Configured from outbandSwitch(config-if)#switchport access vlan 102005-03-10 19:50:25 5-CONFIG:Configured from outbandSwitch(config-if)#exit2005-03-10 19:50:43 5-CONFIG:Configured from outbandSwitch(config)#interface fastethernet 0/152005-03-10 19:51:47 5-CONFIG:Configured from outbandSwitch(config-if)#switchport access vlan 202005-03-10 19:52:15 5-CONFIG:Configured from outbandSwitch(config-if)#exit2005-03-10 19:52:28 5-CONFIG:Configured from outbandSwitch(config)#exit2005-03-10 19:52:31 5-CONFIG:Configured from outbandSwitch#show vlanVLAN Name Status Ports- - - -1 default active Fa0/1 ,Fa0/2 ,Fa0/3 Fa0/4 ,Fa0/6 ,Fa0/7 Fa0/8 ,Fa0/9 ,Fa0/10 Fa0/11,Fa0/12,Fa0/13 Fa0/14,Fa0/16,Fa0/17 Fa0/18,Fa0/19,Fa0/20 Fa0/21,Fa0/22,Fa0/23 Fa0/2410 test10 active Fa0/520 test20 active Fa0/15Switch#三、 show running-configSwitch#show running-configSystem software version : 1.61(2) Build Aug 31 2005 ReleaseBuilding configuration.Current configuration : 225 bytes!version 1.0!hostname Switchvlan 1!vlan 10 name test10!
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025年《健康知识》竞赛题库含试题及答案
- 2025年监理工程师案例分析试题(附答案)
- 2025年淄博麻醉考试试题及答案
- 森林生态旅游市场营销创新创业项目商业计划书
- 宠物才艺比赛策划创新创业项目商业计划书
- 5.14.1 肺与外界的气体交换 第1课时(教学设计)生物苏教版2024八年级上册
- 政务数据脱敏与匿名化处理创新创业项目商业计划书
- 数字化建筑材料质量追溯创新创业项目商业计划书
- 家庭园艺DIY工作坊创新创业项目商业计划书
- 教师信息技术技能提升总结报告
- 2025年对酒驾醉驾问题谈心谈话记录内容范文
- 2025年河南省公开遴选公务员考试(案例分析与对策性论文)历年参考题库含答案详解(5套)
- 溶液计算题目及答案大全
- 光伏施工基本知识培训课件
- 2025年《3~6岁儿童学习与发展指南》试题(+答案)
- 煤矿井下自动隔爆装置(岩粉隔爆装置)专项辨识评估报告
- 挡土墙、围墙施工方案(技术标)
- GB 21256-2025粗钢生产主要工序单位产品能源消耗限额
- 西安殡葬管理办法
- 2025年汽车驾驶员(技师)考试试题及答案(含答案)
- 2024年内蒙古中国神华煤制油化工有限公司招聘真题
评论
0/150
提交评论