Switching (VLAN/STP)
interface vlan <id>
Create an SVI — the L3 interface for that VLAN. With 'ip routing' on, the switch routes between its SVIs; without it an SVI is only a management address.
Works on: SwitchMode: config
Watch out
A new SVI arrives shut: type 'no shutdown' after the address.
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.
Frequently asked
What does the "interface vlan <id>" command do?
Create an SVI — the L3 interface for that VLAN. With 'ip routing' on, the switch routes between its SVIs; without it an SVI is only a management address.
What's the common gotcha with "interface vlan <id>"?
A new SVI arrives shut: type 'no shutdown' after the address.