mpls ccc (interface view)

Function

The mpls ccc command enables an AC interface on a PE to establish a circuit cross connect (CCC) connection with another AC interface on the same PE.

The undo mpls ccc command removes a local CCC connection.

By default, no local CCC connection is created on an AC interface of a PE.

Format

mpls ccc instance-name instance-name-value out-interface { interface-name | interface-type interface-number } [ [ ip-interworking | ip-layer2 | raw | tagged ] | [ access-port ] ] *

mpls ccc out-interface { interface-name | interface-type interface-number } [ [ ip-interworking | ip-layer2 | raw | tagged ] | [ access-port ] | [ secondary ] ] *

undo mpls ccc [ instance-name instance-name-value ]

undo mpls ccc [ out-interface { interface-name | interface-type interface-number } [ [ ip-interworking | ip-layer2 | raw | tagged ] | [ access-port ] ] * ] secondary

Parameters

Parameter Description Value
out-interface interface-type interface-number

Specifies the type and number of the outbound interface of a CCC connection.

-

ip-interworking

Enables heterogeneous media IP interworking between Huawei devices.

-

ip-layer2

Enables heterogeneous media IP interworking between a Huawei device and a non-Huawei device.

-

raw

Specifies that packets do not carry P-tags after being encapsulated for a CCC connection.

-

tagged

Specifies that packets will carry P-tags after being encapsulated for a CCC connection.

-

access-port

Allows only untagged packets to pass through an AC interface.

By default, all packets can be transmitted through an AC interface.

The access-port parameter applies only to main Ethernet interfaces.

-

secondary

Configures a CCC as a secondary CCC. If this keyword is not specified, the created CCC will be a primary CCC. Note that this parameter can be specified only if a primary VC exists locally.

-

instance-name instance-name-value

Specifies the name of an L2VPN service. This parameter uniquely identifies an L2VPN service on a PE.

The value is a string of 1 to 31 case-sensitive characters, spaces not supported.

The character string can contain spaces if it is enclosed with double quotation marks (" ").

Views

100ge sub-interface view, 100GE interface view, 10GE sub-interface view, 10GE interface view, 200GE sub-interface view, 25GE sub-interface view, 25GE interface view, 400GE Layer 2 sub-interface view, 400GE sub-interface view, 400GE interface view, 40GE sub-interface view, 40GE interface view, 50GE Layer 2 sub-interface view, 50GE sub-interface view, 50GE interface view, Eth-Trunk Layer 2 sub-interface view, Eth-Trunk sub-interface view, Eth-Trunk interface view, GE Layer 2 sub-interface view, GE optical interface view, GE sub-interface view, GE interface view, GE electrical interface view, XGE sub-interface view, XGE interface view, Layer 2 sub-interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
l2vpn write

Usage Guidelines

Usage Scenario

In the scenario where an LDP VC is configured to protect a CCC VC, CE1 and CE2 are connected to the same PE through a local CCC VC. If CE2 serves as a BRAS and needs to authenticate CE1, in case that CE2 or the AC2 interface on CE2 fails, CE1 cannot be authenticated. If the PE is connected to another BRAS through an LDP VC, you can run the mpls ccc command to configure the PW as the backup for the AC2 link. If CE2 or the AC2 interface on CE2 fails, CE1 can access the other BRAS for authentication.

Specifying the raw or tagged parameter in the mpls ccc command takes effect only when a CCC connection is established on Ethernet links and heterogeneous IP interworking is not configured.

Specifying the access-port parameter takes effect only on Ethernet interfaces.

Prerequisites

MPLS L2VPN has been enabled using the mpls l2vpn command.

Precautions

  • If a PW is configured on an AC interface, the Layer 3 features of the interface, such as the IP address and routing protocol, stop taking effect. An interface cannot serve as both a PW AC interface and an L3VPN AC interface. If an interface is bound to both a PW and an L3VPN, only the PW configuration takes effect on the interface. After the PW is deleted, the L3VPN configuration takes effect on the interface.
  • If a sub-interface is bound to a PW:
  • The sub-interface can be deleted only after the binding configuration is removed.
  • The encapsulation protocol type of the main interface cannot be changed.

Example

# Enables GE 0/1/0 to create a local CCC connection with GE 0/1/8.
<HUAWEI> system-view
[~HUAWEI] mpls
[*HUAWEI-mpls] quit
[*HUAWEI] mpls l2vpn
[*HUAWEI-l2vpn] quit
[*HUAWEI] interface GigabitEthernet 0/1/0
[*HUAWEI-GigabitEthernet0/1/0] mpls ccc out-interface GigabitEthernet 0/1/8
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >