Operation Manual – VLAN
H3C S3600 Series Ethernet Switches-Release 1510 Chapter 2
VLAN Configuration
2-4
VLAN3
II. Network diagram
Sw
VLAN2
itch
VLAN3
E1/0/4
VLAN3
VLAN2
E1/0/1
VLAN3
VLAN3
VLAN2
VLAN3
VLAN3
E1/0/3
VLAN3
E1/0/2
VLAN2
VLAN3
Sw
VLAN2
itch
VLAN3
E1/0/4
VLAN3
VLAN2
E1/0/1
VLAN3
VLAN3
VLAN2
VLAN3
VLAN3
E1/0/3
VLAN3
E1/0/2
VLAN2
Figure 2-1 Network diagram for VLAN configuration
III. Configuration procedure
# Create VLAN 2 and enter its view.
<H3C> system-view
[H3C] vlan 2
# Specify the description string of VLAN 2 as home.
[H3C-vlan2] description home
# Add Ethernet1/0/1 and Ethernet1/0/2 ports to VLAN 2.
[H3C-vlan2] port Ethernet 1/0/1 Ethernet 1/0/2
# Create VLAN 3 and enter its view.
[H3C-vlan2] vlan 3
# Add Ethernet1/0/3 and Ethernet1/0/4 ports to VLAN 3.
[H3C-vlan3] port Ethernet 1/0/3 Ethernet 1/0/4
2.3 Configuring a Protocol-Based VLAN
2.3.1 Creating Protocol Template for Protocol-Based VLAN
I. Configuration prerequisites
Create a VLAN before configuring a protocol-based VLAN.
II. Configuration procedure
Table 2-5 Create protocol types of VLANs
Operation Command Description
Enter system view
system-view
—
Enter VLAN view
vlan vlan-id
Required