
Operation Manual – MPLS L3VPN
H3C S9500 Series Routing Switches
Chapter 1 MPLS L3VPN Configuration
1-64
[ASBR-PE1-bgp] peer 1.1.1.9 connect-interface loopback 0
[ASBR-PE1-bgp] ipv4-family vpnv4
[ASBR-PE1-bgp-af-vpnv4] peer 1.1.1.9 enable
[ASBR-PE1-bgp-af-vpnv4] peer 1.1.1.9 next-hop-local
[ASBR-PE1-bgp-af-vpnv4] quit
[ASBR-PE1-bgp] quit
# Configure ASBR PE 2.
[ASBR-PE2] bgp 200
[ASBR-PE2-bgp] ipv4-family vpn-instance vpna
[ASBR-PE2-bgp-vpna] peer 192.1.1.1 as-number 100
[ASBR-PE2-bgp-vpna] quit
[ASBR-PE2-bgp] peer 4.4.4.9 as-number 200
[ASBR-PE2-bgp] peer 4.4.4.9 connect-interface loopback 0
[ASBR-PE2-bgp] ipv4-family vpnv4
[ASBR-PE2-bgp-af-vpnv4] peer 4.4.4.9 enable
[ASBR-PE2-bgp-af-vpnv4] peer 4.4.4.9 next-hop-local
[ASBR-PE2-bgp-af-vpnv4] quit
[ASBR-PE2-bgp] quit
# Configure PE 2.
[PE2] bgp 200
[PE2-bgp] peer 3.3.3.9 as-number 200
[PE2-bgp] peer 3.3.3.9 connect-interface loopback 0
[PE2-bgp] ipv4-family vpnv4
[PE2-bgp-af-vpnv4] peer 3.3.3.9 enable
[PE2-bgp-af-vpnv4] peer 3.3.3.9 next-hop-local
[PE2-bgp-af-vpnv4] quit
[PE2-bgp] quit
6)
Verify your configurations
After you complete the above configurations, the CEs should be able to learn the
interface routes from each other and ping each other.
1.11.3 Example for Configuring Inter-Provider VPN Option B
I. Network requirements
z
Site 1 and Site 2 belong to the same VPN. CE 1 of Site 1 accesses the network
through PE 1 in AS 100 and CE 2 of Site 2 accesses the network through PE 2 in
AS 600.
z
PEs in the same AS runs IS-IS between them.
z
PE 1 and ASBR-PE 1 exchange labeled IPv4 routes by MP-IBGP.
z
PE 2 and ASBR-PE 2 exchange labeled IPv4 routes by MP-IBGP.
z
ASBR-PE 1 and ASBR-PE 2 exchange labeled IPv4 routes by MP-EBGP.