< Home

ccc interface in-label out-label

Function

The ccc interface in-label out-label command creates a remote CCC connection between CEs connected to different PEs. This command must be configured on two PEs.

The undo ccc command deletes the CCC connection.

By default, no remote CCC connection is created.

Format

ccc ccc-connection-name interface interface-type1 interface-number1 [ raw | tagged ] in-label in-label-value out-label out-label-value nexthop nexthop-address [ control-word | no-control-word ]

undo ccc ccc-connection-name

Parameters

Parameter Description Value

ccc-connection-name

Specifies the CCC connection name, which uniquely identifies a CCC connection on a PE.

The value is a string of 1 to 20 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.

interface interface-type1 interface-number1

Specifies the type and number of the incoming interface of data traffic. In the preceding information:

  • interface-type1 specifies the interface type.
  • interface-number1 specifies the interface number.

-

raw

Sets the inbound interface to raw mode. When packets arrive at the inbound interface in raw mode, the system deletes the Provider tags (P-Tags) of packets.

By default, the tagged mode is used.

tagged

Sets the inbound interface to tagged mode. When packets arrive at the inbound interface in tagged mode, the system retains the Provider tags (P-Tags) of packets.

By default, the tagged mode is used.

in-label in-label-value

Specifies the inbound label.

The value is a decimal integer that ranges from 16 to 1023.

out-label out-label-value

Specifies the outbound label.

The value is a decimal integer that ranges from 0 to 1048575.

nexthop nexthop-address

Specifies the IP address of the next hop.

The value is in dotted decimal notation.

control-word | no-control-word

Enables or disable the control word (CW).

By default, the control word is disabled.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When two CEs connected to different PEs, use the ccc interface in-label out-label command to create a remote CCC connection between the CEs. This command must be executed on both PEs.

Precautions

An interface cannot serve as an L2VPN AC (Attachment Circuit) interface and L3VPN AC interface at the same time. After an interface is bound to an L2VPN, the Layer 3 features such as the IP address and routing protocol configured on this interface become invalid.

The device supports only VLANIF interfaces as AC interfaces of CCC connections.

A PE uses connection names to identify different CCC connections. On different PEs, the same CCC connection can use different names. When a P is connected to a PE, the static LSP must be configured between the P and PE. Do not configure the name of a CCC connection as type. Otherwise, you cannot view information about the CCC connection using the display vll ccc ccc-name command. Note that the outgoing label of the previous device is the inner label of the next device.

By default, link type negotiation is enabled globally on the device. If a VLANIF interface is used as an AC-side interface for L2VPN, the configuration conflicts with link type negotiation. In this case, run the lnp disable command in the system view to disable link type negotiation.

Example

# Create a remote CCC connection between CEs connected to different PE devices.

<HUAWEI> system-view
[HUAWEI] ccc ccc-connection interface vlanif 10 in-label 100 out-label 200 nexthop 10.1.1.2
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >