
Operation Manual – VLAN
H3C S5600 Series Ethernet Switches
Chapter 2 VLAN Configuration
2-6
z
To isolate data between different departments, PC 1 and Server 1 are assigned to
VLAN 100 with the descriptive string being Dept1; PC 2 and Server 2 are assigned
to VLAN 200 with the descriptive string being Dept2.
z
Configure VLAN interfaces for the two VLANs on Switch A for forwarding data
from PC 1 to Server 2 at Layer 3.
II. Network diagram
SwitchA
SwitchB
PC1
PC2
GE1/0/1
GE1/0/2
GE1/0/10
GE1/0/11
GE1/0/12
GE1/0/13
Server2
Server1
Figure 2-1
Network diagram for VLAN configuration
III. Configuration procedure
z
Configure Switch A.
# Create VLAN 100, specify its descriptive string as
Dept1
, and add GigabitEthernet
1/0/1 to VLAN 100.
<SwitchA> system-view
[SwitchA] vlan 100
[SwitchA-vlan100] description Dept1
[SwitchA-vlan100] port GigabitEthernet 1/0/1
[SwitchA-vlan100] quit
# Create VLAN 200, and specify its descriptive string as
Dept2
.
[SwitchA] vlan 200
[SwitchA-vlan200] description Dept2
[SwitchA-vlan200] quit
# Create VLAN-interface 100 and VLAN-interface 200, and assign IP addresses
192.168.1.1 and 192.168.2.1 to them respectively. The two VLAN-interfaces are used
for forwarding packets from Host 1 to Server 2 at Layer 3.
[SwitchA] interface Vlan-interface 100
[SwitchA-Vlan-interface100] ip address 192.168.1.1 24
[SwitchA-Vlan-interface100] quit
[SwitchA] interface Vlan-interface 200