R3303-HP HSR6800 Routers MPLS Command Reference

184
example, a link connecting to a Layer 3 Ethernet interface, VLAN interface, or Layer 3 aggregate
interface, you must use the nexthop keyword to specify the IP address of the next hop.
Examples
# Create a remote CCC connection from CEA to CEB, setting the incoming interface to that connecting
CEA, the outgoing interface to that connecting the P router, the incoming label to 100, and the outgoing
label to 200.
<Sysname> system-view
[Sysname] ccc CEA-CEB interface serial 2/1/0 in-label 100 out-label 200 out-interface
serial 2/1/1
ccc interface out-interface
Use ccc interface out-interface to create a local CCC connection between two CEs connected to the
same PE.
Use undo ccc to delete a CCC connection.
Syntax
ccc ccc-connection-name interface interface-type interface-number out-interface interface-type
interface-number
undo ccc ccc-connection-name
Views
System view
Default command level
2: System level
Parameters
ccc-connection-name: Specifies the CCC connection name, a string of 1 to 20 characters. It is used for
uniquely identifying a CCC connection on a PE.
interface interface-type interface-number: Specifies the interface connected to one CE of the CCC
connection.
out-interface interface-type interface-number: Specifies the interface connected to the other CE of the
CCC connection.
Examples
# CE 1 and CE 2 are connected to the same PE. On the PE, create a local CCC connection for the two
CEs.
<Sysname> system-view
[Sysname] ccc ccc-connect-1 interface gigabitethernet 2/1/1 out-interface gigabitethernet
2/1/2
ce
Use ce to create a CE, specify the CE name, CE ID, CE range, and the initial CE ID, and enter MPLS
L2VPN CE view.
Use undo ce to delete a CE.