R3303-HP 6600/HSR6600 Routers MPLS Configuration Guide

182
# Configure the link protocol as PPP on interface POS 5/1/0 (the interface connected to PE 2),
and configure an IP address for the interface.
<Sysname> system-view
[Sysname] sysname CE2
[CE2] interface pos 5/1/0
[CE2-POS5/1/0] link-protocol ppp
[CE2-POS5/1/0] ip address 100.1.1.2 24
Verifying the configuration:
# Display CCC connection information on PE 1. The output shows that a remote CCC connection
has been established.
[PE1] display ccc
Total ccc vc : 1
Local ccc vc : 0, 0 up
Remote ccc vc : 1, 1 up
***Name : ce1-ce2
Type : remote
State : up
Intf : POS5/1/0 (up)
In-label : 100
Out-label : 200
Out-interface : POS5/1/1
# Ping CE 2 from CE 1. The output shows that CE 1 and CE 2 can ping each other.
[CE1] ping 100.1.1.2
PING 100.1.1.2: 56 data bytes, press CTRL_C to break
Reply from 100.1.1.2: bytes=56 Sequence=1 ttl=255 time=180 ms
Reply from 100.1.1.2: bytes=56 Sequence=2 ttl=255 time=60 ms
Reply from 100.1.1.2: bytes=56 Sequence=3 ttl=255 time=10 ms
Reply from 100.1.1.2: bytes=56 Sequence=4 ttl=255 time=70 ms
Reply from 100.1.1.2: bytes=56 Sequence=5 ttl=255 time=60 ms
--- 100.1.1.2 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 10/76/180 ms
Example for configuring SVC MPLS L2VPN with the VC type of
PPP
Network requirements
CEs are connected to PEs through POS interfaces. The link layer encapsulation protocol is PPP.
Establish an SVC, so CE 1 and CE 2 can exchange Layer 2 packets across the backbone.