name

This topic explains the commands that set or remove the name of a VLAN.

Syntax

CODE
name name
no name name

Parameter

name: Set the name for the VLAN. The name parameter can be a maximum of 32 characters.

Default

VLANxxxx, in which xxxx is the 4-digit VLAN number.

Mode

VLAN Configuration

Usage

Use the name command to set a name for a VLAN.

Use the no name command to remove a name from a VLAN.

You can verify your setting in the output of the show vlan command.

Example: This example shows how to set the name of VLAN 100 to VLAN-one-hundred:

CODE
Switch (config)# vlan 100
Switch (config-vlan)# name VLAN-one-hundred
Switch# show vlan 100

  VID  | VLAN Name        |  Untagged Ports  |  Tagged Ports  |  Type
-------+------------------+------------------+----------------+------
  100  | VLAN-one-hundred |              --- |            --- | Static