NOTE
This example is only for configuring mutual access for local VPNs on S7700, for details about configuring
mutual access for local VPNs on SPU board, see
3.17.4 Example for Configuring Mutual Access for
.
Figure 3-5
Networking diagram for configuring mutual access between VPNs
PE1
GE1/0/0
VLANIF10
GE2/0/0
VLANIF20
vpna
vpnb
CE1
CE2
GE1/0/0
VLANIF10
GE1/0/0
VLANIF20
Device
Interface
VLANIF interface
IP address
CE1
GE1/0/0
VLANIF 10
10.1.1.1/24
CE2
GE1/0/0
VLANIF 20
10.2.1.1/24
PE1
GE1/0/0
VLANIF 10
10.1.1.2/24
PE1
GE2/0/0
VLANIF 20
10.2.1.2/24
Configuration Roadmap
The configuration roadmap is as follows:
1.
On the PE, configure a VPN instance, set different VPN targets for the VPN instance
2.
On the PE, bind the interface connected to the CE to the VPN instance.
3.
Enable the routing protocol on the CEs.
Data Preparation
To complete the configuration, you need the following data:
l
VLAN ID and IP address of VLANIF interface allowed by each interface
l
RD of the VPN
l
VPN targets of the received and sent routes
Configuration Procedure
Procedure
Step 1
Create VLANs and specify the VLAN IDs that are allowed by the interfaces, as shown in
# Configure PE1.
<Quidway>
system-view
[Quidway]
sysname PE1
[PE1]
vlan batch 10 20
[PE1]
interface gigabitethernet 1/0/0
[PE1-GigabitEthernet1/0/0]
port link-type trunk
[PE1-GigabitEthernet1/0/0]
port trunk allow-pass vlan 10
[PE1-GigabitEthernet1/0/0]
quit
[PE1]
interface gigabitethernet 2/0/0
Quidway S7700 Smart Routing Switch
Configuration Guide - VPN
3 BGP MPLS IP VPN Configuration
Issue 01 (2011-07-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
197