mrnx/network

VLAN list calculator

Compare two trunk VLAN lists, compress or expand them, and get the commands that turn one into the other on Cisco, Arista, Aruba, Juniper, Huawei and FortiSwitch. Paste lists in any notation, even whole config lines.

Understands 10,20-25, 10 to 25, [ 10 20 ], all, except 1 and whole switchport trunk allowed vlan (add) … lines. Swap the lists to reverse the change.

VLAN map

Map edits

Click a VLAN to toggle it, drag to paint several, Shift-click to fill a range from the last one. Editing on the map rewrites that list as plain ranges.

Commands to turn A into B

Change in place

Replace the whole list

Each VLAN on its own line

For spreadsheets and scripts. Click a list to copy it.

List A ·

List B ·

↑↓ move↵ openesc close