
158
•
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:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Create a remote
CCC connection.
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
]
The
interface
interface-type
interface-number
option
specifies a PE-CE interface of
the PE. By specifying the
interface, you bind the AC link
on the interface to the remote
CCC connection to be created.
Configuring a P device
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Configure a transit static
LSP.
static-lsp
transit
lsp-name
incoming-interface
interface-type interface-number
in-label
in-label
{
nexthop
next-hop-addr
|
outgoing-interface
interface-type interface-number
}
out-label
out-label
For more
information about
the
static-lsp
command, see
MPLS Command
Reference
.
Configuring SVC MPLS L2VPN
You can configure an ordinary static VC (SVC) or configure a pair of primary and backup SVCs in the
following methods:
•
Configure a static VC on a Layer 3 interface. This method does not support VC redundancy.
•
Configure a primary static VC and a backup static VC on a Layer 3 interface. This method
implements VC redundancy.
•
Configure a primary static VC and a backup static VC for a service instance. This method
implements VC redundancy.