Cisco IOS

vlan

CautionCreate VLANs

vlan <id> → name <name>

Creates and names a VLAN — usually paired with trunk allow-list updates and an SVI.

Examples

  • vlan 30 name GUESTCreate a guest VLAN

Syntax

(config)# vlan <id> / (config-vlan)# name <name>

Before you run it

Respect the VLAN numbering plan.

Related commands

You can carry a laptop to the rack. Signal will not follow.

Check syntax standing in front of the hardware, with no connection at all. Free to install, no ads.

Get it free on the App Store