Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

802.1Q VLAN (dot1q)

Reached from

Lower layerSelectorValue
ethernet2ethertype33024 (0x8100)
dot1qethertype33024 (0x8100)
dot1adethertype33024 (0x8100)
snappid33024 (0x8100)

Fields

FieldTypeDefaultAutoDescription
pcpuint(3)0Priority code point (802.1p class of service, 0 to 7).
deiuint(1)0Drop eligible indicator.
viduint(12)1VLAN identifier (1 to 4094; 0 = priority tag only, 4095 is reserved).
ethertypeenum(16)34997 (local_experimental)Protocol number of the next layer (see Next layer)EtherType of the layer after the tag (Auto; 0x8100 for another 802.1Q tag).

ethertype

ValueName
2048 (0x0800)ipv4
2054 (0x0806)arp
33024 (0x8100)vlan
34525 (0x86dd)ipv6
34997 (0x88b5)local_experimental
35045 (0x88e5)macsec
35063 (0x88f7)ptp
35074 (0x8902)cfm

Next layer

The next layer is selected by ethertype; when the field is Auto the builder writes the value of the protocol stacked above.

ValueProtocolNote
2048 (0x0800)ipv4
34525 (0x86dd)ipv6
2054 (0x0806)arp
33024 (0x8100)dot1q
34984 (0x88a8)dot1ad
35045 (0x88e5)macsec
35063 (0x88f7)ptp
35063 (0x88f7)ptp_sync
35063 (0x88f7)ptp_delay_req
35063 (0x88f7)ptp_pdelay_req
35063 (0x88f7)ptp_pdelay_resp
35063 (0x88f7)ptp_follow_up
35063 (0x88f7)ptp_delay_resp
35063 (0x88f7)ptp_pdelay_resp_follow_up
35063 (0x88f7)ptp_announce
35063 (0x88f7)ptp_signaling
35063 (0x88f7)ptp_management
35074 (0x8902)cfm
35074 (0x8902)cfm_ccm
35074 (0x8902)cfm_lbr
35074 (0x8902)cfm_lbm
35074 (0x8902)cfm_ltr
35074 (0x8902)cfm_ltm
35074 (0x8902)cfm_ais
35074 (0x8902)cfm_lck
35074 (0x8902)cfm_tst
35074 (0x8902)cfm_raps
35074 (0x8902)cfm_lmr
35074 (0x8902)cfm_lmm
35074 (0x8902)cfm_1dm
35074 (0x8902)cfm_dmr
35074 (0x8902)cfm_dmm
35074 (0x8902)cfm_csf
35074 (0x8902)cfm_1sl
35074 (0x8902)cfm_slr
35074 (0x8902)cfm_slm

Constraints

LevelRule
warningvid ≠ 4095

Sample templates