Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Frame format  



1.1  Double tagging  







2 Other protocols  





3 See also  





4 Notes  





5 References  





6 Sources  














IEEE 802.1Q






Čeština
Deutsch
Español
Français

Hrvatski
Italiano

Norsk bokmål
Polski
Português
Русский
Українська
Tiếng Vit

 

Edit links
 









Article
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Cite this page
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 

(Redirected from 802.3ac)

IEEE 802.1Q, often referred to as Dot1q, is the networking standard that supports virtual local area networking (VLANs) on an IEEE 802.3 Ethernet network. The standard defines a system of VLAN tagging for Ethernet frames and the accompanying procedures to be used by bridges and switches in handling such frames. The standard also contains provisions for a quality-of-service prioritization scheme commonly known as IEEE 802.1p and defines the Generic Attribute Registration Protocol.

Portions of the network which are VLAN-aware (i.e., IEEE 802.1Q conformant) can include VLAN tags. When a frame enters the VLAN-aware portion of the network, a tag is added to represent the VLAN membership.[a] Each frame must be distinguishable as being within exactly one VLAN. A frame in the VLAN-aware portion of the network that does not contain a VLAN tag is assumed to be flowing on the native VLAN.

The standard was developed by IEEE 802.1, a working group of the IEEE 802 standards committee, and continues to be actively revised with notable amendments including IEEE 802.1ad, IEEE 802.1ak and IEEE 802.1s. The 802.1Q-2014 revision incorporated the IEEE 802.1D-2004 standard.[1]

Frame format[edit]

Insertion of 802.1Q tag in an Ethernet frame

802.1Q adds a 32-bit field between the source MAC address and the EtherType fields of the original frame. Under 802.1Q, the maximum frame size is extended from 1,518 bytes to 1,522 bytes. The minimum frame size remains 64 bytes, but a bridge may extend the minimum size frame from 64 to 68 bytes on transmission. This allows a tag to be popped without needing additional padding.[2][3] Two bytes are used for the tag protocol identifier (TPID), the other two bytes for tag control information (TCI). The TCI field is further divided into PCP, DEI, and VID.[4]

802.1Q tag format

16 bits

3 bits

1 bit

12 bits

TPID

TCI

PCP

DEI

VID

Tag protocol identifier (TPID)
A 16-bit field set to a value of 0x8100[b] in order to identify the frame as an IEEE 802.1Q-tagged frame. This field is located at the same position as the EtherType field in untagged frames, and is thus used to distinguish the frame from untagged frames.
Tag control information (TCI)
A 16-bit field containing the following sub-fields:
Priority code point (PCP)
A 3-bit field which refers to the IEEE 802.1p class of service (CoS) and maps to the frame priority level. Different PCP values can be used to prioritize different classes of traffic.[5]
Drop eligible indicator (DEI)
A 1-bit field. (formerly CFI[c]) May be used separately or in conjunction with PCP to indicate frames eligible to be dropped in the presence of congestion.[7]
VLAN identifier (VID)
A 12-bit field specifying the VLAN to which the frame belongs. The values of 0 and 4095 (0x000 and 0xFFF in hexadecimal) are reserved. All other values may be used as VLAN identifiers, allowing up to 4,094 VLANs. The reserved value 0x000 indicates that the frame does not carry a VLAN ID; in this case, the 802.1Q tag specifies only a priority (in PCP and DEI fields) and is referred to as a priority tag. On bridges, VID 0x001 (the default VLAN ID) is often reserved for a network management VLAN; this is vendor-specific. The VID value 0xFFF is reserved for implementation use; it must not be configured or transmitted. 0xFFF can be used to indicate a wildcard match in management operations or filtering database entries.[8]

For frames (other than 802.3 frames) using Subnetwork Access Protocol (SNAP) encapsulation with an organizationally unique identifier (OUI) field of 00-00-00 (so that the protocol ID field in the SNAP header is an EtherType as specified in RFC 1042), the EtherType value in the SNAP header is set to 0x8100 and the aforementioned extra 4 bytes are appended after the SNAP header.[9] In other words the VLAN tag follows the SNAP header. For 802.3 frames in LLC-SNAP format, the order is opposite; the VLAN tag is placed before the LLC-SNAP header.

Because inserting the VLAN tag changes the frame, 802.1Q encapsulation forces a recalculation of the original frame check sequence field in the Ethernet trailer.

The IEEE 802.3ac standard increased the maximum Ethernet frame size from 1518 bytes to 1522 bytes to accommodate the four-byte VLAN tag. Some network devices that do not support the larger frame size will process these frames successfully but may report them as "baby giant" anomalies.[10]

Double tagging[edit]

IEEE 802.1ad introduced the concept of double tagging. Double tagging can be useful for Internet service providers (ISPs), allowing them to use their VLANs internally while carrying traffic from clients that is already VLAN tagged. The outer (next to source MAC and representing ISP VLAN) S-TAG (service tag) comes first, followed by the inner C-TAG (customer tag). In such cases, 802.1ad specifies a TPID of 0x88a8 for service-provider outer S-TAG.

Insertion of 802.1ad double tag in an Ethernet frame

Other protocols[edit]

IEEE 802.1Q defines the Multiple VLAN Registration Protocol (MVRP), an application of the Multiple Registration Protocol, allowing bridges to negotiate the set of VLANs to be used over a specific link. MVRP replaced the slower GARP VLAN Registration Protocol (GVRP) in 2007 with the IEEE 802.1ak-2007 amendment.

