没有合适的资源?快使用搜索试试~ 我知道了~
合勤交换机802.1qvlan划分[整理].pdf
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
5星 · 超过95%的资源 1 下载量 27 浏览量
2021-10-13
02:22:57
上传
评论
收藏 2.09MB PDF 举报
温馨提示
试读
21页
合勤交换机802.1qvlan划分[整理].pdf
资源推荐
资源详情
资源评论
Virtual Local Area Network
(802.1Q Tag-based VLAN)
Ethernet Switch
ZyNOS 3.8
Support Notes
Version 3.80
August 2007
VLAN Support Note
All contents copyright (c) 2007 ZyXEL Communications Corporation.
2
Separating a physical network into many virtual
networks
What is Virtual LAN?
?
VLAN Overview
A VLAN (Virtual Local Area Network) allows a physical network to be
partitioned into multiple logical networks. Stations on a logical network belong
to one group called VLAN Group. A station can belong to more than one group.
The stations in the same VLAN group can communicate with each other. With
VLAN, a station cannot directly talk to or hear from stations that are not in the
same VLAN group(s); the traffic must first go through a router.
In MTU or IP-DSLAM applications, VLAN is vital for providing isolation and
security among the subscribers. When properly configured, VLAN prevents
one subscriber from accessing the network resources of another one on the
same LAN. Therefore, a user will not see the printers and hard disks of another
user in the same building.
VLAN also increases network performance by limiting broadcasts to a smaller
and more manageable logical broadcast domain. A VLAN group is a broadcast
domain. In traditional Layer-2 switched environments, all broadcast packets go
to each and every individual port. With VLAN, all broadcasts are confined to a
specific broadcast domain.
There are two most popular VLAN implementations, Port-based VLAN and
IEEE 802.1q Tagged VLAN. ZyXEL Managed Switch supports both VLAN
implementations. The biggest difference between both VLAN implementations
is that Tagged VLAN can across Layer-2 switch but Port-based VLAN cannot.
VLAN Support Note
All contents copyright (c) 2007 ZyXEL Communications Corporation.
3
What is IEEE 802.1Q Tag-based VLAN?
? Tag-based VLAN Overview
Regarding the IEEE 802.1Q standard, Tag-based VLAN uses an extra tag in
the MAC header to identify the VLAN membership of a frame going across the
bridges. This tag is used for VLAN and QoS (Quality of Service) priority
identification. The VLANs can be created statically by hand or dynamically
through GVRP . The VLAN ID associates a frame with a specific VLAN and
provides the information that switches need to process the frame across the
network. A tagged frame is four bytes longer than an untagged frame and
contains two bytes of TPID (Tag Protocol Identifier, residing within the
type/length field of the Ethernet frame) and two bytes of TCI (Tag Control
Information, starting behind the source address field of the Ethernet frame).
? TPID: TPID has a defined value of 8100 in hex. When a frame has the
EtherType equal to 8100, this frame carries the tag IEEE 802.1Q / 802.1P .
? Priority: The first three bits of the TCI define user priority, giving eight (2^3)
priority levels. IEEE 802.1P defines the operation for these 3 user priority bits.
? CFI: Canonical Format Indicator is a single-bit flag, always set to zero for
Ethernet switches. CFI is used for the reason of compatibility between
Ethernet type network and Token Ring type network. If a frame received at an
VLAN Support Note
All contents copyright (c) 2007 ZyXEL Communications Corporation.
4
Ethernet port has a CFI set to 1, then that frame should not be forwarded to an
untagged port.
? VID: VLAN ID is the identification of the VLAN, which is basically used by the
802.1Q standard. It has 12 bits and allows the identification of 4096 (2^12)
VLANs. Of the 4096 possible VIDs, a VID of 0 is used to identify priority
frames and value 4095 (FFF) is reserved, so the maximum possible VLAN
configurations are 4,094.
Note that user priority and VLAN ID are independent of each other. A frame
with VID (VLAN Identifier) of null (0) is called a priority frame, meaning that
only the priority level is significant and the default VID of the ingress port is
given as the VID of the frame.
?
How 802.1Q VLAN works
According to the VID information in the tag, the switch forwards and filters the
frames among ports. The ports with the same VID can communicate with each
other. IEEE 802.1Q VLAN function contains the following three tasks, Ingress
Process, Forwarding Process and Egress Process.
VLAN Support Note
All contents copyright (c) 2007 ZyXEL Communications Corporation.
5
I. Ingress Process:
Each port is capable of passing tagged or untagged frames.
Ingress Process
identifies if the incoming frames contain tag and
classifies the incoming frames
belonging to a VLAN
. Each port has its own Ingress rule. If Ingress rule accepts
tagged frames only, the switch port will drop all incoming non-tagged frames. If
Ingress rule accept all frame types, the switch port simultaneously allows the
incoming tagged and untagged frames:
? When a tagged frame is received on a port, it carries a tag header that has
explicit VID. Ingress Process directly passes the tagged frame to Forwarding
Process.
? An untagged frame doesn't carry any VID stating to which VLAN it belongs.
When an untagged frame is received, Ingress Process inserts a tag containing
the PVID into the untagged frame. Each physical port has a default VID called
PVID (Port VID). PVID is assigned to untagged frames or priority tagged
frames (frames with null (0) VID) received on this port.
After Ingress Process, all frames have 4-bytes tag and VID information, and
then go to Forwarding Process.
II. Forwarding Process:
The Forwarding Process decides how to forward the received frames
according to the Filtering Database. If you want to allow the tagged frames to
be forwarded to certain port, this port must be the egress port of this VID. The
egress port is an outgoing port for the specified VLAN, that is, frames with
specified VID tag can go through this port. The Filtering Database stores and
organizes VLAN registration information useful for switching frames to and
剩余20页未读,继续阅读
资源评论
- gunhuo2023-08-31感谢大佬分享的资源,对我启发很大,给了我新的灵感。
cyh76339129
- 粉丝: 1
- 资源: 14万+
下载权益
C知道特权
VIP文章
课程特权
开通VIP
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- XILINXFPGA源码Xilinxspratan3xcs100E(VGAPS2)
- XILINXFPGA源码XilinxSPARTAN-3E入门开发板实例
- XILINXFPGA源码XilinxSdramVerilog和VHDL版本文档
- 物联网智能家居方案-基于Nucleo-STM32L073&机智云(大赛作品,文档齐全,可直接运行)(文档加Matlab源码)
- XILINXFPGA源码XilinxISE9.xFPGACPLD设计源码
- 成都市地图含高新区(高新南区,高新西区),天府新区,东部新区虚拟行政区划
- XILINXFPGA源码XilinxEDK设计试验
- XILINXFPGA源码XilinxEDKMicroBlaze内置USB固件程序
- 基于 django 的视频点播后台管理系统源代码+数据库
- 基于Java的网上医院预约挂号系统的设计与实现(部署视频)-kaic.mp4
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功