Networking Requirements
An enterprise requires departments in charge of the same service to communicate with each
other while isolating departments in charge of different services.
As shown in Figure 3-2, an enterprise has four departments. Department 1 is connected to
RouterA, which is connected to Ethernet 2/0/1 of the Router. Department 2 is connected to
RouterB, which is connected to Ethernet 2/0/2 of the Router. Department 3 is connected to
RouterC, which is connected to Ethernet 2/0/3 of the Router. Department 4 is connected to
RouterD, which is connected to Ethernet 2/0/4 of the Router. The requirements are as follows:
l Department 1 and Department 2 in VLAN 2 are isolated from Department 3 and Department
4 in VLAN 3.
l Department 1 and Department 2 in VLAN 2 can communicate with each other.
l Department 3 and Department 4 in VLAN 3 can communicate with each other.
Figure 3-2 Network diagram of interface-based VLAN assignment
Eth2/0/1
RouterA
Eth2/0/2 Eth2/0/3
Eth2/0/4
Department 1
VLAN2 VLAN3
RouterB RouterC
RouterD
Router
Department 2 Department 3 Department 4
Configuration Roadmap
The configuration roadmap is as follows:
1. Create VLANs.
2. Add interfaces to the VLAN.
Data Preparation
To complete the configuration, you need the following data:
l Ethernet 2/0/1 and Ethernet 2/0/2 belong to VLAN 2.
l Ethernet 2/0/3 and Ethernet 2/0/4 belong to VLAN 3.
Procedure
Step 1 Configure the Router.
# Create VLAN 2.
Huawei AR3200 Series Enterprise Routers
Configuration Guide - LAN 3 VLAN Configuration
Issue 02 (2012-03-30) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
102