Switching (VLAN/STP)
switchport access vlan <id>
Place the access port in the given VLAN.
Works on: SwitchMode: iface
Run this command live
Don't just read it — type switchport access vlan <id> 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 access vlan <id>" command do?
Place the access port in the given VLAN.