Creating a Local CCC Connection

Creating a local CCC connection enables two CEs that connect to the same PE to communicate.

Context

When configured with a local CCC connection, the PE functions similar to a Layer 2 switch to directly transmit the CEs' packets without using LSPs.

Perform the following steps on a PE connecting two CEs:

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run mpls l2vpn

    MPLS L2VPN is enabled.

  3. Run quit

    Return to the system view.

  4. Run ccc ccc-connection-name interface { interface-name1 | interface-type1 interface-number1 } [ access-port ] [ raw ] out-interface { interface-name2 | interface-type2 interface-number2 [ access-port ] [ outraw ] Or, ccc ip-interworking ccc-connection-name interface { interface-name1 | interface-type1 interface-number1 } [ access-port ] out-interface { interface-name2 | interface-type2 interface-number2 [ access-port ] [ outraw ]

    A local CCC connection is created.

    • Because the local CCC connection is bidirectional, only one connection is required, and only the inbound and outbound interfaces of the connection need to be configured on the PE.
    • If the link encapsulation types on the two CEs are inconsistent, configure ip-interworking in this command to enable heterogeneous IP interworking for the local CCC connection.
    • The raw, tagged, and access-port parameters can be configured in this command only when this command is applied to Ethernet links. The access-port parameter applies only to Ethernet main interfaces.

  5. (Optional) Run ccc cccName description text

    A description is configured for the local CCC connection.

  6. Run commit

    The configuration is committed.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >