R0106-HP MSR Router Series MPLS Configuration Guide(V7)
250
ASBR-PE 1 and ASBR-PE 2 use EBGP to exchange labeled IPv4 routes.
Figure 68 Network diagram
Table 17 Interface and IP assignment
Device Interface IP address
Device
Interface IP address
PE 1 Loop0 2.2.2.9/32 PE 2 Loop0 5.5.5.9/32
GE2/1/1 30.0.0.1/24 GE2/1/1 20.0.0.1/24
S2/1/0 1.1.1.2/8 S2/1/0 9.1.1.2/8
ASBR-PE 1 Loop0 3.3.3.9/32 ASBR-PE 2 Loop0 4.4.4.9/32
S2/1/0 1.1.1.1/8 S2/1/0 9.1.1.1/8
S2/1/1 11.0.0.2/8 S2/1/1 11.0.0.1/8
CE 1 GE2/1/1 30.0.0.2/24 CE 2 GE2/1/1 20.0.0.2/24
Configuration procedure
1. Configure CE 1:
# Configure an IP address for GigabitEthernet 2/1/1.
<CE1> system-view
[CE1] interface gigabitethernet 2/1/1
[CE1-GigabitEthernet2/1/1] ip address 30.0.0.2 24
[CE1-GigabitEthernet2/1/1] quit
# Establish an EBGP peer relationship with PE 1, and redistribute VPN routes.
[CE1] bgp 65001
[CE1-bgp] peer 30.0.0.1 as-number 100
[CE1-bgp] address-family ipv4 unicast
[CE1-bgp-ipv4] peer 30.0.0.1 enable
[CE1-bgp-ipv4] import-route direct
[CE1-bgp-ipv4] quit
[CE1-bgp] quit
2. Configure PE 1: