
Operation Manual – MPLS L2VPN
H3C S9500 Series Routing Switches
Chapter 1 MPLS L2VPN Configuration
1-22
[PEB] ospf
[PEB-ospf-1] area 0
[PEB-ospf-1-area-0.0.0.0] network 10.2.2.0 0.0.0.255
[PEB-ospf-1-area-0.0.0.0] network 10.0.0.3 0.0.0.0
# Create a remote connection from CE B to CE A, using the interface connecting CE B
as the incoming interface and that connecting the P device as the outgoing interface,
setting the incoming label to 201 and the outgoing label to 101.
[PEB] ccc CEB-CEA interface Vlan-interface 2 in-label 201 out-label 101
next-hop 10.2.2.2
5)
Configure CE B.
<Sysname> system-view
[Sysname] sysname CEB
[CEB] interface Vlan-interface 1
[CEB-Vlan-interface1] ip address 100.1.1.2 24
6)
Verify the configuration
After completing the above configurations, you can display CCC connection
information on the PE. There should be one remote CCC connection established. CE A
should be able to ping interface 100.1.1.2 of CE B and CE B should be able to ping
interface 100.1.1.1 of CE A:
# Display CCC connection information on the PE.
[PE] display ccc
Total ccc vc
: 1
Local ccc vc
: 0, 0 up
Remote ccc vc
: 1, 1 up
***Name
:
cea-ceb
Type
:
remote
State :
up
Intf
:
vlan-interface
2
(up)
In-label
:
201
Out-label
:
101
Nexthop
:
10.2.2.2
# On CE A, ping interface 100.1.1.2 of CE B.
[CEA] 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