收藏 分销(赏)

配置虚拟局域网(VLAN).ppt

上传人:天**** 文档编号:2754100 上传时间:2024-06-05 格式:PPT 页数:22 大小:737.50KB
下载 相关 举报
配置虚拟局域网(VLAN).ppt_第1页
第1页 / 共22页
配置虚拟局域网(VLAN).ppt_第2页
第2页 / 共22页
配置虚拟局域网(VLAN).ppt_第3页
第3页 / 共22页
配置虚拟局域网(VLAN).ppt_第4页
第4页 / 共22页
配置虚拟局域网(VLAN).ppt_第5页
第5页 / 共22页
点击查看更多>>
资源描述

1、中国最中国最中国最中国最庞庞庞庞大的数据大的数据大的数据大的数据库库库库下下下下载载载载第三章第三章第三章第三章 配置虚配置虚拟局域网(局域网(VLAN)中国最中国最中国最中国最庞庞庞庞大的数据大的数据大的数据大的数据库库库库下下下下载载载载虚虚拟局域网局域网VLANVLAN网网络分段分段灵活性灵活性安全性安全性3rd floor2nd floor1st floorSALESHRENG每个每个VLANVLAN都等于一个广播域都等于一个广播域中国最中国最中国最中国最庞庞庞庞大的数据大的数据大的数据大的数据库库库库下下下下载载载载VLANVLAN的操作与特性的操作与特性Switch AGreenV

2、LANBlackVLAN BlueVLANSwitch BGreenVLANBlackVLANBlueVLAN Trunk Fast Ethernet每个每个VLANVLAN都都类似一个物理网段似一个物理网段一个一个VLANVLAN可跨越多个交可跨越多个交换机机干道(干道(TrunkTrunk)携携载多个多个VLANVLAN的信息的信息中国最中国最中国最中国最庞庞庞庞大的数据大的数据大的数据大的数据库库库库下下下下载载载载VLANVLAN的成的成员模式模式静静态:由管理:由管理员静静态(人工)配置(人工)配置动态:基于:基于MACMAC地址、地址、IPIP地址等地址等识别其成其成员资格格 VL

3、AN5静静态 VLAN动态 VLANMAC=1111.1111.1111VLAN10Port e0/9Port e0/中国最中国最中国最中国最庞庞庞庞大的数据大的数据大的数据大的数据库库库库下下下下载载载载基于端口的基于端口的VLANVLAN划分划分VLAN 2VLAN 1VLAN 中国最中国最中国最中国最庞庞庞庞大的数据大的数据大的数据大的数据库库库库下下下下载载载载VLANVLAN的的标准准Cisco ISLInitial MACAddressInitial Type/DataNew CRC2-Byte TPID2-Byte TCIISL HeaderISL Header26 bytes2

4、6 bytesEncapsulated Ethernet frameCRCCRC4 bytes4 bytesIEEE802.1Q中国最中国最中国最中国最庞庞庞庞大的数据大的数据大的数据大的数据库库库库下下下下载载载载配置静配置静态VLANVLANEngineeringVLANMarketingVLANSalesVLANFloor#1Floor#2Floor#3Physical LayerLAN SwitchHuman LayerNetwork Layer192.20.24.0Routing FunctionInterconnects VLANs192.20.21.0192.30.20.0Dat

5、a-Link LayerBroadcastDomainsAll users attached to same switch port must be in the same VLAN中国最中国最中国最中国最庞庞庞庞大的数据大的数据大的数据大的数据库库库库下下下下载载载载VLANVLAN的配置步的配置步骤定定义Trunk创建建VLAN划分划分VLAN成成员检查配置配置结果果中国最中国最中国最中国最庞庞庞庞大的数据大的数据大的数据大的数据库库库库下下下下载载载载Defining a TrunkDefining a Trunktrunk on|off|desirable|auto|nonegotia

6、tewg_sw_a(config-if)#On=Set trunk on and negotiate with other sideOff=Set trunk off and negotiate with other sideDesirable=Negotiate with other side.Trunk on if other side is on,desirable,or autoAuto=Will be a trunk only if the other side is on or desirableNon-negotiate=Set trunk on and will not 中国最

7、中国最中国最中国最庞庞庞庞大的数据大的数据大的数据大的数据库库库库下下下下载载载载Defining a TrunkDefining a Trunkwg_sw_a#conf terminal Enter configuration commands,one per line.End with CNTL/Zwg_sw_a(config)#interface f0/26wg_sw_a(config-if)#trunk onFirst trunk port(Port A)On=Set trunk on and negotiate with other sideOff=Set trunk off and

8、 negotiate with other sideDesirable=Negotiate with other side.Trunk on if other side is on,desirable,or autoAuto=Will be a trunk only if the other side is on or desirableNon-negotiate=Set trunk on and will not negotiatetrunk on|off|desirable|auto|nonegotiatewg_sw_a(config-if)#中国最中国最中国最中国最庞庞庞庞大的数据大的数

9、据大的数据大的数据库库库库下下下下载载载载Verifying a TrunkVerifying a Trunkwg_sw_a#show trunk A|B中国最中国最中国最中国最庞庞庞庞大的数据大的数据大的数据大的数据库库库库下下下下载载载载中国最中国最中国最中国最庞庞庞庞大的数据大的数据大的数据大的数据库库库库下下下下载载载载Verifying a TrunkVerifying a Trunkwg_sw_a#show trunk aDISL state:On,Trunking:On,Encapsulation type:ISLwg_sw_a#show trunk A|B中国最中国最中国最中国

10、最庞庞庞庞大的数据大的数据大的数据大的数据库库库库下下下下载载载载Adding a VLANAdding a VLANvlan vlan#name vlan-namewg_sw_a(config)#中国最中国最中国最中国最庞庞庞庞大的数据大的数据大的数据大的数据库库库库下下下下载载载载Adding a VLANAdding a VLANwg_sw_a#conf terminal Enter configuration commands,one per line.End with CNTL/Zwg_sw_a(config)#vlan 9 name switchlab2vlan vlan#name

11、 vlan-namewg_sw_a(config)#中国最中国最中国最中国最庞庞庞庞大的数据大的数据大的数据大的数据库库库库下下下下载载载载Verifying a VLANVerifying a VLANwg_sw_a#show vlan vlan#中国最中国最中国最中国最庞庞庞庞大的数据大的数据大的数据大的数据库库库库下下下下载载载载Verifying a VLANVerifying a VLANwg_sw_a#sh vlan 9VLAN Name Status Ports-9 switchlab2 Enabled -VLAN Type SAID MTU Parent RingNo Brid

12、geNo Stp Trans1 Trans2-9 Ethernet 100009 1500 0 1 1 Unkn 0 0 -wg_sw_a#show vlan vlan#中国最中国最中国最中国最庞庞庞庞大的数据大的数据大的数据大的数据库库库库下下下下载载载载Modifying a VLAN NameModifying a VLAN Namevlan vlan#name vlan-namewg_sw_a#conf terminal Enter configuration commands,one per line.End with CNTL/Zwg_sw_a(config)#vlan 9 nam

13、e switchlab90wg_sw_a#show vlan 9VLAN Name Status Ports-9 switchlab90 Enabled -wg_sw_a(config)#中国最中国最中国最中国最庞庞庞庞大的数据大的数据大的数据大的数据库库库库下下下下载载载载Assigning Switch Ports to a VLANAssigning Switch Ports to a VLANvlan-membership static vlan#|dynamicwg_sw_a(config-if)#中国最中国最中国最中国最庞庞庞庞大的数据大的数据大的数据大的数据库库库库下下下下载载载

14、载Assigning Switch Ports to a Assigning Switch Ports to a VLANVLANwg_sw_a#conf terminal Enter configuration commands,one per line.End with CNTL/Zwg_sw_a(config)#interface ethernet 0/8wg_sw_a(config-if)#vlan-membership static 9vlan-membership static vlan#|dynamicwg_sw_a(config-if)#中国最中国最中国最中国最庞庞庞庞大的数据

15、大的数据大的数据大的数据库库库库下下下下载载载载Verifying VLAN MembershipVerifying VLAN Membershipwg_sw_a#show vlan-中国最中国最中国最中国最庞庞庞庞大的数据大的数据大的数据大的数据库库库库下下下下载载载载Verifying VLAN MembershipVerifying VLAN Membershipwg_sw_a#show vlan-membership Port VLAN Membership Type Port VLAN Membership Type -1 5 Static 13 1 Static 2 1 Static 14 1 Static 3 1 Static 15 1 Static 4 1 Static 16 1 Static 5 1 Static 17 1 Static 6 1 Static 18 1 Static 7 1 Static 19 1 Static 8 9 Static 20 1 Static Note:port 1=e0/1,port 2=e0/2.wg_sw_a#show vlan-中国最中国最中国最中国最庞庞庞庞大的数据大的数据大的数据大的数据库库库库下下下下载载载载使用使用使用使用终终端端端端检查检查

展开阅读全文
相似文档                                   自信AI助手自信AI助手
猜你喜欢                                   自信AI导航自信AI导航
搜索标签

当前位置:首页 > 考试专区 > 中考

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

关于我们      便捷服务       自信AI       AI导航        获赠5币

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

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

gongan.png浙公网安备33021202000488号   

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

关注我们 :gzh.png    weibo.png    LOFTER.png 

客服