TAGS Calculator
Tag-Aware Generator Sizing for RFC 2544 / Y.1564 Ethernet service activation tests. Calculate maximum safe offered load per frame size, accounting for VLAN tag overhead in multi-tag SP deployments.
- RFC 2544
- Y.1564
- VLAN / QinQ
- Service Activation
- Sheet
- 05.T
- Rev
- A
Terminal Error
Try the Interactive mode instead, or download the desktop app.
- Tab navigate fields
- ↑↓ change values
- Space toggle
- ? help
- u cycle units
- Esc leave the terminal
Results [Mbps]
| Frame | Gen | Worst | Max Rate | PPS | %Line |
|---|
% of Line Rate
Help
WHAT THIS TOOL DOES
Calculates max safe offered load for RFC 2544 / Y.1564 service activation tests, accounting for VLAN overhead.
PRESETS (Customer UNI Perspective)
- untagged-s
- 0→1 Untagged, carrier adds S-tag
- ctag-s
- 1→2 C-tagged, carrier adds S-tag
- untagged-sp
- 0→2 Untagged, carrier adds S+P
- ctag-sp
- 1→3 C-tagged, carrier adds S+P
FRAME SIZE & TAGS (TPIDs)
Tags TESTER sends (0x8100 C-tag) are INSIDE frame size.
Tags CARRIER adds (0x88A8 S-tag) are ADDED on top.
Example: "64B C-tagged" = 64 bytes total incl. C-tag.
Carrier adds S-tag → 68B downstream. Delta = +4B.
This is why Untagged+S and C-tag+S have same overhead: both have delta=1 (carrier adds 1 tag = +4B).
L1 OVERHEAD
8B preamble/SFD + 12B IFG = 20B/frame
Leave ON for saturation tests (esp. 64B frames)
EXTRA ENCAP BYTES
MPLS/upstream core is not typically the bottleneck.
Adjust for extra VLAN tags beyond presets as needed:
Each VLAN tag = 4 bytes
SAFETY MARGIN
- 1%
- Lab/clean environment
- 2-3%
- Field-friendly (recommended)
- 5%
- Conservative / unknown path
RESULTS COLUMNS
- %Line
- Max achievable % of bottleneck rate
- Gen
- Generator wire bytes (L2 + base tags + L1)
- Worst
- Worst-case wire bytes (L2 + max tags + L1)
Click "Unit" button to cycle rate units: Mbps/Gbps/Kbps/bps
Traffic Presets
- Untagged → S-tag: Tester untagged, carrier adds S-tag (delta: +1)
- C-tag → S-tag: Tester C-tag, carrier adds S-tag (delta: +1, same overhead)
- Untagged → S+P: Tester untagged, carrier adds S+P (delta: +2)
- C-tag → S+P: Tester C-tag, carrier adds S+P (delta: +2, same overhead)
How It Works
The calculator determines the maximum rate you can send from your test generator without overdriving the bottleneck link.
When carrier networks add VLAN tags (S-tag, P-tag), the actual wire bytes increase. This tool accounts for that overhead.
Frame Size & TPIDs: Tags the tester sends (0x8100 C-tag) are inside the frame size. Tags the carrier adds (0x88A8 S-tag) are added on top. This is why presets with the same delta have the same overhead.
Download Desktop Version
Run TAGS Calculator locally with the full terminal UI experience. Windows and macOS include native installers with shortcuts.
- Windowstags-calculator-windows-x64.msi
- macOStags-calculator-macos-arm64.pkg
- Linuxtags-wire-linux-x64
After downloading, run in terminal:
chmod +x tags-wire-linux-x64 ./tags-wire-linux-x64 -i
Windows and macOS installers include license agreement. Linux is a standalone binary.
- Built with Rust + WebAssembly
- Source: Private (contact for licensing)