R3303-HP HSR6800 Routers MPLS Configuration Guide
326
Figure 89 Network diagram
Device Interface IP address
Device
Interface IP address
Spoke-CE 1 GE2/1
/
1 10.1.1.1/24
Hub-CE
GE2/1
/
1 10.3.1.1/24
Spoke-PE 1 Loop0 1.1.1.9/32 GE2/1/2 10.4.1.1/24
GE2/1
/
1 10.1.1.2/24
Hub-PE
Loop0
2.2.2.9/32
POS5/1/1 172.1.1.1/24
POS5/1/1 172.1.1.2/24
Spoke-CE 2 GE2/1/1 10.2.1.1/24 POS5/1/2 172.2.1.2/24
Spoke-PE 2 Loop0 3.3.3.9/32
GE2/1
/
1 10.3.1.2/24
GE2/1
/
1 10.2.1.2/24
GE2/1
/
2 10.4.1.2/24
POS5/1/1 172.2.1.1/24
Configuration procedure
1. Configure an IGP in the MPLS backbone to ensure IP connectivity between spoke-PE and hub-PE:
# Configure Spoke-PE 1.
<Spoke-PE1> system-view
[Spoke-PE1] interface loopback 0
[Spoke-PE1-LoopBack0] ip address 1.1.1.9 32
[Spoke-PE1-LoopBack0] quit
[Spoke-PE1] interface pos 5/1/1
[Spoke-PE1-POS5/1/1] ip address 172.1.1.1 24
[Spoke-PE1-POS5/1/1] quit
[Spoke-PE1] ospf
[Spoke-PE1-ospf-1] area 0
[Spoke-PE1-ospf-1-area-0.0.0.0] network 172.1.1.0 0.0.0.255
[Spoke-PE1-ospf-1-area-0.0.0.0] network 1.1.1.9 0.0.0.0
[Spoke-PE1-ospf-1-area-0.0.0.0] quit
[Spoke-PE1-ospf-1] quit
# Configure Spoke-PE 2.
<Spoke-PE2> system-view
[Spoke-PE2] interface loopback 0
[Spoke-PE2-LoopBack0] ip address 3.3.3.9 32