Huawei AR1200 series Configuration Manual page 189

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

Advertisement

Huawei AR1200 Series Enterprise Routers
Configuration Guide - VPN
[PE1-bgp-vpn1] quit
[PE1-bgp] quit
# Configure PE1 to set up the MP-IBGP peer relationship with ASBR1.
[PE1] bgp 100
[PE1-bgp] peer 2.2.2.9 as-number 100
[PE1-bgp] peer 2.2.2.9 connect-interface loopback 1
[PE1-bgp] ipv4-family vpnv4
[PE1-bgp-af-vpnv4] peer 2.2.2.9 enable
[PE1-bgp-af-vpnv4] quit
# Configure ASBR1 to set up the MP-IBGP peer relationship with PE1.
[ASBR1] bgp 100
[ASBR1-bgp] peer 1.1.1.9 as-number 100
[ASBR1-bgp] peer 1.1.1.9 connect-interface loopback 1
[ASBR1-bgp] ipv4-family vpnv4
[ASBR1-bgp-af-vpnv4] peer 1.1.1.9 enable
[ASBR1-bgp-af-vpnv4] quit
[ASBR1-bgp] quit
After the above configurations, run the display bgp vpnv4 vpn-instance peer command. You
can find the BGP peer relationship between PE and CE is set up, that is the "State" in display is
"Established". Run display bgp vpnv4 all peer to find the BGP peer relationship is "Established"
between the PE and the CE, and between the PE and the ASBR.
Consider PE1 as an example.
[PE1] display bgp vpnv4 vpn-instance vpn1 peer
BGP local router ID : 1.1.1.9
Local AS number : 100
VPN-Instance vpn1, router ID 1.1.1.9:
Total number of peers : 1
Peer
10.1.1.1
[PE1] display bgp vpnv4 all peer
BGP local router ID : 1.1.1.9
Local AS number : 100
Total number of peers : 2
Peer
2.2.2.9
Peer of IPv4-family for vpn instance :
VPN-Instance vpn1, router ID 1.1.1.9:
10.1.1.1
Step 4 Configure inter-AS VPN in VRF-to-VRF mode.
# Configure ASBR1. Create a VPN instance and bind it to the interface connected to ASBR2.
(ASBR1 regards ASBR2 as its own CE.)
[ASBR1] ip vpn-instance vpn1
[ASBR1-vpn-instance-vpn1] ipv4-family
[ASBR1-vpn-instance-vpn1-af-ipv4] route-distinguisher 100:2
[ASBR1-vpn-instance-vpn1-af-ipv4] vpn-target 1:1 both
[ASBR1-vpn-instance-vpn1-af-ipv4] quit
[ASBR1-vpn-instance-vpn1] quit
[ASBR1] interface gigabitethernet 2/0/0
[ASBR1-GigabitEthernet2/0/0] ip binding vpn-instance vpn1
[ASBR1-GigabitEthernet2/0/0] ip address 192.1.1.1 24
[ASBR1-GigabitEthernet2/0/0] quit
Issue 01 (2012-04-20)
NOTE
The configurations of CE2, PE2 and ASBR2 are similar to that of CE1, PE1 and ASBR1 and are not
mentioned here.
V
AS
MsgRcvd
4 65001
V
AS
4
100
4 65001
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Peers in established state : 1
MsgSent
OutQ
Up/Down
10
10
0 00:07:10 Established
Peers in established state : 2
MsgRcvd
MsgSent
OutQ
3
7
13
13
3 BGP MPLS IP VPN Configuration
State
PrefRcv
Up/Down
State PrefRcv
0 00:01:36 Established
0 00:04:00 Established
2
0
2
178

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ar3200 series

Table of Contents