Switching (VLAN/STP)

switchport mode access

Lock the port into access mode — carries one untagged VLAN. For end-host ports.

Works on: SwitchMode: iface
Run this command live

Don't just read it — type switchport mode access in a real network simulator in your browser and watch it take effect. No install, no account needed to start.

Open the lab

Frequently asked

What does the "switchport mode access" command do?

Lock the port into access mode — carries one untagged VLAN. For end-host ports.

More Switching (VLAN/STP) commands

← Back to the full command reference

switchport mode access — network CLI command reference · NetForge-AI