![H3C S9500 Series Command Manual Download Page 229](http://html.mh-extra.com/html/h3c/s9500-series/s9500-series_command-manual_575036229.webp)
Command Manual – MPLS L2VPN
H3C S9500 Series Routing Switches
Chapter 1 MPLS L2VPN Configuration Commands
1-2
Note:
If the outgoing interface is a VLAN interface, you need to use the
nexthop
ip-address
combination to specify the IP address of the next hop. Otherwise, you need to use the
out-interface
interface-type interface-number
combination to specify the outgoing
interface.
Examples
# Create a remote CCC connection from CEA to CEB, setting the incoming interface to
that connecting CEA, namely VLAN-interface 10; the next hop to 20.1.1.2; the incoming
label to 100; and the outgoing label to 200.
<Sysname> system-view
[Sysname] ccc CEA-CEB interface vlan-interface 10 in-label 100 out-label 200
nexthop 20.1.1.2
1.1.2 ccc interface out-interface
Syntax
ccc
ccc-connection-name interface interface-type interface-number
out-interface
interface-type interface-number
undo
ccc
ccc-connection-name
View
System view
Default Level
2: System level
Parameters
ccc-connection-name
: Name for the CCC connection. It is used for uniquely identifying
a CCC connection on a PE.
interface interface-type interface-number
: Specifies the interface for connecting the
first CE by its type and number.
out-interface
interface-type interface-number
: Specifies the interface for connecting
the second CE by its type and number.