
403
Figure 105 Network diagram
Device Interface IP
address
Device Interface IP
address
CE 1
GE2/1/1
2001:1::1/96 P
Loop0
2.2.2.9/32
PE 1
Loop0
1.1.1.9/32
POS5/1/1 172.1.1.2/24
GE2/1/1
2001:1::2/96
POS5/1/2 172.2.1.1/24
GE2/1/2
2001:2::2/96
PE 2
Loop0
3.3.3.9/32
POS5/1/1
172.1.1.1/24
GE2/1/1
2001:3::2/96
CE 2
GE2/1/1
2001:2::1/96
GE2/1/2
2001:4::2/24
CE 3
GE2/1/1
2001:3::1/96
POS5/1/1
172.2.1.2/24
CE 4
GE2/1/1
2001:4::1/96
Configuration procedure
1.
Configure OSPF on the MPLS backbone to achieve IP connectivity among the PEs and the P
router:
# Configure PE 1.
<PE1> system-view
[PE1] interface loopback 0
[PE1-LoopBack0] ip address 1.1.1.9 32
[PE1-LoopBack0] quit
[PE1] interface pos 5/1/1
[PE1-POS5/1/1] ip address 172.1.1.1 24
[PE1-POS5/1/1] quit
[PE1] ospf
[PE1-ospf-1] area 0
[PE1-ospf-1-area-0.0.0.0] network 172.1.1.0 0.0.0.255
[PE1-ospf-1-area-0.0.0.0] network 1.1.1.9 0.0.0.0
[PE1-ospf-1-area-0.0.0.0] quit
[PE1-ospf-1] quit
# Configure the P router.
<P> system-view
[P] interface loopback 0
AS 65410
CE 1
VPN 1
AS 65420
CE 2
CE 4
GE2/1/1
VPN 1
AS 65430
PE1
AS 65440
VPN 2
VPN 2
GE2/1/1
GE2/1/1
CE 3
Loop0
PE2
GE2/1/1
Loop0
GE2/1/1
GE2/1/2
GE2/1/2
GE2/1/1
POS5/1/2
POS5/1/1
POS5/1/1
POS5/1/1
P
MPLS backbone
Loop0