EasyManua.ls Logo

Huawei S6700 Series - Page 662

Huawei S6700 Series
664 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...
# 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 1/0/1.1
[PE2-GigabitEthernet1/0/1.1] ip binding vpn-instance vpnb
[PE2-GigabitEthernet1/0/1.1] ip address 172.18.1.1 255.255.0.0
[PE2-GigabitEthernet1/0/1.1] quit
[PE2] interface gigabitethernet 1/0/1.2
[PE2-GigabitEthernet1/0/1.2] ip binding vpn-instance vpna
[PE2-GigabitEthernet1/0/1.2] ip address 172.19.1.1 255.255.0.0
[PE2-GigabitEthernet1/0/1.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] 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-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.
[MCE] ospf 100 vpn-instance vpna
[MCE-ospf-100] area 0
[MCE-ospf-100-area-0.0.0.0] network 172.19.0.0 0.0.255.255
[MCE-ospf-100-area-0.0.0.0] network 192.168.2.0 0.0.0.255
[MCE-ospf-100-area-0.0.0.0] quit
[MCE-ospf-100] quit
[MCE] ospf 200 vpn-instance vpnb
[MCE-ospf-200] area 0
[MCE-ospf-200-area-0.0.0.0] network 172.18.0.0 0.0.255.255
[MCE-ospf-100-area-0.0.0.0] network 192.168.1.0 0.0.0.255
[MCE-ospf-200-area-0.0.0.0] quit
[MCE-ospf-200] quit
4. Verify the configuration.
# After the configuration, run the display ip routing-table vpn-instance command on the
MCE, and you can view the routes to the local VPN.
Take vpnb as an example:
[MCE] display ip routing-table vpn-instance vpnb
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: vpnb
Destinations : 5 Routes : 5
Destination/Mask Proto Pre Cost Flags NextHop Interface
192.168.1.0/24 Direct 0 0 D 192.168.1.1 Vlanif10
192.168.1.1/32 Direct 0 0 D 127.0.0.1 Vlanif10
172.18.0.0/16 Direct 0 0 D 172.18.1.2 Vlanif30
172.18.1.1/32 Direct 0 0 D 172.18.1.1 Vlanif30
172.18.1.2/32 Direct 0 0 D 127.0.0.1 Vlanif30
S6700 Series Ethernet Switches
Configuration Guide - IP Routing 11 MCE Configuration
Issue 01 (2012-03-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
643

Table of Contents

Other manuals for Huawei S6700 Series

Related product manuals