3.4.1. vlan

Syntax

vlan

no vlan

Parameter

Default

VLAN 1 created by default

Mode

Global Configuration

Usage

Use the vlan global configuration command to create VLAN. Use the no form of this command to remove exist VLAN. You can verify your setting by entering the show vlan command.

Example

The following example creates and removes a VLAN entry (100).

Switch# show vlan
VID | VLAN Name | Untagged Ports | Tagged Ports | Type
-------+-----------------------------+----------------------------+---------------------+---------
1 | default | gi1-48,gi1-4,lag1-8 | --- | Default
100 | VLAN0100 | --- | --- | Static