




版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、不同VLAN之间互访 作者: 日期:利用三层交换机实现不同VLAN之间的互访交换机 switch。和 switchl 仓建 4 个 vlan,vlan 10,vlan 20,vlan30,vlan 40,将每个交换机的fa0/1-3,fa0/4-6,fa0/7-9,fa0/10-12分别分配给以上四个 vlan,再在三层交换机上进行配置,要求实现不同vlan之间能够互访。一、 拓扑图二、交换机的配置1、 switch。的配置Switch>enSwitch#vlan database% Warning: It is recommended to configure VLAN from co
2、nfig mode, as VLAN database mode is being deprecated. Please consult user documentation for configuring VTP/VLAN in config mode.Switch(vlan)#vlan 10VLAN 10 added:Name: VLAN0010Switch(vlan)#vlan 20VLAN 20 added:Name: VLAN0020Switch(vlan)#vlan 30VLAN 30 added:Name: VLAN0030Switch(vlan)#vlan 40VLAN 40
3、added:Name: VLAN0040Switch(vlan)#exitAPPLY completed.Exiting.Switch#conf tEnter configuration commands, one per line. End with CNTL/Z. Switch(config)#interface range fa0/1-3 Switch(config-if-range)#switchport mode access Switch(config-if-range)#switchport access vlan 10 Switch(config-if-range)#exitS
4、witch(config)#interface range fa0/4-6Switch(config-if-range)#switchport mode accessSwitch(config-if-range)#switchport access vlan 2% Access VLAN does not exist. Creating vlan 2Switch(config-if-range)#switchport access vlan 20Switch(config-if-range)#exitSwitch(config)#interface range fa0/7-9Switch(co
5、nfig-if-range)#switchport mode accessSwitch(config-if-range)#switchport access vlan 30 Switch(config-if-range)#exitSwitch(config)#interface range fa0/10-12Switch(config-if-range)#switchport mode accessSwitch(config-if-range)#switchport access vlan 40 Switch(config-if-range)#exitSwitch(config)#interf
6、ace fa0/24Switch(config-if)#switchport mode trunkSwitch(config-if)#switchport trunk allowed vlan all Switch(config-if)#exitSwitch(config)#2、switch1的配置同switch。的配置一样3、Multilayer Switch0Switch>enableSwitch#vlan database% Warning: It is recommended to configure VLAN from config mode, as VLAN database
7、 mode is being deprecated. Please consult user documentation for configuring VTP/VLAN in config mode.Switch(vlan)#vlan 10VLAN 10 added:Name: VLAN0010Switch(vlan)#vlan 20VLAN 20 added:Name: VLAN0020Switch(vlan)#vlan 30VLAN 30 added:Name: VLAN0030Switch(vlan)#vlan 40VLAN 40 added:Name: VLAN0040Switch(
8、vlan)#exitAPPLY completed.Exiting.Switch#conf tEnter configuration commands, one per line. End with CNTL/Z.Switch(config)#ip routingSwitch(config)#interface vlan 10Switch(config-if)#%LINK-5-CHANGED: Interface Vlan10, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan10, changed
9、state to upSwitch(config-if)#no shutdownSwitch(config-if)#exitSwitch(config)#interface vlan 20Switch(config-if)#%LINK-5-CHANGED: Interface Vlan20, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan20, changed state to upSwitch(config-if)#no shutdownSwitch(config-if)#exitSwitch(c
10、onfig)#interface vlan 30%LINK-5-CHANGED: Interface Vlan30, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan30, changed state to upSwitch(config-if)#no shutdownSwitch(config-if)#exitSwitch(config)#interface vlan 40%LINK-5-CHANGED: Interface Vlan40, changed state to up%LINEPROTO
11、-5-UPDOWN: Line protocol on Interface Vlan40, changed state to upSwitch(config-if)#no shutdownSwitch(config-if)#AZSwitch#%SYS-5-CONFIG_I: Configured from console by consoleSwitch#三、电脑的配置pciBP®Web BrowserPhysical Config DesktopSoftware/ServicesIP ConfigurationO DHCPIP AddressSubnet MaskDefault GatewayDNS ServerE MailPPPoET
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 建筑工程项目质量保证与监督方案
- 2025江西抚州医药学院招聘高层次人才13人备考练习试题及答案解析
- 2025年河北沧州盐山县公开选调教师149名备考练习试题及答案解析
- 船舶货运评估题库及答案
- 2025年焊工年审试题及答案
- 2025青岛澳柯玛控股集团有限公司招聘计划备考练习题库及答案解析
- 装修现场文明施工方案
- 2025年创新中考的题目及答案
- 2025河北承德石洞子沟街道办事处招聘高校毕业生公益岗1人考试参考试题及答案解析
- 2025湖南大众传媒职业技术学院高层次人才招聘30人考试参考试题及答案解析
- 项目部刻章申请书
- 版挖掘机租赁合同
- 语言学概论全套教学课件
- JJF 1265-2022生物计量术语及定义
- GB/T 8118-2010电弧焊机通用技术条件
- GB/T 17421.7-2016机床检验通则第7部分:回转轴线的几何精度
- 电工技能测试
- 药事管理学全套课件
- 社区心理学课件
- 质量整改通知单(样板)
- 2020届高三北京高考“多文本阅读”总攻略
评论
0/150
提交评论