Back to Command Reference
VLAN Config SubmodeDomain 2.0

name [vlan-name]

Assigns a human-readable identifier to a VLAN. While not technically required for the network to route packets, naming VLANs is a critical administrative best practice for troubleshooting, documentation, and operational clarity.

Quick Reference

Execution ModeSwitch(config-vlan)#
Privilege Level15 (Admin)
Default ValueVLANxxxx (e.g., VLAN0010)
Negation Commandno name

Syntax & Parameters

name [vlan-name]
ParameterDescription & Constraints
[vlan-name]The alphanumeric label applied to the broadcast domain.
  • Must be between 1 and 32 characters in length.
  • Cannot contain spaces. Use underscores (_) or hyphens (-) instead.
  • Standard enterprise convention dictates using ALL_CAPS for visibility in the show vlan brief output.

CLI Deployment Scenarios

Scenario 1: Creating and Naming a New VLAN

The standard operational flow: Instantiate the VLAN ID and immediately apply a descriptive tag.

Switch(config)# vlan 99
Switch(config-vlan)# name MGMT_NETWORK
Switch(config-vlan)# exit

Scenario 2: Reverting to the Default Name

You want to strip the custom name off a VLAN without deleting the VLAN itself or impacting the access ports assigned to it.

Switch(config)# vlan 20
Switch(config-vlan)# no name
! The VLAN name automatically reverts to "VLAN0020"

CCNA Exam Gotchas

[!]

The Zero-Padding Trap

If you create a VLAN but forget to name it, Cisco IOS auto-generates a name using the format VLANxxxx (padded with leading zeros). If you create vlan 5, the default name is VLAN0005. CCNA multiple-choice questions will try to trick you by offering "VLAN5" or "VLAN_5" as answers.

[!]

VTP Propagation

VLAN names are part of the VTP (VLAN Trunking Protocol) database. If you change a VLAN name on a VTP Server, that new name will automatically propagate and overwrite the name on all VTP Clients in the same domain.