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
- show vlan briefVLAN assignment
- switchportConfigure port VLANs
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