R3303-HP HSR6800 Routers MPLS Configuration Guide

165
Ste
p
Command
Remarks
4. Create a default IPoA
mapping for the PVC.
map ip default
Optional.
By default, no IP address mapping
exists.
For more information about PVCs and ATM interfaces, see Layer 2—WAN Configuration Guide.
Configuring CCC MPLS L2VPN
Configuring a local CCC connection
To create a local CCC connection on a PE:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Create a local CCC
connection on the PE to
connect two CEs.
ccc ccc-connection-name interface
interface-type interface-number
out-interface interface-type
interface-number
The two interfaces specified in this
command are those connected to
the two CEs.
By specifying the two interfaces,
you bind the AC links to the CCC
connection.
Configuring a remote CCC connection
To configure a remote CCC connection, perform the following configurations on the PE and P devices:
On the two PEs of the connection, use the ccc interface in-label out-label command to specify the
incoming and the outgoing labels, and other information as needed. You do not need to configure
two static LSPs (with the static-lsp command) for each remote CCC connection.
On each P device between the two PEs, use the static-lsp command to configure a static LSP for both
directions of the CCC connection.
Configuring a PE
Follow these guidelines when you configure a remote CCC connection on a PE:
The label range for CCC is 16 to 1023, which is the label range for static LSPs.
Only when the link that the outgoing interface connects is a point-to-point link, can you use the
out-interface keyword to specify the outgoing interface. If the link is not a point-to-point link but, for
example, a link connecting to Layer 3 Ethernet interface, VLAN interface, or Layer 3 aggregate
interface, you must use the nexthop keyword to specify the IP address of the next hop.
In CCC mode, if the PE-CE interface of a PE is an Ethernet subinterface, all packets sent from the PE
to the CE carry a VLAN tag. You must configure the PE-CE interface of the CE to permit the packets
that carry that VLAN tag.
To configure a PE: