The ccc interface in-label out-label command configures a remote CCC connection between a local CE and a remote CE that connect to different PEs.
The undo ccc command deletes a remote CCC connection.
By default, no remote CCC connection is created.
ccc ccc-connection-name interface { interface-type1 | interface-type1 interface-number1 } [ interface-number1 ] in-label in-label-value out-label out-label-value { nexthop nexthop-address | out-interface { interface-name2 | interface-type2 interface-number2 } } [ control-word | no-control-word ]
ccc ip-interworking ccc-connection-name interface { interface-type1 | interface-type1 interface-number1 } in-label in-label-value out-label out-label-value { nexthop nexthop-address | out-interface { interface-name2 | interface-type2 interface-number2 } } [ control-word | no-control-word ]
Parameter | Description | Value |
---|---|---|
ccc-connection-name |
Specifies a remote CCC connection name. It uniquely identifies a remote CCC connection on a PE. |
The value is a string of 1 to 31 case-sensitive characters, spaces not supported. The string can contain spaces if it is enclosed in double quotation marks ("). |
interface interface-type1 interface-number1 |
Specifies the type and number of an inbound interface. |
- |
interface-number1 |
Sets the encapsulation type on the inbound interface to raw. |
- |
in-label in-label-value |
Specifies the value of an in-label. |
The value is an integer ranging from 16 to 32783. |
out-label out-label-value |
Specifies the value of an out-label. |
The value is an integer ranging from 0 to 1048575. |
nexthop nexthop-address |
Specifies the IP address of a next hop. |
The value is in dotted decimal notation. |
out-interface interface-type2 interface-number2 |
Specifies the type and number of an outbound interface. |
- |
control-word |
Enables the control word function. By default, the control word function is not enabled. |
- |
no-control-word |
Disables the control word function. |
- |
ip-interworking |
Indicates heterogeneous IP interworking for a remote CCC connection. |
- |
Usage Scenario
CCC VPWS applies to small-scale MPLS networks with simple topologies. Because it does not require signaling negotiation or control packet exchange, CCC consumes fewer resources; however, it must be configured by network administrators, and therefore has poor scalability and is difficult to maintain.
If two CEs connect to different PEs, run the ccc interface in-label out-label command to create remote CCC connections for the two CEs to communicate.Prerequisites
MPLS L2VPN has been enabled.
Precautions