Vlan - Huawei Quidway S2000 Series Command Manual

Table of Contents

Advertisement

Command Manual - VLAN
Quidway S2000 Series Ethernet Switches
name. For their meanings and value range, read Parameter of "Port" in this document.
The interface number after keyword to must be larger than or equal to the port number
before to. &<1-10>: Representing the repeatable times of parameters, 1 is the minimal
and 10 is the maximal.
Description
Using port command, you can add one port or one group of ports to VLAN. Using
undo port command, you can cancel one port or one group of ports from VLAN.
Note that you can add/delete trunk port and hybrid port to/from VLAN by port and
undo port commands in Ethernet port view, but not in VLAN view.
For the related command, see display vlan.
Example
# Add Ethernet0/4 through Ethernet0/7, Ethernet0/9 and Ethernet0/11 through
Ethernet0/15 to VLAN 2. The repeated time of command parameter is 3 times.
[Quidway-vlan2] port ethernet0/4 to ethernet0/7 ethernet0/9 ethernet0/11 to
ethernet0/15

1.1.4 vlan

Syntax
vlan vlan_id
undo vlan { vlan_id [ to vlan_id ] | all }
View
System view
Parameter
vlan_id: Specifies the ID of a VLAN to be created and/or entered, ranging from 1 to
4094.
all: Delete all VLANs.
Description
Using vlan command, you can enter VLAN view. If the specified VLAN is not created,
create it first. Using undo vlan command, you can cancel the specified VLAN.
VLAN 1 is default VLAN and cannot be deleted.
For the related commands, see display vlan.
Example
# Enter the view of VLAN 1.
Chapter 1 VLAN Configuration Commands
1-3

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents