
GS-4012F User’s Guide
Chapter 8 VLAN
81
C
H A P T E R
8
VLAN
The type of screen you see here depends on the
VLAN Type
you selected in the
Switch Setup
screen. This chapter shows you how to configure 802.1Q tagged and port-based VLANs.
8.1 Introduction to IEEE 802.1Q Tagged VLANs
A tagged VLAN uses an explicit tag (VLAN ID) in the MAC header to identify the VLAN
membership of a frame across bridges - they are not confined to the switch on which they were
created. 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, starts
after the source address field of the Ethernet frame).
The CFI (Canonical Format Indicator) is a single-bit flag, always set to zero for Ethernet
switches. If a frame received at an Ethernet port has a CFI set to 1, then that frame should not
be forwarded as it is to an untagged port. The remaining twelve bits define the VLAN ID,
giving a possible maximum number of 4,096 (212) VLANs. 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. 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.
8.1.1 Forwarding Tagged and Untagged Frames
VLAN group ID (or VID) is a unique number than identifies a VLAN. A port VID (PVID) is
the VID associated to a physical port. A PVID defines the VLAN group to which a port
belongs.
Each port on the switch is capable of passing tagged or untagged frames. To forward a frame
from an 802.1Q VLAN-aware switch to an 802.1Q VLAN-unaware switch, the switch first
decides where to forward the frame and then strips off the VLAN tag. To forward a frame
from an 802.1Q VLAN-unaware switch to an 802.1Q VLAN-aware switch, the switch first
decides where to forward the frame, and then inserts a VLAN tag reflecting the ingress port's
default VID. The default PVID is VLAN 1 for all ports, but this can be changed.
TPID
2 Bytes
User Priority
3 Bits
CFI
1 Bit
VLAN ID
12 bits
Содержание GS-4012F
Страница 1: ...GS 4012F Ethernet Switch User s Guide Version 3 60 4 2005...
Страница 19: ...GS 4012F User s Guide 18 Table of Contents...
Страница 25: ...GS 4012F User s Guide 24 List of Figures...
Страница 29: ...GS 4012F User s Guide 28 List of Tables...
Страница 39: ...GS 4012F User s Guide 38 Chapter 1 Getting to Know Your Switch...
Страница 43: ...GS 4012F User s Guide 42 Chapter 2 Hardware Installation and Connection...
Страница 49: ...GS 4012F User s Guide 48 Chapter 3 Hardware Overview...
Страница 63: ...GS 4012F User s Guide 62 Chapter 5 Initial Setup Example...
Страница 69: ...GS 4012F User s Guide 68 Chapter 6 System Status and Port Statistics...
Страница 101: ...GS 4012F User s Guide 100 Chapter 11 Spanning Tree Protocol...
Страница 113: ...GS 4012F User s Guide 112 Chapter 15 Link Aggregation...
Страница 117: ...GS 4012F User s Guide 116 Chapter 16 Port Authentication...
Страница 125: ...GS 4012F User s Guide 124 Chapter 18 Classifier Figure 53 Classifier Example...
Страница 131: ...GS 4012F User s Guide 130 Chapter 19 Policy Rule Figure 56 Policy Example...
Страница 135: ...GS 4012F User s Guide 134 Chapter 20 Queuing Method...
Страница 141: ...GS 4012F User s Guide 140 Chapter 21 VLAN Stacking...
Страница 183: ...GS 4012F User s Guide 182 Chapter 30 VRRP...
Страница 203: ...GS 4012F User s Guide 202 Chapter 32 Access Control...
Страница 205: ...GS 4012F User s Guide 204 Chapter 33 Diagnostic...
Страница 219: ...GS 4012F User s Guide 218 Chapter 38 Routing Table...
Страница 267: ...GS 4012F User s Guide 266 Chapter 40 Command Examples...
Страница 277: ...GS 4012F User s Guide 276 Chapter 41 IEEE 802 1Q Tagged VLAN Commands...
Страница 287: ...GS 4012F User s Guide 286 Chapter 42 Troubleshooting...
Страница 291: ...GS 4012F User s Guide 290 Product Specifications...
Страница 299: ...GS 4012F User s Guide 298 IP Subnetting...