Huawei AR1200 series Configuration Manual page 229

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

Advertisement

Huawei AR1200 Series Enterprise Routers
Configuration Guide - VPN
l
Procedure
Step 1 Run OSPF on routers of the backbone network to implement internetworking.
The detailed configuration procedure is not mentioned here.
After this configuration, the PEs can learn the loopback1 address of each other.
Consider PE2 as an example:
<PE2> display ip routing-table
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
Destination/Mask
Step 2 Enable MPLS and MPLS LDP for PEs to set up an LSP between PEs.
The detailed configuration procedure is not mentioned here. After this configuration, run the
display mpls ldp session command on the PE. You can find that the session status of the MPLS
LDP between the PEs is "operational".
Consider PE2 as an example:
<PE2> display mpls ldp session
LDP Session(s) in Public Network
Codes: LAM(Label Advertisement Mode), SsnAge Unit(DDDD:HH:MM)
A '*' before a session means the session is being deleted.
--------------------------------------------------------------------------
PeerID
--------------------------------------------------------------------------
1.1.1.9:0
--------------------------------------------------------------------------
TOTAL: 1 session(s) Found.
Step 3 Configure VPN instances for PEs, and connect CE1 and CE2 to PE1, and MCE to PE2.
# Configure PE1.
<PE1> system-view
[PE1] ip vpn-instance vpna
[PE1-vpn-instance-vpna] ipv4-family
[PE1-vpn-instance-vpna-af-ipv4] route-distinguisher 100:1
[PE1-vpn-instance-vpna-af-ipv4] vpn-target 111:1 both
[PE1-vpn-instance-vpna-af-ipv4] quit
[PE1-vpn-instance-vpna] quit
[PE1] ip vpn-instance vpnb
[PE1-vpn-instance-vpnb] ipv4-family
[PE1-vpn-instance-vpnb-af-ipv4] route-distinguisher 100:2
[PE1-vpn-instance-vpnb-af-ipv4] vpn-target 222:2 both
[PE1-vpn-instance-vpnb-af-ipv4] quit
[PE1-vpn-instance-vpnb] quit
[PE1] interface ethernet1/0/0
[PE1-Ethernet1/0/0] ip binding vpn-instance vpna
[PE1-Ethernet1/0/0] ip address 10.1.1.2 24
[PE1-Ethernet1/0/0] quit
Issue 01 (2012-04-20)
On the MCE, the RIP process numbers used for importing the VPN routes of the CE3 should
differ from that of the CE4.
Destinations : 7
Proto
1.1.1.9/32
OSPF
2.2.2.9/32
Direct 0
127.0.0.0/8
Direct 0
127.0.0.1/32
Direct 0
172.1.1.0/24
Direct 0
172.1.1.1/32
Direct 0
172.1.1.2/32
Direct 0
Status
Operational DU
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Routes : 7
Pre
Cost
Flags
10
2
D
0
D
0
D
0
D
0
D
0
D
0
D
LAM
SsnRole
SsnAge
Active
0000:00:04
3 BGP MPLS IP VPN Configuration
NextHop
Interface
172.1.1.1
Ethernet1/0/0
127.0.0.1
InLoopBack0
127.0.0.1
InLoopBack0
127.0.0.1
InLoopBack0
172.1.1.2
Ethernet1/0/0
172.1.1.1
Ethernet1/0/0
127.0.0.1
InLoopBack0
KASent/Rcv
17/17
218

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ar3200 series

Table of Contents