266
Figure 76 Network diagram
Table 18 Interface and IP address 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
GE1/1/1
30.0.0.1/24
GE1/1/1
20.0.0.1/24
S1/1/0 1.1.1.2/8
S1/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
S1/1/0 1.1.1.1/8
S1/1/0 9.1.1.1/8
S1/1/1 11.0.0.2/8
S1/1/1 11.0.0.1/8
CE 1
GE1/1/1
30.0.0.2/24
CE 2
GE1/1/1
20.0.0.2/24
Configuration procedure
1.
Configure CE 1:
# Configure an IP address for GigabitEthernet 1/1/1.
<CE1> system-view
[CE1] interface gigabitethernet 1/1/1
[CE1-GigabitEthernet1/1/1] ip address 30.0.0.2 24
[CE1-GigabitEthernet1/1/1] quit
# Establish an EBGP peer relationship with PE 1, and redistribute VPN routes.
[CE1] bgp 65001
[CE1-bgp-default] peer 30.0.0.1 as-number 100
[CE1-bgp-default] address-family ipv4 unicast
[CE1-bgp-default-ipv4] peer 30.0.0.1 enable
[CE1-bgp-default-ipv4] import-route direct
[CE1-bgp-default-ipv4] quit
[CE1-bgp-default] quit
2.
Configure PE 1:
# Configure IS-IS on PE 1.
<PE1> system-view