R3102-R3103-HP 6600/HSR6600 Routers MPLS Configuration Guide
174
Figure 45 Network diagram
Configuration considerations
Because a local CCC connection is bidirectional, one local CCC connection is enough for CE 1 and CE
2 to communicate with each other.
Configuration procedure
1. Configure CE 1:
# Configure the link protocol type as PPP on interface Serial 2/1/0 (the interface connected to the
PE), and configure an IP address for the interface.
<Sysname> system-view
[Sysname] sysname CE1
[CE1] interface serial 2/1/0
[CE1-Serial2/1/0] link-protocol ppp
[CE1-Serial2/1/0] ip address 100.1.1.1 24
2. Configure the PE:
# Configure the LSR ID and enable MPLS globally.
<Sysname> system-view
[Sysname] sysname PE
[PE] interface loopback 0
[PE-LoopBack0] ip address 172.1.1.1 32
[PE-LoopBack0] quit
[PE] mpls lsr-id 172.1.1.1
[PE] mpls
[PE-mpls] quit
# Enable L2VPN and MPLS L2VPN.
[PE] l2vpn
[PE-l2vpn] mpls l2vpn
[PE-l2vpn] quit
# Configure the link protocol type of interface Serial 2/1/0 as PPP.
[PE] interface serial 2/1/0
[PE-Serial2/1/0] link-protocol ppp
[PE-Serial2/1/0] quit
# Configure the link protocol type of interface Serial 2/1/1 as PPP.
S2/1/0
100.1.1.1/24
S2/1/0
S2/1/0
100.1.1.2/24
S2/1/1
Local CCC connection
CE 1
PE
CE 2
Loop0
172.1.1.1/32










