Show & diagnostics

show interfaces switchport

Per-port L2 details: administrative mode, operational mode, access VLAN, native VLAN, allowed VLANs.

Works on: SwitchMode: enable
Run this command live

Don't just read it — type show interfaces switchport 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 "show interfaces switchport" command do?

Per-port L2 details: administrative mode, operational mode, access VLAN, native VLAN, allowed VLANs.

More Show & diagnostics commands

← Back to the full command reference

show interfaces switchport — network CLI command reference · NetForge-AI