Huawei AR1200 series Configuration Manual page 68

Enterprise routers
Hide thumbs Also See for AR1200 series:
Table of Contents

Advertisement

Huawei AR1200 Series Enterprise Routers
Configuration Guide - VPN
4.
5.
Issue 01 (2012-04-20)
[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] 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-200-area-0.0.0.0] quit
Configure RIP between the MCE and CE3, and between the MCE and CE4.
# Configure RIP-2 on the MCE.
[MCE] rip 100 vpn-instance vpna
[MCE-rip-100] version 2
[MCE-rip-100] network 172.17.0.0
[MCE-rip-100] import-route ospf 100
[MCE-rip-100] quit
[MCE] rip 200 vpn-instance vpnb
[MCE-rip-200] version 2
[MCE-rip-200] network 172.16.0.0
[MCE-rip-200] import-route ospf 200
# Configure RIP-2 on CE3.
[CE3] rip 200
[CE3-rip-200] version 2
[CE3-rip-200] network 172.16.0.0
[CE3-rip-200] network 192.168.1.0
[CE3-rip-200] import-route direct
# Configure RIP-2 on CE4.
[CE4] rip 100
[CE4-rip-100] version 2
[CE4-rip-100] network 172.17.0.0
[CE4-rip-100] network 192.168.2.0
[CE4-rip-100] import-route direct
# Import RIP routes on the MCE.
[MCE] ospf 100
[MCE-ospf-100] import-route rip 100
[MCE-ospf-100] quit
[MCE] ospf 200
[MCE-ospf-200] import-route rip 200
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 : 7
Destination/Mask
Proto
172.16.0.0/16
Direct 0
172.16.1.1/32
Direct 0
172.16.1.2/32
Direct 0
172.18.0.0/16
Direct 0
172.18.1.1/32
Direct 0
172.18.1.2/32
Direct 0
192.168.0.0/16
# Run the display ip routing-table vpn-instance command on the PE, and you can view
the routes to the local VPN.
Take vpnb on PE2 as an example:
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Routes : 7
Pre
Cost
Flags NextHop
0
0
0
0
0
0
RIP
100
1
2 MCE Configuration
Interface
D
172.16.1.2
Vlanif10
D
172.16.1.1
Vlanif10
D
127.0.0.1
InLoopBack0
D
172.18.1.2
Vlanif30
D
172.18.1.1
Vlanif30
D
127.0.0.1
InLoopBack0
D
172.16.1.1
Vlanif10
57

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ar3200 series

Table of Contents