Figure 3-15 Networking diagram for configuring communication across a Layer 3 network
through the VLANIF interface
GE1/0/1
GE1/0/1GE1/0/2
GE1/0/2
VLAN 10
VLAN 10
OSPF
SwitchA SwitchB
Configuration Roadmap
The configuration roadmap is as follows:
1. Add interfaces to VLANs.
2. Assign IP addresses to VLANIF interfaces.
3. Configure basic OSPF functions.
Data Preparation
To complete the configuration, you need the following data:
l GE 1/0/1 of Switch A belongs to VLAN 10, and IP address of VLANIF 10 is 10.10.10.1/24.
l GE 1/0/2 of Switch B belongs to VLAN 10, and IP address of VLANIF 10 is 20.20.20.1/24.
l GE 1/0/2 of Switch A belongs to VLAN 30, and IP address of VLANIF 30 is 30.30.30.1/24.
l GE 1/0/1 of Switch B belongs to VLAN 30, and IP address of VLANIF 30 is 30.30.30.2/24.
l The IP address of the computer on the Layer 2 network connected to Switch A is
10.10.10.2/24.
l The IP address of the computer on the Layer 2 network connected to Switch B is
20.20.20.2/24.
Procedure
Step 1 Configure Switch A.
# Create VLANs.
<Quidway> system-view
[Quidway] sysname SwitchA
[SwitchA] vlan batch 10 30
# Add interfaces to VLANs.
Quidway S7700 Smart Routing Switch
Configuration Guide - Ethernet 3 VLAN Configuration
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
132