The 2003 revision of the standard was the first to include the Multiple Spanning Tree Protocol (MSTP) which was originally defined in IEEE 802.1s.

See also[edit]

Notes[edit]

  1. ^ VLAN membership is determined by the frame's port or the port/protocol combination, depending on whether port-based or port-and-protocol-based VLAN classification is being used.
  • ^ The prefix 0x indicates hexadecimal notation
  • ^ This field was formerly designated Canonical Format Indicator (CFI) with a value of 0 indicating a MAC address in canonical format. It is always set to zero for Ethernet. CFI was used for compatibility between Ethernet and Token Ring networks. If a frame received at an Ethernet port had a CFI set to 1, then that frame would not be bridged to an untagged port.[6]
  • References[edit]

  • ^ Per IEEE 802.1Q Annex G.2.3 Minimum PDU size
  • ^ "Inter-Switch Link and IEEE 802.1Q Frame Format". Cisco Systems. Retrieved 2019-09-26.
  • ^ IEEE 802.1Q-2011 clause 9.6
  • ^ IEEE 802.1Q I.4 Traffic types and priority values
  • ^ IEEE 802.1Q-2005 clause 9.6
  • ^ IEEE 802.1Q-2011 clause 6.9.3
  • ^ IEEE 802.1Q-2005, 9.6 VLAN Tag Control Information
  • ^ IEEE 802.1Q-2011 clause 9.4 Tag Protocol Identifier (TPID) formats
  • ^ Understanding Baby Giant/Jumbo Frames Support on Catalyst 4000/4500 with Supervisor III/IV (PDF), archived from the original (PDF) on 2015-04-02
  • Sources[edit]

    Current

  • 693
  • 730
  • 754
  • 854
  • 828
  • 829
  • 896
  • 1003
  • 1014
  • 1016
  • 1076
  • 1149.1
  • 1154
  • 1164
  • 1275
  • 1278
  • 1284
  • 1355
  • 1394
  • 1451
  • 1497
  • 1516
  • 1541
  • 1547
  • 1584
  • 1588
  • 1596
  • 1603
  • 1613
  • 1619
  • 1666
  • 1667
  • 1675
  • 1685
  • 1722
  • 1733
  • 1800
  • 1801
  • 1815
  • 1849
  • 1850
  • 1855
  • 1900
  • 1901
  • 1902
  • 1904
  • 1905
  • 2030
  • 2050
  • 11073
  • 12207
  • 14764
  • 16085
  • 16326
  • 29148
  • 42010
  • 802 series

    802

  • .4
  • .5
  • .6
  • .7
  • .8
  • .9
  • .10
  • .12
  • .14
  • .16
  • .17
  • .18
  • .20
  • .21
  • .22
  • .24
  • 802.1

  • p
  • Q
  • Qav
  • Qat
  • Qay
  • w
  • X
  • ab
  • ad
  • AE
  • ag
  • ah
  • ak
  • aq
  • AS
  • AX (LACP)
  • az
  • BA
  • 802.3
    (Ethernet)

  • a
  • b
  • d
  • e
  • i
  • j
  • u
  • x
  • y
  • z
  • ab
  • ac
  • ad
  • ae
  • af
  • ah
  • ak
  • an
  • aq
  • at
  • au
  • av
  • az
  • ba
  • bt
  • bu
  • by
  • bz
  • ca
  • cb
  • cc
  • cd
  • ce
  • cg
  • ch
  • ck
  • cm
  • cn
  • cp
  • cq
  • cr
  • cs
  • ct
  • cu
  • cv
  • cw
  • cx
  • cy
  • cz
  • da
  • db
  • dd
  • de
  • df
  • 802.11
    (Wi-Fi)

  • legacy mode
  • a
  • b
  • c
  • d
  • e
  • f
  • g
  • h
  • i
  • j
  • k
  • n (Wi-Fi 4)
  • p
  • r
  • s
  • u
  • v
  • w
  • y
  • z
  • aa
  • ac (Wi-Fi 5)
  • ad (WiGig)
  • ae
  • af
  • ah
  • ai
  • aj
  • ak
  • aq
  • ax (Wi-Fi 6)
  • ay
  • az
  • ba
  • bb
  • bc
  • bd
  • be (Wi-Fi 7)
  • bf
  • bh
  • bi
  • bk
  • bn (Wi-Fi 8)
  • 802.15

  • .2
  • .3
  • .4 (Zigbee)
  • .4a
  • .4b
  • .4c
  • .4d
  • .4e
  • .4f
  • .4g
  • .4z
  • .5
  • .6
  • .7
  • Proposed

  • P1619
  • P1699
  • P1823
  • P1906.1
  • Superseded

  • 830
  • 1219
  • 1233
  • 1362
  • 1364
  • 1471
  • See also
    IEEE Standards Association
    Category:IEEE standards


    Retrieved from "https://en.wikipedia.org/w/index.php?title=IEEE_802.1Q&oldid=1233342394"

    Categories: 
    IEEE 802
    Ethernet standards
    Link protocols
    Hidden categories: 
    Articles with short description
    Short description matches Wikidata
     



    This page was last edited on 8 July 2024, at 15:31 (UTC).

    Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



    Privacy policy

    About Wikipedia

    Disclaimers

    Contact Wikipedia

    Code of Conduct

    Developers

    Statistics

    Cookie statement

    Mobile view



    Wikimedia Foundation
    Powered by MediaWiki