Configuration Roadmap
The configuration roadmap is as follows:
1. Create VLANs on the MCE, PE2, CE3, and CE4, and add the interfaces connecting these
devices to the VLANs.
2. Create and configure VPN instances on the MCE and PE2.
3. Configure the OSPF route multi-instance on the MCE and PE2.
4. Configure RIP between the MCE and CE3, and between the MCE and CE4.
Data Preparation
To complete the configuration, you need the following data:
l VLANs between the MCE, PE2, CE3, and CE4, as shown in Figure 2-2
l IP addresses of VLANIF interfaces, as shown in Figure 2-2
Configuration Procedure
1. Create VLANs on the MCE, PE2, CE3, and CE4, and add the interfaces connecting these
devices to the VLANs.
# Create VLANs on the MCE.
<Quidway> system-view
[Quidway] sysname MCE
[MCE] vlan batch 10 20 30 40
# Add interfaces to the VLANs on the MCE.
[MCE] interface ethernet 0/0/1
[MCE-Ethernet0/0/1] port link-type access
[MCE-Ethernet0/0/1] port default vlan 30
[MCE-Ethernet0/0/1] quit
[MCE] interface ethernet 0/0/2
[MCE-Ethernet0/0/2] port link-type access
[MCE-Ethernet0/0/2] port default vlan 40
[MCE-Ethernet0/0/2] quit
[MCE] interface ethernet 0/0/3
[MCE-Ethernet0/0/3] port link-type trunk
[MCE-Ethernet0/0/3] port trunk allow-pass vlan 10
[MCE-Ethernet0/0/3] quit
[MCE] interface ethernet 0/0/4
[MCE-Ethernet0/0/4] port link-type trunk
[MCE-Ethernet0/0/4] port trunk allow-pass vlan 20
[MCE-Ethernet0/0/4] quit
# Create a VLAN on CE3.
<Quidway> system-view
[Quidway] sysname CE3
[CE3] vlan 10
# Add an interface to the VLAN on CE3.
[CE3-A] interface ethernet 0/0/1
[CE3-Ethernet0/0/1] port link-type trunk
[CE3-Ethernet0/0/1] port trunk allow-pass vlan 10
[CE3-Ethernet0/0/1] quit
# Create a VLAN on CE4.
The configuration on CE4 is similar to that on CE3, and is not mentioned here.
# Add an interface to the VLAN on CE4.
The configuration on CE4 is similar to that on CE3, and is not mentioned here.
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.
55