DGS-6604
m
vlan
CLI Reference Guide
919
vlan
Use the
vlan
configuration command to add VLANs and to enter the
config-vlan
mode. Use the
no vlan
configuration command to remove VLANs. The default
VLAN with the VLAN ID 1, cannot be removed.
vlan
VLAN-ID
[ , | - ]
no vlan
VLAN-ID
[ , | - ]
Default
System has a default VLAN entry with VLAN ID 1.
Command Mode
Global configuration
Usage Guideline
Use the
vlan
global configuration command to add VLANs. The valid VLAN ID
range is 1 to 4094. Entering the
vlan
command with a VLAN ID enters the config-
VLAN mode. When entering the VLAN ID of an existing VLAN, a new VLAN is
not created, but the VLAN parameters can be modified for that VLAN. When
entering the VLAN ID of a new VLAN, the VLAN will be automatically created. A
VLAN in a management domain remains unused until it is assigned one or more
switch ports to the VLAN. Create a new VLAN first and then specify the module
and ports later.
The
no vlan
global configuration command must be used to remove VLANs.
When removing a non-existing VLAN, an error message will be sent. Default
VLAN with VLAN ID 1 cannot be removed. Removing a VLAN will automatically
remove all port memberships that belong to the VLAN. However if a VLAN is
being associated to a port's access VLAN throught the access VLAN command,
it can not be deleted.
Examples
This example shows how to add a new VLAN. It assigns the new VLAN with
VLAN id 1000 to 1005.
This example shows how to remove an existent VLAN with VLAN id 1000 to
1005.
Verify the settings by entering the
show vlan
command.
Syntax Description
VLAN-ID
Specifies the ID of the VLAN to be added, removed or configured. The valid
VLAN ID range is 1 to 4094.The default VLAN with VLAN id 1 cannot be
removed.
,
(Optional) Specifies a series of VLANs, or separate a range of VLANs from a
previous range. No space before and after the comma.
-
(Optional) Specifies a range of VLANs. No space before and after the hyphen.
Switch(config)# vlan 1000-1005
Switch(config-vlan)#
Switch(config)# no vlan 1000-1005
Switch(config)#
Summary of Contents for DGS-6600 Series
Page 1: ...0 9 3 ...