Planner · runs in your browser

VLAN port plan builder

Draft your switch like a weaver's draft: VLANs are the threads, ports are the rows, and each crossing says whether that VLAN passes the port untagged, tagged or not at all. The result is a planning estimate of what to configure, not a test of any switch.

Name your VLANs

The rows start with an example plan. Replace it with your own, or (or ).

Up to 12 VLANs and 48 ports.

Mark each port

For every port, choose Untagged for the one VLAN whose frames cross that port without a tag, and Tagged for any VLANs that cross it with a tag.

A whole number from 1 to 48. Reducing the number removes the assignments (and names) of the ports after the last one kept.

Checks and port table

Ports

PortNameUntagged egressAssumed ingress PVIDTaggedRole

VLANs

VLAN IDNameUntagged onTagged onC-tag bytes if tagged12-bit VID

C-tag bytes: for a single IEEE 802.1Q customer tag, the two-byte TPID 0x8100 then the two-byte TCI, assuming priority 0 and CFI bit 0. Shown only for valid, unique VLAN IDs. The Assumed ingress PVID column is a planner assumption: it takes the one VLAN you mark Untagged on a port, and some devices set untagged egress and the ingress PVID separately.

Plan as text

   

How the checks work

VLAN ID range
The VLAN ID (VID) in an IEEE 802.1Q tag is a 12-bit field, so it holds 0 to 4095. Two values are set aside: 0 is the null VID, meaning the tag carries a priority but no VLAN ID, and 4095 (FFF in hex) is reserved. That leaves 1 to 4094; anything else is an error here. Sources [1], [2] and [3].
One untagged VLAN per port
Each port has one PVID (port VLAN ID): the VLAN that incoming untagged frames join, which is an ingress setting. Untagged egress, whether a VLAN's frames leave the port without a tag, is a separate setting in the standard's bridge model (RFC 4363 describes both). This planner pairs them as an assumption: it shows the one VLAN you mark Untagged on a port as both the untagged egress VLAN and the assumed ingress PVID, and shows Unspecified when none is marked. If two or more VLANs are marked Untagged on one port it cannot infer a PVID, shows Resolve conflict, and warns. It is a warning, not an error, because some devices configure egress separately and the decision is yours. Source [4].
Duplicates and gaps
The same VLAN ID twice is an error, and every row that shares the ID is marked, with its tag bytes left blank. A port that uses a marked row is shown as unresolved, and its selections are kept so you can fix the ID. A port in no VLAN, or a VLAN on no port, gets a note.
Tag bytes
For a single IEEE 802.1Q customer tag (C-tag), the four bytes are the two-byte TPID 0x8100 followed by the two-byte TCI (tag control information). TCI = priority × 8192 + CFI × 4096 + VID, where the priority is 3 bits and CFI is the single bit after it (source [2] names it CFI, the canonical format identifier; source [3] labels it C). The planner assumes priority 0 and that bit 0, so the TCI equals the VLAN ID. VLAN 10 becomes 81 00 00 0A in the "C-tag bytes if tagged" column. Stacked tags (such as 802.1ad) are not modelled. Sources [2] and [3].
Roles
Access: untagged in one VLAN and tagged in none. Trunk: tagged in at least one VLAN, with at most one untagged. Unused: in no VLAN. These are plain labels for the table, not settings.
What it does not know
Your switch. Each switch has its own defaults for VLAN 1, the management VLAN, ingress filtering and how trunks treat untagged frames. Check its manual before you apply the plan, and keep a way back in. For one worked example, see the MikroTik CRS3xx bridge VLAN filtering guide.

Nothing you type is stored or sent. Reloading the page brings back the example.

Sources

  1. IEEE 802.1Q-2022, IEEE Standard for Local and Metropolitan Area Networks—Bridges and Bridged Networks, IEEE Standards Association. The standard these rules come from. Its web page identifies the standard and edition; it does not show the field layout, so the rules above cite readable references. Numbers in square brackets point to this list.
  2. VLAN tagging, Siemens. The four-byte tag and the VLAN ID table.
  3. RFC 6325, Routing Bridges (RBridges): Base Protocol Specification, IETF. Section 4.1.1: the C-tag type 0x8100, the 3-bit priority, the single bit after it and the 12-bit VLAN ID, with VLAN ID 0 as the null identifier and 0xFFF as reserved.
  4. RFC 4363, Definitions of Managed Objects for Bridges with Traffic Classes, Multicast Filtering, and Virtual LAN Extensions, IETF. The default PVID of 1 and untagged egress membership as separate settings.