Switching (VLAN/STP)

interface vlan <id>

Create an SVI — the L3 interface for that VLAN. Lets a multilayer switch route between VLANs.

Works on: SwitchMode: config
Run this command live

Don't just read it — type interface vlan <id> 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 "interface vlan <id>" command do?

Create an SVI — the L3 interface for that VLAN. Lets a multilayer switch route between VLANs.

More Switching (VLAN/STP) commands

← Back to the full command reference

interface vlan <id> — network CLI command reference · NetForge-AI