Vlan To - Huawei Quidway S3900 series Command Manual

Hide thumbs Also See for Quidway S3900 series:
Table of Contents

Advertisement

Command Manual – VLAN
Quidway S3900 Series Ethernet Switches-Release 1510
View
System view
Parameter
vlan-id: ID of the VLAN which you want to create and whose view you want to enter.
This argument ranges from 1 to 4,094.
Description
Use the vlan command to enter VLAN view. If the VLAN identified by the vlan-id
argument does not exist, this command creates the VLAN and then enters VLAN view.
Use the undo vlan command to remove a VLAN.
Caution:
VLAN 1 is the default VLAN and cannot be removed.
When you use the undo vlan command to remove a VLAN which is the default
VLAN of a trunk port or a hybrid port on the device, the configuration of the default
VLAN of the trunk port or hybrid port does not change after the undo vlan command
is executed, that is, the trunk port or the hybrid port will use the removed VLAN as its
default VLAN.
Example
# Enter VLAN 1 view.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] vlan 1
[Quidway-vlan1]
# Remove VLAN 5.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] undo vlan 5

1.1.8 vlan to

Syntax
vlan { vlan-id1 to vlan-id2 | all }
undo vlan { vlan-id1 to vlan-id2 | all }
Huawei Technologies Proprietary
1-7
Chapter 1 VLAN Configuration Commands

Hide quick links:

Advertisement

Chapters

Table of Contents
loading

Table of Contents