id: 521214cc7159475f95a356b79df95f1c
parent_id: 
item_type: 1
item_id: 7505c1d1ba4643bcbf0fb9ea07fc0931
item_updated_time: 1764345621033
title_diff: "[{\"diffs\":[[1,\"VLAN基础及VLAN划分详细步骤讲解，通俗易懂，弱电人一看就会\"]],\"start1\":0,\"start2\":0,\"length1\":0,\"length2\":32}]"
body_diff: "[{\"diffs\":[[1,\"<html>\\\r\\\n<head>\\\r\\\n  <title>VLAN基础及VLAN划分详细步骤讲解，通俗易懂，弱电人一看就会</title>\\\r\\\n  <basefont face=\\\"微软雅黑\\\" size=\\\"2\\\" />\\\r\\\n  <meta http-equiv=\\\"Content-Type\\\" content=\\\"text/html;charset=utf-8\\\" />\\\r\\\n  <meta name=\\\"exporter-version\\\" content=\\\"YXBJ Windows/608924 (zh-CN, DDL); Windows/10.0.0 (Win64); EDAMVersion=V2;\\\"/>\\\r\\\n  <meta name=\\\"content-class\\\" content=\\\"yinxiang.peso.superNote\\\"/>\\\r\\\n  <meta name=\\\"application-data:yinxiang.noteLayout\\\" content=\\\"{\\\"lineSpace\\\":\\\"recommend\\\",\\\"paragraphSpace\\\":\\\"recommend\\\"}\\\"/>\\\r\\\n  <style>\\\r\\\n\\tbody, td {\\\r\\\n\\t  font-family: 微软雅黑;\\\r\\\n\\t  font-size: 12pt;\\\r\\\n\\t}\\\r\\\n  </style>\\\r\\\n</head>\\\r\\\n<body>\\\r\\\n<a name=\\\"37390\\\"></a>\\\r\\\n<h1>VLAN基础及VLAN划分详细步骤讲解，通俗易懂，弱电人一看就会</h1>\\\r\\\n\\\r\\\n<div><span style=\\\"\\\"><div style=\\\"max-width: 700px;\\\"><p></p><div style=\\\"--en-blockquote: true; box-sizing: border-box; border-left: 3px solid #b4c0cc; background-position: initial initial; background-repeat: initial initial;\\\"><div>原文链接: <a href=\\\"http://mp.weixin.qq.com/s?__biz=MzU4NDUyNDgyOA==&amp;mid=2247533255&amp;idx=1&amp;sn=eb9c7b0cce28d68b2ec4e8e1346a8b53&amp;chksm=fcb9190c936f25ebd14341835d7e217a34a10347f683153777e9e4e5628e7b8e26fa1741c60f&amp;mpshare=1&amp;scene=1&amp;srcid=0130c2uxHl9frqEiMso4O79V&amp;sharer_shareinfo=0583bd5f884ac285813a36a4c409d499&amp;sharer_shareinfo_first=0583bd5f884ac285813a36a4c409d499#rd\\\"><span>http://mp.weixin.qq.com/s?__biz=MzU4NDUyNDgyOA==&amp;mid=2247533...</span></a></div></div><p></p><div style=\\\"-webkit-tap-highlight-color: transparent;\\\"><div style=\\\"-webkit-tap-highlight-color: transparent;\\\"><div style=\\\"-webkit-tap-highlight-color: transparent;\\\"><div style=\\\"-webkit-tap-highlight-color: transparent;\\\"><span style=\\\"-webkit-tap-highlight-color: transparent;\\\"><a style=\\\"-webkit-tap-highlight-color: transparent;\\\"> 弱电智能化工程2018 </a></span><span style=\\\"-webkit-tap-highlight-color: transparent;\\\"><em style=\\\"-webkit-tap-highlight-color: transparent;\\\"></em></span></div><div style=\\\"-webkit-tap-highlight-color: transparent;\\\"><div style=\\\"-webkit-tap-highlight-color: transparent;\\\"><h3 style=\\\"-webkit-tap-highlight-color: transparent;\\\">什么是vlan，vlan如何划分？这个在弱电工程中我们经常会遇到。</h3><h3 style=\\\"-webkit-tap-highlight-color: transparent; outline: 0; __visibility: visible;\\\"><span style=\\\"-webkit-tap-highlight-color: transparent; outline: 0; text-align: left; __visibility: visible; background-color: rgb(0,0,0); color: #000;\\\">VLAN概念</span></h3><h3 style=\\\"-webkit-tap-highlight-color: transparent; outline: 0; __visibility: visible;\\\"><span style=\\\"-webkit-tap-highlight-color: transparent; outline: 0; text-align: left; __visibility: visible;\\\">VLAN（Virtual Local Area Network）的中文名为&quot;虚拟局域网&quot;。</span></h3><h3 style=\\\"-webkit-tap-highlight-color: transparent; outline: 0; __visibility: visible;\\\"><span style=\\\"-webkit-tap-highlight-color: transparent; outline: 0; text-align: left; __visibility: visible;\\\">虚拟局域网（VLAN）是一组逻辑上的设备和用户，这些设备和用户并不受物理位置的限制，可以根据功能、部门及应用等因素将它们组织起来，相互之间的通信就好像它们在同一个网段中一样，由此得名虚拟局域网。</span>由于交换机端口有两种VLAN属性，其一是VLANID，其二是VLANTAG，分别对应VLAN对数据包设置VLAN标签和允许通过的VLANTAG（标签）数据包，不同VLANID端口，可以通过相互允许VLANTAG，构建VLAN。</h3></div><div style=\\\"-webkit-tap-highlight-color: transparent;\\\"><div style=\\\"-webkit-tap-highlight-color: transparent;\\\"><div style=\\\"-webkit-tap-highlight-color: transparent;\\\"><img src=\\\":/5742a34ecb494e778eff640f49d1dff8\\\" type=\\\"image/jpeg\\\" data-filename=\\\"640.jpg\\\" style=\\\"--en-marks: %7B%22align%22%3A%22center%22%7D; -webkit-tap-highlight-color: transparent; outline: 0; display: initial; __visibility: visible; width: auto; height: auto;\\\" width=\\\"auto\\\"/></div><div style=\\\"-webkit-tap-highlight-color: transparent; outline: 0;\\\"><span style=\\\"-webkit-tap-highlight-color: transparent; outline: 0; text-align: left; __visibility: visible;\\\">同一个VLAN中的用户间通信就和在一个局域网内一样，同一个VLAN中的广播只有VLAN中的 成员才能听到，而不会传输到其他的VLAN中去，从而控制不必要的广播风暴的产生。同时， 若没有路由，不同VLAN之间不能相互通信，从而提高了不同工作组之间的信息安全性。网络 管理员可以通过配置VLAN之间的路由来全面管理网络内部不同工作组之间的信息互访。</span></div><div style=\\\"-webkit-tap-highlight-color: transparent; outline: 0; text-align: center;\\\"><img src=\\\":/2b6d15f12fa5459bbb316ab2711c8aef\\\" type=\\\"image/jpeg\\\" data-filename=\\\"640.jpg\\\" style=\\\"--en-marks: %7B%22align%22%3A%22center%22%7D; -webkit-tap-highlight-color: transparent; outline: 0; border-width: 1px; border-style: solid; border-color: rgb(238,237,235); display: initial; background-color: rgb(238,237,235); background-size: 22px; background-position: center center; background-repeat: no-repeat; width: auto; __visibility: visible; height: auto;\\\" width=\\\"auto\\\"/></div><div style=\\\"-webkit-tap-highlight-color: transparent; outline: none; text-align: left;\\\"><span style=\\\"-webkit-tap-highlight-color: transparent; outline: 0; color: #000; background-color: rgb(0,0,0); __visibility: visible;\\\"><strong style=\\\"-webkit-tap-highlight-color: transparent; outline: 0; __visibility: visible;\\\">1、技术特点</strong></span></div><div style=\\\"-webkit-tap-highlight-color: transparent; outline: none; text-align: left;\\\"><span style=\\\"-webkit-tap-highlight-color: transparent; outline: 0; __visibility: visible;\\\"><strong style=\\\"-webkit-tap-highlight-color: transparent; outline: 0; __visibility: visible;\\\">(1)端口的分隔。</strong>即便在同一个交换机上，处于不同VLAN的端口也是不能通信的。这样一个物理的 交换机 可以当作多个逻辑的交换机使用。</span></div><div style=\\\"-webkit-tap-highlight-color: transparent; outline: none; text-align: left;\\\"><span style=\\\"-webkit-tap-highlight-color: transparent; outline: 0; __visibility: visible;\\\"><strong style=\\\"-webkit-tap-highlight-color: transparent; outline: 0; __visibility: visible;\\\">(2)网络的安全。</strong>不同VLAN不能直接通信，杜绝了广播信息的不安全性。</span></div><div style=\\\"-webkit-tap-highlight-color: transparent; outline: none; text-align: left;\\\"><span style=\\\"-webkit-tap-highlight-color: transparent; outline: 0;\\\"><strong style=\\\"-webkit-tap-highlight-color: transparent; outline: 0;\\\">(3)灵活的管理</strong>。更改用户所属的网络不必换端口和连线，只更改软件配置就可以了。</span></div><div style=\\\"-webkit-tap-highlight-color: transparent; outline: none; text-align: left;\\\"><span style=\\\"-webkit-tap-highlight-color: transparent; outline: 0; color: #000; background-color: rgb(0,0,0);\\\"><strong style=\\\"-webkit-tap-highlight-color: transparent; outline: 0;\\\">2、TAG和UNTAG</strong></span></div><div style=\\\"-webkit-tap-highlight-color: transparent; outline: none; text-align: left;\\\"><span style=\\\"-webkit-tap-highlight-color: transparent; outline: 0;\\\"><strong style=\\\"-webkit-tap-highlight-color: transparent; outline: 0;\\\">基于端口的VLAN,这是最常应用的一种VLAN划分方法，应用也最为广泛、最有效，目前绝大多数VLAN协议的交换机都提供这种VLAN配置方法。</strong>这种划分VLAN的方法是根据以太网交换机的交换端口来划分的，它是将VLAN交换机上的物理端口和VLAN交换机内部的PVC（永久虚电路）端口分成若干个组，每个组构成一个虚拟网，相当于一个独立的VLAN交换机。</span></div><div style=\\\"-webkit-tap-highlight-color: transparent; outline: none; text-align: left;\\\"><span style=\\\"-webkit-tap-highlight-color: transparent; outline: 0;\\\">IEEE于1999年发布了用以规范VLAN实现的IEEE Std 802.1Q标准。IEEE 802.1Q协议标准为各种局域网网络结构定义了VLAN的Tag字段，不同网络结构中，连接 设备可以通过共同的数据特征进行VLAN识别。</span></div><div style=\\\"-webkit-tap-highlight-color: transparent; outline: none; text-align: left;\\\"><span style=\\\"-webkit-tap-highlight-color: transparent; outline: 0;\\\">对于常见的以太网网络模型，其主要的报文封装格式类型有两种，分别为Ethernet II型和 802.2/802.3型。对于这两种以太网报文的封装格式，IEEE 802.1Q协议标准在数据帧首部的目 的MAC地址（DA）和源MAC地址（SA）后定义了VLAN Tag，用以标识VLAN的相关信息。</span></div><div style=\\\"-webkit-tap-highlight-color: transparent; outline: 0; text-align: center;\\\"><img src=\\\":/99aa48238efb4f8299cae55a0ddae14a\\\" type=\\\"image/jpeg\\\" data-filename=\\\"640.jpg\\\" style=\\\"--en-marks: %7B%22align%22%3A%22center%22%7D; -webkit-tap-highlight-color: transparent; outline: 0; display: initial; __visibility: visible; width: auto; height: auto;\\\" width=\\\"auto\\\"/></div><div style=\\\"-webkit-tap-highlight-color: transparent; outline: 0; text-align: center;\\\"><img src=\\\":/9bd6c33a4a5d4949824f77ef1bf7b492\\\" type=\\\"image/jpeg\\\" data-filename=\\\"640.jpg\\\" style=\\\"--en-marks: %7B%22align%22%3A%22center%22%7D; -webkit-tap-highlight-color: transparent; outline: 0; display: initial; __visibility: visible; width: auto; height: auto;\\\" width=\\\"auto\\\"/></div><div style=\\\"-webkit-tap-highlight-color: transparent; outline: none; text-align: left;\\\"><span style=\\\"-webkit-tap-highlight-color: transparent; outline: 0; color: #000; background-color: rgb(0,0,0);\\\"><strong style=\\\"-webkit-tap-highlight-color: transparent; outline: 0;\\\">3、端口的链路类型</strong></span></div><div style=\\\"-webkit-tap-highlight-color: transparent; outline: none; text-align: left;\\\"><span style=\\\"-webkit-tap-highlight-color: transparent; outline: 0;\\\">对于不同部门需要互访时，可通过路由器转发，并配合基于MAC地址的端口过滤。对某站点的访问路径上最靠近该站点的交换机、路由交换机或路由器的相应端口上，设定可通过的MAC地址集。这样就可以防止非法入侵者从内部盗用IP地址从其他可接入点入侵的可能。</span></div><div style=\\\"-webkit-tap-highlight-color: transparent; outline: none; text-align: left;\\\"><span style=\\\"-webkit-tap-highlight-color: transparent; outline: 0; color: rgb(255,0,0);\\\"><strong style=\\\"-webkit-tap-highlight-color: transparent; outline: 0;\\\">以太网端口有 3种链路类型:access、trunk、General</strong></span></div><div style=\\\"-webkit-tap-highlight-color: transparent; outline: none; text-align: left;\\\"><span style=\\\"-webkit-tap-highlight-color: transparent; outline: 0;\\\">Access类型端口只能属于1个VLAN 般用于连接计算机端口；</span></div><div style=\\\"-webkit-tap-highlight-color: transparent; outline: none; text-align: left;\\\"><span style=\\\"-webkit-tap-highlight-color: transparent; outline: 0;\\\">Trunk类型端口可以允许多个VLAN通过,可以接收和发送多个VLAN 报文,一般用于交换机之间的连接；</span></div><div style=\\\"-webkit-tap-highlight-color: transparent; outline: none; text-align: left;\\\"><span style=\\\"-webkit-tap-highlight-color: transparent; outline: 0;\\\">General类型端口可以允许多个VLAN通过，可以接收和发送多个VLAN 报文，可以用于交换机的间连接也可以用于连接用户计算机。</span></div><div style=\\\"-webkit-tap-highlight-color: transparent; outline: none; text-align: left;\\\"><span style=\\\"-webkit-tap-highlight-color: transparent; outline: 0;\\\">General端口和Trunk端口在接收数据时处理思路方法是一样的，唯一区别的处在于发送数据时:General端口可以允许多个VLAN报文发送时不打标签，而Trunk端口只允许缺省VLAN报文发送时不打标签。</span></div><div style=\\\"-webkit-tap-highlight-color: transparent; outline: none; text-align: left;\\\"><span style=\\\"-webkit-tap-highlight-color: transparent; outline: 0;\\\"><strong style=\\\"-webkit-tap-highlight-color: transparent; outline: 0;\\\">缺省VLAN( PVID）:</strong></span></div><div style=\\\"-webkit-tap-highlight-color: transparent; outline: none; text-align: left;\\\"><span style=\\\"-webkit-tap-highlight-color: transparent; outline: 0;\\\">Access端口只属于1个VLAN 所以它缺省VLAN就是它所在VLAN不用设置；</span></div><div style=\\\"-webkit-tap-highlight-color: transparent; outline: none; text-align: left;\\\"><span style=\\\"-webkit-tap-highlight-color: transparent; outline: 0;\\\">General端口和 Trunk端口属于多个VLAN，所以需要设置缺省VLAN ID。<span style=\\\"-webkit-tap-highlight-color: transparent; outline: 0; color: rgb(255,0,0);\\\"><strong style=\\\"-webkit-tap-highlight-color: transparent; outline: 0;\\\">缺省情况下 Hybrid端口和Trunk端口缺省VLAN为VLAN 1；</strong></span></span></div><div style=\\\"-webkit-tap-highlight-color: transparent; outline: none; text-align: left;\\\"><span style=\\\"-webkit-tap-highlight-color: transparent; outline: 0;\\\">如果设置了端口缺省VLAN ID当端口接收到不带VLAN Tag报文后则将报文转发到属于缺省VLAN的端口；当端口发送带有VLAN Tag报文时，如果该报文 VLAN ID和端口缺省VLAN ID相同，则系统将去掉报文VLAN Tag，然后再发送该报文。</span></div><div style=\\\"-webkit-tap-highlight-color: transparent; outline: none; text-align: left;\\\"><span style=\\\"-webkit-tap-highlight-color: transparent; outline: 0;\\\"><strong style=\\\"-webkit-tap-highlight-color: transparent; outline: 0;\\\">交换机接口出入数据处理过程:</strong></span></div><div style=\\\"-webkit-tap-highlight-color: transparent; outline: none; text-align: left;\\\"><span style=\\\"-webkit-tap-highlight-color: transparent; outline: 0;\\\"><strong style=\\\"-webkit-tap-highlight-color: transparent; outline: 0;\\\">Acess端口收报文</strong>:收到个报文判断是否有VLAN信息:如果没有则打上端口 PVID并进行交换、转发，如果有则直接丢弃(缺省) Acess端口发报文:将报文VLAN信息剥离直接发送出去</span></div><div style=\\\"-webkit-tap-highlight-color: transparent; outline: none; text-align: left;\\\"><span style=\\\"-webkit-tap-highlight-color: transparent; outline: 0;\\\"><strong style=\\\"-webkit-tap-highlight-color: transparent; outline: 0;\\\">trunk端口收报文</strong>:收到一个报文，判断是否有VLAN信息:如果没有则打上端口 PVID 并进行交换转发，如果有判断VLAND ID是否在该trunk的允许范围内，如果在范围内则转发，否则丢弃</span></div><div style=\\\"-webkit-tap-highlight-color: transparent; outline: none; text-align: left;\\\"><span style=\\\"-webkit-tap-highlight-color: transparent; outline: 0;\\\"><strong style=\\\"-webkit-tap-highlight-color: transparent; outline: 0;\\\">trunk端口发报文:</strong>比较端口PVID和将要发送报文VLAN信息如果两者相等则剥离VLAN信息再发送，如果不相等则直接发送</span></div><div style=\\\"-webkit-tap-highlight-color: transparent; outline: none; text-align: left;\\\"><span style=\\\"-webkit-tap-highlight-color: transparent; outline: 0;\\\"><strong style=\\\"-webkit-tap-highlight-color: transparent; outline: 0;\\\">General端口收报文</strong>:收到一个报文，判断是否有VLAN信息:如果没有则打上端口 PVID 并进行交换转发。如果有则判断该General端口是否允许该VLAN数据进入:如果可以则转发，否则丢弃(此时端口上untag配置是不用考虑，untag配置只对发送报文时起作用)</span></div><div style=\\\"-webkit-tap-highlight-color: transparent; outline: none; text-align: left;\\\"><span style=\\\"-webkit-tap-highlight-color: transparent; outline: 0;\\\"><strong style=\\\"-webkit-tap-highlight-color: transparent; outline: 0;\\\">General端口发报文:</strong></span></div><div style=\\\"-webkit-tap-highlight-color: transparent; outline: none; text-align: left;\\\"><span style=\\\"-webkit-tap-highlight-color: transparent; outline: 0;\\\">1）判断该VLAN在本端口属性</span></div><div style=\\\"-webkit-tap-highlight-color: transparent; outline: none; text-align: left;\\\"><span style=\\\"-webkit-tap-highlight-color: transparent; outline: 0;\\\">2）如果是untag,则剥离VLAN信息再发送;如果是tag,则直接发送.</span></div><div style=\\\"-webkit-tap-highlight-color: transparent; outline: 0; text-align: center;\\\"><img src=\\\":/bbf6bfb4a89145389b7687fe682afe50\\\" type=\\\"image/jpeg\\\" data-filename=\\\"640.jpg\\\" style=\\\"--en-marks: %7B%22align%22%3A%22center%22%7D; -webkit-tap-highlight-color: transparent; outline: 0; display: initial; __visibility: visible; width: auto; height: auto;\\\" width=\\\"auto\\\"/></div><div style=\\\"-webkit-tap-highlight-color: transparent; outline: 0;\\\"><div style=\\\"-webkit-tap-highlight-color: transparent; outline: 0; transform: rotate(0);\\\"><div style=\\\"-webkit-tap-highlight-color: transparent; outline: 0; text-align: center;\\\"><div style=\\\"-webkit-tap-highlight-color: transparent; outline: 0; display: inline-block; vertical-align: middle; border-bottom: 3px solid rgb(240,11,11); border-top-color: rgb(240,11,11); border-right-color: rgb(240,11,11); border-left-color: rgb(240,11,11);\\\"><div style=\\\"-webkit-tap-highlight-color: transparent; outline: 0; border-bottom: 1px solid rgb(240,11,11); border-top-color: rgb(240,11,11); border-right-color: rgb(240,11,11); border-left-color: rgb(240,11,11); color: rgb(240,11,11);\\\"><p style=\\\"-webkit-tap-highlight-color: transparent; outline: 0;\\\"><br style=\\\"-webkit-tap-highlight-color: transparent; outline: 0;\\\"/></p><p style=\\\"-webkit-tap-highlight-color: transparent; outline: 0;\\\"><span style=\\\"-webkit-tap-highlight-color: transparent; outline: 0;\\\"><strong style=\\\"-webkit-tap-highlight-color: transparent; outline: 0;\\\">二、如何划分VLAN</strong></span></p></div></div></div></div></div><div style=\\\"-webkit-tap-highlight-color: transparent; outline: none; text-align: left;\\\"><span style=\\\"-webkit-tap-highlight-color: transparent; outline: 0;\\\">以TP-LINK SL3226为例，需求：学校宿舍无线网，某楼层有一台二层网管接入交换机，带了20台面板AP.需要接入网络，管理地址为192.168.200.110.管理VLAN为4000，端口VLAN为110，和核心交换机级联VLAN为204.控制器控制VLAN为1000</span></div><div style=\\\"-webkit-tap-highlight-color: transparent; outline: none; text-align: left;\\\"><span style=\\\"-webkit-tap-highlight-color: transparent; outline: 0;\\\">简介：TP-LINK SL3226为24口百兆交换机，两个上联口25.26为千兆口。</span></div><div style=\\\"-webkit-tap-highlight-color: transparent; outline: none; text-align: left;\\\"><span style=\\\"-webkit-tap-highlight-color: transparent; outline: 0; color: #000; background-color: rgb(0,0,0);\\\"><strong style=\\\"-webkit-tap-highlight-color: transparent; outline: 0;\\\">1、登陆交换机管理界面（配置电脑网线暂时插在24口上）</strong></span></div><div style=\\\"-webkit-tap-highlight-color: transparent; outline: 0; text-align: center;\\\"><img src=\\\":/706fb9be86334f5da67d300ec3a3fd5c\\\" type=\\\"image/jpeg\\\" data-filename=\\\"640.jpg\\\" style=\\\"--en-marks: %7B%22align%22%3A%22center%22%7D; -webkit-tap-highlight-color: transparent; outline: 0; display: initial; __visibility: visible; width: auto; height: auto;\\\" width=\\\"auto\\\"/></div><div style=\\\"-webkit-tap-highlight-color: transparent; outline: 0; text-align: center;\\\"><img src=\\\":/35ef1ccf9b8947a69128ccd08c288997\\\" type=\\\"image/jpeg\\\" data-filename=\\\"640.jpg\\\" style=\\\"--en-marks: %7B%22align%22%3A%22center%22%7D; -webkit-tap-highlight-color: transparent; outline: 0; display: initial; __visibility: visible; width: auto; height: auto;\\\" width=\\\"auto\\\"/></div><div style=\\\"-webkit-tap-highlight-color: transparent; outline: none; text-align: left;\\\"><span style=\\\"-webkit-tap-highlight-color: transparent; outline: 0;\\\"><strong style=\\\"-webkit-tap-highlight-color: transparent; outline: 0;\\\">选择VLAN</strong></span></div><div style=\\\"-webkit-tap-highlight-color: transparent; outline: 0; text-align: center;\\\"><img src=\\\":/35cd11df6e7a4d82a6c1fc44c31672f3\\\" type=\\\"image/jpeg\\\" data-filename=\\\"640.jpg\\\" style=\\\"--en-marks: %7B%22align%22%3A%22center%22%7D; -webkit-tap-highlight-color: transparent; outline: 0; display: initial; __visibility: visible; width: auto; height: auto;\\\" width=\\\"auto\\\"/></div><div style=\\\"-webkit-tap-highlight-color: transparent; outline: none; text-align: left;\\\"><span style=\\\"-webkit-tap-highlight-color: transparent; outline: 0; color: #000; background-color: rgb(0,0,0);\\\"><strong style=\\\"-webkit-tap-highlight-color: transparent; outline: 0;\\\">2、端口类型配置</strong></span></div><div style=\\\"-webkit-tap-highlight-color: transparent; outline: none; text-align: left;\\\"><span style=\\\"-webkit-tap-highlight-color: transparent; outline: 0;\\\">选择端口号1-24端口，选择端口类型GENERAL,缺省VLAN为1，稍后再更改</span></div><div style=\\\"-webkit-tap-highlight-color: transparent; outline: 0; text-align: center;\\\"><img src=\\\":/c153f67e07264344b029ef72e6b67ef7\\\" type=\\\"image/jpeg\\\" data-filename=\\\"640.jpg\\\" style=\\\"--en-marks: %7B%22align%22%3A%22center%22%7D; -webkit-tap-highlight-color: transparent; outline: 0; display: initial; __visibility: visible; width: auto; height: auto;\\\" width=\\\"auto\\\"/></div><div style=\\\"-webkit-tap-highlight-color: transparent; outline: none; text-align: left;\\\"><span style=\\\"-webkit-tap-highlight-color: transparent; outline: 0;\\\"><strong style=\\\"-webkit-tap-highlight-color: transparent; outline: 0;\\\">同样配置25，26上联口，端口类型TRUNK</strong></span></div><div style=\\\"-webkit-tap-highlight-color: transparent; outline: 0; text-align: center;\\\"><img src=\\\":/478b17967c1c417fa5a1378d420395a7\\\" type=\\\"image/jpeg\\\" data-filename=\\\"640.jpg\\\" style=\\\"--en-marks: %7B%22align%22%3A%22center%22%7D; -webkit-tap-highlight-color: transparent; outline: 0; display: initial; __visibility: visible; width: auto; height: auto;\\\" width=\\\"auto\\\"/></div><div style=\\\"-webkit-tap-highlight-color: transparent; outline: none; text-align: left;\\\"><span style=\\\"-webkit-tap-highlight-color: transparent; outline: 0;\\\"><strong style=\\\"-webkit-tap-highlight-color: transparent; outline: 0;\\\"><span style=\\\"-webkit-tap-highlight-color: transparent; outline: 0; color: #000; background-color: rgb(0,0,0);\\\">3、开始新建VLAN</span></strong></span></div><div style=\\\"-webkit-tap-highlight-color: transparent; outline: 0; text-align: center;\\\"><img src=\\\":/cc9466de407844cba73b98f7fe0e3ca6\\\" type=\\\"image/jpeg\\\" data-filename=\\\"640.jpg\\\" style=\\\"--en-marks: %7B%22align%22%3A%22center%22%7D; -webkit-tap-highlight-color: transparent; outline: 0; display: initial; __visibility: visible; width: auto; height: auto;\\\" width=\\\"auto\\\"/></div><div style=\\\"-webkit-tap-highlight-color: transparent; outline: none; text-align: left;\\\"><span style=\\\"-webkit-tap-highlight-color: transparent; outline: 0;\\\"><strong style=\\\"-webkit-tap-highlight-color: transparent; outline: 0;\\\">新建VLAN110,端口为1-23，25-26，保留端口24做配置交换机用</strong></span></div><div style=\\\"-webkit-tap-highlight-color: transparent; outline: none; text-align: left;\\\"><span style=\\\"-webkit-tap-highlight-color: transparent; outline: 0;\\\"><strong style=\\\"-webkit-tap-highlight-color: transparent; outline: 0;\\\">端口1-23出口规则为UNTAG，端口25-26为TAG</strong></span></div><div style=\\\"-webkit-tap-highlight-color: transparent; outline: 0; text-align: center;\\\"><img src=\\\":/81afa6051d0b4039aea529acef29649f\\\" type=\\\"image/jpeg\\\" data-filename=\\\"640.jpg\\\" style=\\\"--en-marks: %7B%22align%22%3A%22center%22%7D; -webkit-tap-highlight-color: transparent; outline: 0; display: initial; __visibility: visible; width: auto; height: auto;\\\" width=\\\"auto\\\"/></div><div style=\\\"-webkit-tap-highlight-color: transparent; outline: none; text-align: left;\\\"><span style=\\\"-webkit-tap-highlight-color: transparent; outline: 0;\\\"><strong style=\\\"-webkit-tap-highlight-color: transparent; outline: 0;\\\">新建VLAN204,端口为25-26，出口规则TAG</strong></span></div><div style=\\\"-webkit-tap-highlight-color: transparent; outline: 0; text-align: center;\\\"><img src=\\\":/930d78584cfe4bd697f6b859b8d612fe\\\" type=\\\"image/jpeg\\\" data-filename=\\\"640.jpg\\\" style=\\\"--en-marks: %7B%22align%22%3A%22center%22%7D; -webkit-tap-highlight-color: transparent; outline: 0; display: initial; __visibility: visible; width: auto; height: auto;\\\" width=\\\"auto\\\"/></div><div style=\\\"-webkit-tap-highlight-color: transparent; outline: none; text-align: left;\\\"><span style=\\\"-webkit-tap-highlight-color: transparent; outline: 0;\\\"><strong style=\\\"-webkit-tap-highlight-color: transparent; outline: 0;\\\">新建VLAN1000,端口为1-26，出口规则为TAG</strong></span></div><div style=\\\"-webkit-tap-highlight-color: transparent; outline: 0; text-align: center;\\\"><img src=\\\":/1977d16e96434ee1989609b9da8f942d\\\" type=\\\"image/jpeg\\\" data-filename=\\\"640.jpg\\\" style=\\\"--en-marks: %7B%22align%22%3A%22center%22%7D; -webkit-tap-highlight-color: transparent; outline: 0; display: initial; __visibility: visible; width: auto; height: auto;\\\" width=\\\"auto\\\"/></div><div style=\\\"-webkit-tap-highlight-color: transparent; outline: none; text-align: left;\\\"><span style=\\\"-webkit-tap-highlight-color: transparent; outline: 0;\\\"><strong style=\\\"-webkit-tap-highlight-color: transparent; outline: 0;\\\">新建VLAN4000,端口为24-26，出口规则24为UNTAG,25-26为TAG</strong></span></div><div style=\\\"-webkit-tap-highlight-color: transparent; outline: 0; text-align: center;\\\"><img src=\\\":/b2b3dfe4304f40be9a0cf2994865ff53\\\" type=\\\"image/jpeg\\\" data-filename=\\\"640.jpg\\\" style=\\\"--en-marks: %7B%22align%22%3A%22center%22%7D; -webkit-tap-highlight-color: transparent; outline: 0; display: initial; __visibility: visible; width: auto; height: auto;\\\" width=\\\"auto\\\"/></div><div style=\\\"-webkit-tap-highlight-color: transparent; outline: none; text-align: left;\\\"><span style=\\\"-webkit-tap-highlight-color: transparent; outline: 0;\\\"><strong style=\\\"-webkit-tap-highlight-color: transparent; outline: 0;\\\">配置VLAN如下图</strong></span></div><div style=\\\"-webkit-tap-highlight-color: transparent; outline: 0; text-align: center;\\\"><img src=\\\":/834553b8241b46f9853f523953852e4e\\\" type=\\\"image/jpeg\\\" data-filename=\\\"640.jpg\\\" style=\\\"--en-marks: %7B%22align%22%3A%22center%22%7D; -webkit-tap-highlight-color: transparent; outline: 0; display: initial; __visibility: visible; width: auto; height: auto;\\\" width=\\\"auto\\\"/></div><div style=\\\"-webkit-tap-highlight-color: transparent; outline: none; text-align: left;\\\"><span style=\\\"-webkit-tap-highlight-color: transparent; outline: 0; color: #000; background-color: rgb(0,0,0);\\\"><strong style=\\\"-webkit-tap-highlight-color: transparent; outline: 0;\\\">4、配置PVID</strong></span></div><div style=\\\"-webkit-tap-highlight-color: transparent; outline: none; text-align: left;\\\"><span style=\\\"-webkit-tap-highlight-color: transparent; outline: 0;\\\"><strong style=\\\"-webkit-tap-highlight-color: transparent; outline: 0;\\\">更改前1-23口缺省VLAN为110</strong></span></div><div style=\\\"-webkit-tap-highlight-color: transparent; outline: 0; text-align: center;\\\"><img src=\\\":/51272b60279444bbbebb818fc66924c5\\\" type=\\\"image/jpeg\\\" data-filename=\\\"640.jpg\\\" style=\\\"--en-marks: %7B%22align%22%3A%22center%22%7D; -webkit-tap-highlight-color: transparent; outline: 0; display: initial; __visibility: visible; width: auto; height: auto;\\\" width=\\\"auto\\\"/></div><div style=\\\"-webkit-tap-highlight-color: transparent; outline: none; text-align: left;\\\"><span style=\\\"-webkit-tap-highlight-color: transparent; outline: 0;\\\"><strong style=\\\"-webkit-tap-highlight-color: transparent; outline: 0;\\\">更改24口缺省VLAN为4000</strong></span></div><div style=\\\"-webkit-tap-highlight-color: transparent; outline: 0; text-align: center;\\\"><img src=\\\":/ccb6124527844fc48e28ec496e160391\\\" type=\\\"image/jpeg\\\" data-filename=\\\"640.jpg\\\" style=\\\"--en-marks: %7B%22align%22%3A%22center%22%7D; -webkit-tap-highlight-color: transparent; outline: 0; border-width: 1px; border-style: solid; border-color: rgb(238,237,235); display: initial; background-color: rgb(238,237,235); background-size: 22px; background-position: center center; background-repeat: no-repeat; width: auto; __visibility: visible; height: auto;\\\" width=\\\"auto\\\"/></div><div style=\\\"-webkit-tap-highlight-color: transparent; outline: none; text-align: left;\\\"><span style=\\\"-webkit-tap-highlight-color: transparent; outline: 0;\\\"><strong style=\\\"-webkit-tap-highlight-color: transparent; outline: 0;\\\">更改以后，请将网线插在25或者26口进行配置，管理IP不变</strong></span></div><div style=\\\"-webkit-tap-highlight-color: transparent; outline: none; text-align: left;\\\"><span style=\\\"-webkit-tap-highlight-color: transparent; outline: 0;\\\"><strong style=\\\"-webkit-tap-highlight-color: transparent; outline: 0;\\\">改完24口后登陆如图</strong></span></div><div style=\\\"-webkit-tap-highlight-color: transparent; outline: 0; text-align: center;\\\"><img src=\\\":/98b29be0c3804511a8f50ee5445e67ea\\\" type=\\\"image/jpeg\\\" data-filename=\\\"640.jpg\\\" style=\\\"--en-marks: %7B%22align%22%3A%22center%22%7D; -webkit-tap-highlight-color: transparent; outline: 0; display: initial; __visibility: visible; width: auto; height: auto;\\\" width=\\\"auto\\\"/></div><div style=\\\"-webkit-tap-highlight-color: transparent; outline: none; text-align: left;\\\"><span style=\\\"-webkit-tap-highlight-color: transparent; outline: 0;\\\"><strong style=\\\"-webkit-tap-highlight-color: transparent; outline: 0;\\\">5、修改管理VLAN号和管理IP</strong></span></div><div style=\\\"-webkit-tap-highlight-color: transparent; outline: none; text-align: left;\\\"><span style=\\\"-webkit-tap-highlight-color: transparent; outline: 0;\\\"><span style=\\\"-webkit-tap-highlight-color: transparent; outline: 0; color: rgb(255,0,0);\\\"><strong style=\\\"-webkit-tap-highlight-color: transparent; outline: 0;\\\">系统配置&gt;管理IP</strong></span>。修改管理VLAN为4000，修改管理IP为192.168.200.110</span></div><div style=\\\"-webkit-tap-highlight-color: transparent; outline: 0; text-align: center;\\\"><img src=\\\":/9f143265de9b48a1836bc8f28ad0f87c\\\" type=\\\"image/jpeg\\\" data-filename=\\\"640.jpg\\\" style=\\\"--en-marks: %7B%22align%22%3A%22center%22%7D; -webkit-tap-highlight-color: transparent; outline: 0; display: initial; __visibility: visible; width: auto; height: auto;\\\" width=\\\"auto\\\"/></div><div style=\\\"-webkit-tap-highlight-color: transparent; outline: none; text-align: left;\\\"><span style=\\\"-webkit-tap-highlight-color: transparent; outline: 0;\\\"><strong style=\\\"-webkit-tap-highlight-color: transparent; outline: 0;\\\">需改后电脑失去连接，更改电脑IP地址192.168.200.*，并将网线插入24口</strong></span></div><div style=\\\"-webkit-tap-highlight-color: transparent; outline: 0; text-align: center;\\\"><img src=\\\":/fb2d454bb57d46e687ab5dc10c66f21a\\\" type=\\\"image/jpeg\\\" data-filename=\\\"640.jpg\\\" style=\\\"--en-marks: %7B%22align%22%3A%22center%22%7D; -webkit-tap-highlight-color: transparent; outline: 0; display: initial; __visibility: visible; width: auto; height: auto;\\\" width=\\\"auto\\\"/></div><div style=\\\"-webkit-tap-highlight-color: transparent; outline: none; text-align: left;\\\"><span style=\\\"-webkit-tap-highlight-color: transparent; outline: 0; color: #000; background-color: rgb(0,0,0);\\\"><strong style=\\\"-webkit-tap-highlight-color: transparent; outline: 0;\\\">6、保存配置</strong></span></div><div style=\\\"-webkit-tap-highlight-color: transparent; outline: none; text-align: left;\\\"><span style=\\\"-webkit-tap-highlight-color: transparent; outline: 0;\\\"><strong style=\\\"-webkit-tap-highlight-color: transparent; outline: 0;\\\">输入192.168.200.110重新登陆交换机管理界面，配置保存菜单，选择保存配置，这样一台二层接入交换机就配置好了。</strong></span></div><div style=\\\"-webkit-tap-highlight-color: transparent; outline: 0; text-align: center;\\\"><img src=\\\":/a626f85bcb0f4af8b8773e6d5ef97de4\\\" type=\\\"image/jpeg\\\" data-filename=\\\"640.jpg\\\" style=\\\"--en-marks: %7B%22align%22%3A%22center%22%7D; -webkit-tap-highlight-color: transparent; outline: 0; display: initial; __visibility: visible; width: auto; height: auto;\\\" width=\\\"auto\\\"/></div><div style=\\\"-webkit-tap-highlight-color: transparent; outline: none; text-align: left;\\\"><span style=\\\"-webkit-tap-highlight-color: transparent; outline: 0;\\\">如果想恢复出厂配置，<strong style=\\\"-webkit-tap-highlight-color: transparent; outline: 0;\\\">可以在系统管理&gt;系统工具&gt;软件复位中进行操作。</strong></span></div><div style=\\\"-webkit-tap-highlight-color: transparent; outline: 0; text-align: center;\\\"><img src=\\\":/b23b31af39834f45a02b067e1ab9e489\\\" type=\\\"image/jpeg\\\" data-filename=\\\"640.jpg\\\" style=\\\"--en-marks: %7B%22align%22%3A%22center%22%7D; -webkit-tap-highlight-color: transparent; outline: 0; display: initial; __visibility: visible; width: auto; height: auto;\\\" width=\\\"auto\\\"/></div><div style=\\\"-webkit-tap-highlight-color: transparent; outline: 0;\\\"><span style=\\\"-webkit-tap-highlight-color: transparent; outline: 0; text-align: left;\\\">以上就是关于VLAN的划分方法，仅供学习参考！</span></div></div></div><p style=\\\"-webkit-tap-highlight-color: transparent; text-align: center;\\\"><br style=\\\"-webkit-tap-highlight-color: transparent;\\\"/></p><p style=\\\"-webkit-tap-highlight-color: transparent;\\\">精品学习资料，有弱电、室分工程学习资料。入行必备，培训必备！</p><p style=\\\"-webkit-tap-highlight-color: transparent;\\\"><a href=\\\"http://mp.weixin.qq.com/s?__biz=MzU4NDUyNDgyOA==&amp;mid=2247506529&amp;idx=1&amp;sn=1619e5a59bd1f541dcd9c81ff088b1b9&amp;chksm=fd9aef12caed66048114d21b5d181d13f532513ca7e0af40fe081442861029fd8a3d76c40f17&amp;scene=21#wechat_redirect\\\" style=\\\"-webkit-tap-highlight-color: transparent;\\\" target=\\\"_blank\\\"><strong style=\\\"-webkit-tap-highlight-color: transparent;\\\">好消息，2022年弱电资料更新了，只要49元。买资料，送22年一建资料，学习弱电相关知识，交个弱电专业朋友</strong></a><br style=\\\"-webkit-tap-highlight-color: transparent;\\\"/></p><p style=\\\"-webkit-tap-highlight-color: transparent;\\\">弱电、室分技术交流群，这里高手如云，学习交流好去处！</p><p style=\\\"-webkit-tap-highlight-color: transparent;\\\"><a href=\\\"http://mp.weixin.qq.com/s?__biz=MzU4NDUyNDgyOA==&amp;mid=2247485849&amp;idx=3&amp;sn=f475b2c96fbe71a916263bb6b0754b81&amp;chksm=fd993ceacaeeb5fcca7662a1d9f5e8cd878a56edc65f6ee96f6fc2a38c6ebd4b4b967fe1982e&amp;scene=21#wechat_redirect\\\" style=\\\"-webkit-tap-highlight-color: transparent;\\\" target=\\\"_blank\\\">加入弱电技术交流群，学习交流两不误！</a><br style=\\\"-webkit-tap-highlight-color: transparent;\\\"/></p><p style=\\\"-webkit-tap-highlight-color: transparent;\\\"><br style=\\\"-webkit-tap-highlight-color: transparent;\\\"/></p><p style=\\\"-webkit-tap-highlight-color: transparent; text-align: center;\\\"><img src=\\\":/7829715353d840238ac3e808e0560f43\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks: %7B%22align%22%3A%22center%22%7D; -webkit-tap-highlight-color: transparent; height: auto; width: auto;\\\" width=\\\"auto\\\"/></p><p style=\\\"-webkit-tap-highlight-color: transparent;\\\"><br style=\\\"-webkit-tap-highlight-color: transparent;\\\"/></p></div></div></div></div></div></span>\\\n</div></body></html>\\u0000\"]],\"start1\":0,\"start2\":0,\"length1\":0,\"length2\":30638}]"
metadata_diff: {"new":{"id":"7505c1d1ba4643bcbf0fb9ea07fc0931","parent_id":"f67288c3a0be4374b5d532b5dcc3aabc","latitude":"0.00000000","longitude":"0.00000000","altitude":"0.0000","author":"","source_url":"","is_todo":0,"todo_due":0,"todo_completed":0,"source":"joplin-desktop","source_application":"net.cozic.joplin-desktop","application_data":"","order":1764348825503,"markup_language":2,"is_shared":0,"share_id":"","conflict_original_id":"","master_key_id":"","user_data":"","deleted_time":0},"deleted":[]}
encryption_cipher_text: 
encryption_applied: 0
updated_time: 2025-11-28T21:04:01.899Z
created_time: 2025-11-28T21:04:01.899Z
type_: 13