R3303-HP HSR6800 Routers MPLS Configuration Guide
177
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.
[PE] interface serial 2/1/1
[PE-Serial2/1/1] link-protocol ppp
[PE-Serial2/1/1] quit
# Create a local connection between CE 1 and CE 2.
[PE] ccc ce1-ce2 interface serial 2/1/0 out-interface serial 2/1/1
3. Configure CE 2:
# Configure the link protocol type of interface Serial 2/1/0 (the interface connected to the PE) as
PPP, and configure an IP address for the interface.
<Sysname> system-view
[Sysname] sysname CE2
[CE2] interface serial 2/1/0
[CE2-Serial2/1/0] link-protocol ppp
[CE2-Serial2/1/0] ip address 100.1.1.2 24