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

上传人:小飞机 文档编号:5388190 上传时间:2023-07-02 格式:PPT 页数:22 大小:724KB
返回 下载 相关 举报
配置虚拟局域网(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页
点击查看更多>>
资源描述

《配置虚拟局域网(VLAN).ppt》由会员分享,可在线阅读,更多相关《配置虚拟局域网(VLAN).ppt(22页珍藏版)》请在三一办公上搜索。

1、第三章 配置虚拟局域网(VLAN),虚拟局域网VLAN,网络分段灵活性安全性,3rd floor,2nd floor,1st floor,SALES,HR,ENG,每个VLAN都等于一个广播域,VLAN的操作与特性,每个VLAN都类似一个物理网段一个VLAN可跨越多个交换机干道(Trunk)携载多个VLAN的信息,VLAN的成员模式,静态:由管理员静态(人工)配置动态:基于MAC地址、IP地址等识别其成员资格,VLAN5,静态 VLAN,动态 VLAN,VLAN10,Port e0/9,Port e0/4,基于端口的VLAN划分,VLAN 2,VLAN 1,VLAN 3,VLAN的标准,Cis

2、co ISL,Initial MACAddress,Initial Type/Data,New CRC,2-Byte TPID2-Byte TCI,ISL Header26 bytes,Encapsulated Ethernet frame,CRC4 bytes,IEEE802.1Q,配置静态VLAN,EngineeringVLAN,MarketingVLAN,SalesVLAN,Floor#1,Floor#2,Floor#3,Physical LayerLAN Switch,Human Layer,Network Layer,Routing FunctionInterconnects VLA

3、Ns,Data-Link LayerBroadcastDomains,All users attached to same switch port must be in the same VLAN.,x,VLAN的配置步骤,定义Trunk创建VLAN划分VLAN成员检查配置结果,Defining a Trunk,trunk on|off|desirable|auto|nonegotiate,wg_sw_a(config-if)#,On=Set trunk on and negotiate with other sideOff=Set trunk off and negotiate with o

4、ther 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 negotiate,Defining a Trunk,wg_sw_a#conf terminal Enter configuration commands,one per line.End with CNTL/Zw

5、g_sw_a(config)#interface f0/26wg_sw_a(config-if)#trunk on,First trunk port(Port A),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

6、 is on or desirableNon-negotiate=Set trunk on and will not negotiate,trunk on|off|desirable|auto|nonegotiate,wg_sw_a(config-if)#,Verifying a Trunk,wg_sw_a#show trunk A|B,中国最庞大的数据库下载,Verifying a Trunk,wg_sw_a#show trunk aDISL state:On,Trunking:On,Encapsulation type:ISL,wg_sw_a#show trunk A|B,Adding a

7、 VLAN,vlan vlan#name vlan-name,wg_sw_a(config)#,Adding a VLAN,wg_sw_a#conf terminal Enter configuration commands,one per line.End with CNTL/Zwg_sw_a(config)#vlan 9 name switchlab2,vlan vlan#name vlan-name,wg_sw_a(config)#,Verifying a VLAN,wg_sw_a#show vlan vlan#,Verifying a VLAN,wg_sw_a#sh vlan 9VLA

8、N Name Status Ports-9 switchlab2 Enabled-VLAN Type SAID MTU Parent RingNo BridgeNo Stp Trans1 Trans2-9 Ethernet 100009 1500 0 1 1 Unkn 0 0-,wg_sw_a#show vlan vlan#,Modifying a VLAN Name,vlan vlan#name vlan-name,wg_sw_a#conf terminal Enter configuration commands,one per line.End with CNTL/Zwg_sw_a(co

9、nfig)#vlan 9 name switchlab90,wg_sw_a#show vlan 9VLAN Name Status Ports-9 switchlab90 Enabled-,wg_sw_a(config)#,Assigning Switch Ports to a VLAN,vlan-membership static vlan#|dynamic,wg_sw_a(config-if)#,Assigning Switch Ports to a VLAN,wg_sw_a#conf terminal Enter configuration commands,one per line.E

10、nd with CNTL/Zwg_sw_a(config)#interface ethernet 0/8wg_sw_a(config-if)#vlan-membership static 9,vlan-membership static vlan#|dynamic,wg_sw_a(config-if)#,Verifying VLAN Membership,wg_sw_a#show vlan-membership,Verifying VLAN Membership,wg_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-membership,使用终端检查,

展开阅读全文
相关资源
猜你喜欢
相关搜索
资源标签

当前位置:首页 > 生活休闲 > 在线阅读


备案号:宁ICP备2025010119号-1

经营许可证:宁B2-20210002

宁公网安备 64010402000987号