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
Switch(config-vlan)#(e.g., VLAN0010)no nameSyntax & Parameters
| Parameter | Description & Constraints |
|---|---|
| [vlan-name] | The alphanumeric label applied to the broadcast domain.
|
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.
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.
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.