beautypg.com

Configuring ccc mpls l2vpn, Configuration prerequisites, Configuring the local ccc connection – H3C Technologies H3C S10500 Series Switches User Manual

Page 204: Configuring the remote ccc connection, Configuration on pes

background image

193

Configuring CCC MPLS L2VPN

Configuration prerequisites

Before you configure CCC L2VPN, complete the following tasks:

Configure basic MPLS for the MPLS backbone on the PEs and P devices.

Enable MPLS L2VPN on the PEs. You do not need to enable MPLS L2VPN on the P devices.

NOTE:

If the PE-CE interface of the PE is a serial interface running FR, you must use the reset fr inarp command
to refresh the information between the PE and the CE. For information about the reset fr inarp command,

see

Layer 2—WAN Command Reference.

To configure CCC MPLS L2VPN, you need the following data:

Name for the CCC connection

Connection type: local or remote

For a local CCC connection: the types and numbers of the incoming and outgoing interfaces

For a remote CCC connection: the type and number of the incoming interface, the address of the

next hop or the type and number of the outgoing interface, and the incoming and outgoing labels
of the LSRs along the CCC connection

Configuring the local CCC connection

Follow these steps to create a local CCC connection on a PE:

To do…

Use the command…

Remarks

Enter system view

system-view

Create a local CCC connection
between two CEs connected to the

same PE

ccc ccc-connection-name interface
interface-type interface-number

out-interface interface-type

interface-number
[ ip-interworking ]

Required

Configuring the remote CCC connection

Configuration on PEs

Perform the following configuration on a PE:

To do…

Use the command…

Remarks

Enter system view

system-view

Create a remote CCC
connection between CEs

connected to different PEs

ccc ccc-connection-name interface interface-type
interface-number
in-label in-label-value out-label

out-label-value { nexthop ip-address | out-interface
interface-type interface-number } [ control-word |

no-control-word ] [ ip-interworking ]

Required