EasyManua.ls Logo

Huawei AR1200 Series - Page 67

Huawei AR1200 Series
392 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
2. Create and configure VPN instances.
# Create VPN instances on the MCE.
[MCE] ip vpn-instance vpna
[MCE-vpn-instance-vpna] ipv4-family
[MCE-vpn-instance-vpna-af-ipv4] route-distinguisher 100:1
[MCE-vpn-instance-vpna-af-ipv4] quit
[MCE-vpn-instance-vpna] quit
[MCE] ip vpn-instance vpnb
[MCE-vpn-instance-vpnb] ipv4-family
[MCE-vpn-instance-vpnb-af-ipv4] route-distinguisher 100:2
[MCE-vpn-instance-vpnb-af-ipv4] quit
[MCE-vpn-instance-vpnb] quit
# Bind VPN instances to VLANIF interfaces on the MCE and assign IP addresses to the
VLANIF interfaces.
[MCE] interface vlanif 10
[MCE-Vlanif10] ip binding vpn-instance vpnb
[MCE-Vlanif10] ip address 172.16.1.2 16
[MCE-Vlanif10] quit
[MCE] interface vlanif 20
[MCE-Vlanif20] ip binding vpn-instance vpna
[MCE-Vlanif20] ip address 172.17.1.2 16
[MCE-Vlanif20] quit
[MCE] interface vlanif 30
[MCE-Vlanif30] ip binding vpn-instance vpnb
[MCE-Vlanif30] ip address 172.18.1.2 16
[MCE-Vlanif30] quit
[MCE] interface vlanif 40
[MCE-Vlanif40] ip binding vpn-instance vpna
[MCE-Vlanif40] ip address 172.19.1.2 16
[MCE-Vlanif40] quit
# Create VPN instances on PE2.
[PE2] ip vpn-instance vpna
[PE2-vpn-instance-vpna] route-distinguisher 100:1
[PE2-vpn-instance-vpna] quit
[PE2] ip vpn-instance vpnb
[PE2-vpn-instance-vpnb] route-distinguisher 100:2
[PE2-vpn-instance-vpnb] quit
# Bind VPN instances to sub-interfaces on PE2 and assign IP addresses to the sub-
interfaces.
[PE2] interface gigabitethernet 0/0/1
[PE2-GigabitEthernet0/0/1] ip binding vpn-instance vpnb
[PE2-GigabitEthernet0/0/1] ip address 172.18.1.1 255.255.0.0
[PE2-GigabitEthernet0/0/1] quit
[PE2] interface gigabitethernet 0/0/2
[PE2-GigabitEthernet0/0/2] ip binding vpn-instance vpna
[PE2-GigabitEthernet0/0/2] ip address 172.19.1.1 255.255.0.0
[PE2-GigabitEthernet0/0/2] quit
3. Configure the OSPF route multi-instance between the MCE and PE2.
# Configure the OSPF route multi-instance on PE2.
[PE2] ospf 100 vpn-instance vpna
[PE2-ospf-100] vpn-instance-capability simple
[PE2-ospf-100] area 0
[PE2-ospf-100-area-0.0.0.0] network 172.19.0.0 0.0.255.255
[PE2-ospf-100-area-0.0.0.0] quit
[PE2-ospf-100] quit
[PE2] ospf 200 vpn-instance vpnb
[PE2-ospf-100] vpn-instance-capability simple
[PE2-ospf-200] area 0
[PE2-ospf-200-area-0.0.0.0] network 172.18.0.0 0.0.255.255
[PE2-ospf-200-area-0.0.0.0] quit
[PE2-ospf-200] quit
# Configure the OSPF route multi-instance on the MCE.
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.
56

Table of Contents

Other manuals for Huawei AR1200 Series

Related product manuals