2.2.1 Establishing the Configuration Task
Applicable Environment
To connect a CE to multiple VPNs and isolate services of these VPNs, you need to configure
MCE functions. Before configuring MCE functions, you need to configure VPN instances on
an MCE and a PE.
Pre-configuration Tasks
Before configuring a VPN instance, complete the following tasks:
l Creating a VLAN on the MCE and adding the interface connecting the site and PE to the
VLAN
l Creating a VLAN on the PE and adding the sub-interface connecting the MCE to the VLAN
l Creating a VLAN on the device connected to the MCE in a site and adding the interface
connected to the MCE on the device to the VLAN
Data Preparation
To configure a VPN instance, you need the following data.
No.
Data
1 Name of the VPN instance
2 Route Distinguisher (RD) of the VPN instance
3 (Optional) Description of the VPN instance
4 (Optional) Maximum number of routes supported by the VPN instance
5 ID of the VLAN corresponding to the VPN instance
2.2.2 Creating a VPN instance
Context
Do as follows on the MCE.
You need to perform similar configurations on the PE; however, configuration commands and
methods may be different because device manufacturers and types are different. For details, refer
to manuals of corresponding products.
Procedure
Step 1 Run the system-view command to enter the system view.
Step 2 Run the ip vpn-instance vpn-instance-name command to create a VPN instance and enter the
VPN instance view.
Huawei AR1200 Series Enterprise Routers
Configuration Guide - VPN 2 MCE Configuration
Issue 01 (2012-04-20) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
44