Switching (VLAN/STP)
switchport mode trunk
Set the port to trunk — carries 802.1Q-tagged frames for multiple VLANs. For switch-switch / switch-router links.
Works on: SwitchMode: iface
Run this command live
Don't just read it — type switchport mode trunk in a real network simulator in your browser and watch it take effect. No install, no account needed to start.
Frequently asked
What does the "switchport mode trunk" command do?
Set the port to trunk — carries 802.1Q-tagged frames for multiple VLANs. For switch-switch / switch-router links.