R2511-HP MSR Router Series MPLS Command Reference(V5)

69
If a P device is connected to a PE, you must configure static LSPs between them.
Only L2VPNs that use encapsulation types of PPP, HDLC, FR DLCI, FR port mode, ATM AAL5 transparent
transport, and ATM cell transparent transport support the control word function.
Only when the link that the outgoing interface connects is a point-to-point link, can you use the
out-interface keyword to specify the outgoing interface. If the link is not a point-to-point link but, for
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/0 in-label 100 out-label 200 out-interface serial
2/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 [ ip-interworking ]
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.
ip-interworking: Enables the CCC connection to support IP interworking. If you specify this keyword,
when the PE receives a packet from an AC, it extracts the IP packet from the packet, sends the IP packet
to the peer PE over the CCC connection. When the PE receives a packet from the CCC connection, it
encapsulates the IP packet according to the link type of the AC bound to the CCC connection, and sends
the encapsulated packet to the AC link. In this way, the PEs at the two ends of a CCC connection shield
the differences between two AC links, implementing communication between the ACs with different link
types.