802.1Q tag decoder and trunk VLAN calculator

Decode an 802.1Q tag or a frame's start: TPID, PCP with its traffic type, DEI and VID with the bits laid out, stacked 802.1ad tags and the EtherType that follows, named from IANA's list. Or paste the trunk lines of both ends, in Cisco IOS XE, Junos, AOS-CX, RouterOS, Switch Engine, Fabric Engine, Arista EOS or Huawei VRP syntax, and see which VLANs cross, which one end drops, and where the native VLANs disagree.

Networking

Kept in this browser · My desk

Octets in hexadecimal: a tag, or a frame's start
The octets start at

Two hexadecimal digits an octet, with spaces, colons, hyphens or dots between them (a capture tool's hex view pastes as it is). Auto reads octets that start with 0x8100, 0x88A8 or 0x9100 as a tag, and anything else of 14 octets or more as a frame's start: destination MAC, source MAC, then tags.

Runs in your browser: nothing you paste leaves this page.

Paste the octets of a tag or of a frame's start, or press Example for the course lab's voice VLAN.

API endpointGEThttps://ronutz.com/api/v1/vlan-tag-and-trunk-calculatorDocumented, not served. Opens the specification.

References