VLAN frame encapsulation (2024)

In order that a network device can identify frames of different VLANs, a VLAN tag field is inserted into the data link layer encapsulation.

The format of VLAN-tagged frames is defined in IEEE 802.1Q issued in 1999.

As shown in Figure 3, in the header of a traditional Ethernet data frame, the field after the destination MAC address and the source MAC address (DA & SA) field is the Type field, which indicates the upper layer protocol type.

Figure 3: Traditional Ethernet frame format

VLAN frame encapsulation (1)

IEEE 802.1Q inserts a 4-byte VLAN tag between the DA & SA field and the Type field to identify the VLAN information, as shown in Figure 4.

Figure 4: Position and format of VLAN tag

VLAN frame encapsulation (2)

The fields of a VLAN tag are as follows:

  • TPID—The 16-bit TPID field indicates whether a frame is VLAN-tagged. By default, the TPID value is 0x8100, which indicates that the frame is VLAN-tagged. Devices vendors can set the TPID to different values. For compatibility with these devices, modify the TPID value so that frames carry a TPID value identical to the value of a particular vendor, allowing interoperability with devices from that vendor. The device determines whether a received frame carries a VLAN tag by checking the TPID value. When the TPID value of a frame is the configured value or 0x8100, the frame is considered as a VLAN-tagged frame. For information about commands used to modify TPID values, see "Configuring VLAN termination."

  • Priority—The 3-bit priority field indicates the 802.1p priority of the frame. For more information, see HPE FlexNetwork MSR Router Series Comware 5 ACL and QoS Configuration Guide.

  • CFI—The 1-bit CFI field indicates whether the MAC addresses are encapsulated in standard format when packets are transmitted across different media. A value of 0 indicates that MAC addresses are encapsulated in standard format. A value of 1 indicates that MAC addresses are encapsulated in a non-standard format. The value of this field is 0 by default.

  • VLAN ID—The 12-bit VLAN ID field identifies the VLAN that the frame belongs to. The VLAN ID range is 0 to 4095. Because 0 and 4095 are reserved, a VLAN ID is actually in the range of 1 to 4094.

A network device handles an incoming frame depending on whether the frame is VLAN tagged and the value of the VLAN tag, if any. For more information, see "Introduction to port-based VLAN."

Ethernet supports encapsulation formats Ethernet II, 802.3/802.2 LLC, 802.3/802.2 SNAP, and 802.3 raw. The Ethernet II encapsulation format is used here. For how the VLAN tag fields are added to frames encapsulated in these formats for VLAN identification, see related protocols and standards.

When a frame carrying multiple VLAN tags passes through, the device processes the frame according to its outer VLAN tag, and transmits the inner tags as payload.

VLAN frame encapsulation (2024)
Top Articles
Financial Distress: Definition, Signs, and Remedies
$1.46 million? $3 million? Financial experts say there’s no such thing as a single ‘magic’ retirement number
WALB Locker Room Report Week 5 2024
Why Are Fuel Leaks A Problem Aceable
Custom Screensaver On The Non-touch Kindle 4
Craigslist Warren Michigan Free Stuff
Cold Air Intake - High-flow, Roto-mold Tube - TOYOTA TACOMA V6-4.0
Vaya Timeclock
CHESAPEAKE WV :: Topix, Craigslist Replacement
Chase Claypool Pfr
Tabler Oklahoma
Where's The Nearest Wendy's
Craigslist Free Grand Rapids
William Spencer Funeral Home Portland Indiana
Funny Marco Birth Chart
RBT Exam: What to Expect
Sam's Club La Habra Gas Prices
Star Wars: Héros de la Galaxie - le guide des meilleurs personnages en 2024 - Le Blog Allo Paradise
Everything We Know About Gladiator 2
Convert 2024.33 Usd
Itziar Atienza Bikini
Spoilers: Impact 1000 Taping Results For 9/14/2023 - PWMania - Wrestling News
Craigslist Toy Hauler For Sale By Owner
Gentle Dental Northpointe
Jet Ski Rental Conneaut Lake Pa
How your diet could help combat climate change in 2019 | CNN
Shopmonsterus Reviews
Evil Dead Rise Showtimes Near Regal Sawgrass & Imax
Shadbase Get Out Of Jail
When Does Subway Open And Close
Is Henry Dicarlo Leaving Ktla
Firefly Festival Logan Iowa
3 Ways to Drive Employee Engagement with Recognition Programs | UKG
Scott Surratt Salary
Shiny Flower Belinda
Login.castlebranch.com
Current Students - Pace University Online
031515 828
Chase Bank Cerca De Mí
Indiana Wesleyan Transcripts
Junee Warehouse | Imamother
How to Draw a Sailboat: 7 Steps (with Pictures) - wikiHow
Thelemagick Library - The New Comment to Liber AL vel Legis
Below Five Store Near Me
Lamp Repair Kansas City Mo
Autozone Battery Hold Down
Noga Funeral Home Obituaries
Adams-Buggs Funeral Services Obituaries
Naomi Soraya Zelda
La Fitness Oxford Valley Class Schedule
Latest Posts
Article information

Author: Barbera Armstrong

Last Updated:

Views: 6245

Rating: 4.9 / 5 (79 voted)

Reviews: 94% of readers found this page helpful

Author information

Name: Barbera Armstrong

Birthday: 1992-09-12

Address: Suite 993 99852 Daugherty Causeway, Ritchiehaven, VT 49630

Phone: +5026838435397

Job: National Engineer

Hobby: Listening to music, Board games, Photography, Ice skating, LARPing, Kite flying, Rugby

Introduction: My name is Barbera Armstrong, I am a lovely, delightful, cooperative, funny, enchanting, vivacious, tender person who loves writing and wants to share my knowledge and understanding with you.