< Home

ccc interface out-interface

Function

The ccc interface out-interface command creates a local CCC connection between two CEs connected to the same PE.

The undo ccc command deletes the CCC connection.

By default, no local CCC connection is created.

Format

ccc ccc-connection-name interface interface-type1 interface-number1 [ raw | tagged ] out-interface interface-type2 interface-number2 [ raw | tagged ]

undo ccc ccc-connection-name

Parameters

Parameter Description Value

ccc-connection-name

Specifies a 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 interface connected to the first CE.

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

-

out-interface interface-type2 interface-number2

Specifies the type and number of the interface connected to the second CE.

  • interface-type2 specifies the interface type.
  • interface-number2 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.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When two CEs connect to the same PE, use the ccc interface out-interface command to create a local CCC connection between the CEs.

Precautions

An interface cannot serve as an L2VPN AC 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. After the interface is bound to a CCC connection, its sub-interfaces no longer transmit Layer 3 traffic.

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

A CCC connection is bidirectional; therefore, only one connection is needed. Do not configure the name of a CCC connection as type; otherwise, you cannot view information about the CCC connection by running the display vll ccc command.

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 local CCC connection between two CEs connected to the same PE device.

<HUAWEI> system-view
[HUAWEI] mpls lsr-id 1.1.1.1
[HUAWEI] mpls
[HUAWEI-mpls] quit
[HUAWEI] mpls l2vpn
[HUAWEI-l2vpn] quit
[HUAWEI] ccc ccc-connect-1 interface vlanif 10 out-interface vlanif 11
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >