Access/Hybrid/Trunk 端口模式及区别
来源:互联网 发布:淘宝卖家公益宝贝计划 编辑:程序博客网 时间:2024/05/20 10:52
Access/Hybrid/Trunk 端口模式及区别
2010-10-27
在工作和交流中,总会有人为Hybrid和Trunk的概念和区别争吵,前几天面试的时候还和面试官争论了起来, 现做一个总结和概念涔清。
首先看下 IEEE-820.1Q-1998中 Annex D: Backgroud of Vlan 中的定义,
Trunk Links
All frames, including end station frames, on a Trunk Link are VLAN-tagged.
Access Links
All frames on an Access Link carry no VLAN identification;
Hybrid Links
A Hybrid Link can carry both VLAN-tagged frames and other (untagged or priority-
tagged) frames. It must be borne in mind that, for a given VLAN, all frames transmitted by a given
Bridge on a given hybrid link must be tagged the same way on that link. They must be either
a) All untagged; or
b) All tagged, carrying the same VLAN ID.
All, A Hybrid link in which all frames are VLAN-tagged is a Trunk Link. Conversely, a Hybrid Link that has no
VLAN-tagged frames is an Access Link. The distinction between Access and Trunk becomes less important
也就是说如IEEE-802.1Q 1998-2003中定义的, Trunk端口只能接收和发送带Tag报文; Access只能接收和发送Untag报文;Hybrid可以同时处理Tag和Untag报文;
但是, 随着市场和各芯片厂家的实现区别, 有些在Trunk上也加入了Pvid的概念, 所以在2005版的IEEE-802.1Q时, 放弃了对端口模式的严格定义, 如下原文,
Annex D
(informative)
Background to VLANs
In IEEE Std 802.1Q, 2004 Edition, and in previous revisions of this standard, the text in this annex contained
tutorial material that related the terminology and concepts introduced IEEE Std 802.1Q to the terminology
and concepts that were current in the VLAN market at that time. As that material is now of only historical
interest, and has no particular relevance to present-day usage, it has been removed.
This annex will be removed in the next revision of this standard.
所以, 争论Trunk和Hybrid区别已经没有意义, 标准已经放弃了定义, 各厂家实现也不一样, 但是要明白其中的处理流程才是最重要的。
- Access/Hybrid/Trunk 端口模式及区别
- 华为端口access、trunk、hybrid模式
- Access、Hybrid和Trunk端口
- 交换机端口的三种模式access,trunk,hybrid
- 端口Access、Hybrid和Trunk三种模式的理解
- vlan与交换机端口模式Access,Hybrid,Trunk
- access trunk hybrid的区别
- access trunk hybrid的区别
- Access&trunk&hybrid端口处理小结
- 以太网端口:access、trunk、hybrid浅析
- 交换机access trunk hybrid模式详解
- 交换机TRUNK ACCESS HYBRID模式的理解
- 交换机access trunk hybrid模式详解
- vlan简介,access、trunk、hybrid的区别。
- vlan简介,access、trunk、hybrid的区别。
- 交换机三种端口模式Access、Hybrid和Trunk的理解
- 交换机三种端口模式Access、Hybrid和Trunk的理解
- 以太网交换机三种端口模式Access、Hybrid和Trunk的理解
- 代码重构学习笔记
- system 权限下键盘记录
- python调试
- IIS搭建配置,目录权限设置
- 用户,角色,群组,菜单权限控制
- Access/Hybrid/Trunk 端口模式及区别
- 小存储嵌入式设备上使用thttpd进行文件上传遇到的问题
- C# 2005 & .Net 3.0高级编程 勘误(五)
- sitemesh的简单回顾
- 在struts中使用Validator框架
- load的小结
- 一张图片汇聚全部linux常用命令
- java中defalut和friendly的区别
- Reuse your Hibernate/JPA domain model with Grails