Operation Manual – VLAN
Quidway S3100 Series Ethernet Switches Chapter 1
VLAN Configuration
Huawei Technologies Proprietary
1-4
Table 1-4 Display the information about specified VLANs
Operation Command
Display the information
about specified VLANs
display vlan [ vlan-id1 [ to vlan-id2 ] | all | static |
dynamic ]
1.4 VLAN Configuration Example
I. Network requirements
z Create VLAN 2 and VLAN 3, with the name of VLAN 2 being v2, and the
description string being home.
z Add Ethernet1/0/1 and Ethernet1/0/2 ports to VLAN 2; add Ethernet1/0/3 and
Ethernet1/0/4 ports to VLAN 3.
II. Network diagram
VLAN3
Switch
VLAN3
E1/0/4
VLAN2
VLAN3
VLAN2
E1/0/1
VLAN3
VLAN3
VLAN2
VLAN3
VLAN3
E1/0/3
VLAN3
E1/0/2
VLAN2
VLAN3
Switch
VLAN3
E1/0/4
VLAN2
VLAN3
VLAN2
E1/0/1
VLAN3
VLAN3
VLAN2
VLAN3
VLAN3
E1/0/3
VLAN3
E1/0/2
VLAN2
Figure 1-2 Network diagram for VLAN configuration
III. Configuration procedure
# Create VLAN 2 and enter VLAN view.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] vlan 2
# Set the name of VLAN 2 to v2.
[Quidway-vlan2] name v2
# Specify VLAN 2 description string to be home.
[Quidway-vlan2] description home
# Add Ethernet1/0/1 and Ethernet1/0/2 ports to VLAN 2.
[Quidway-vlan2] port ethernet1/0/1 ethernet1/0/2
# Create VLAN 3 and enter VLAN view.