By default, a Layer 3 Ethernet interface uses Ethernet encapsulation. For configuration information about
Layer 3 Ethernet interfaces, see Layer 2—LAN Switching Configuration Guide.
Configuring VLAN encapsulation
Martini MPLS L2VPN configuration for a service instance allows you to configure an encapsulation type
for a PE-CE interface while other types of MPLS L2VPN require a PE-CE interface to use the default
encapsulation type.
By default, a Layer 3 Ethernet subinterface uses VLAN encapsulation. For configuration information
•
about Layer 3 Ethernet subinterfaces, see Layer 2—LAN Switching Interface Configuration Guide.
By default, a VLAN interface uses VLAN encapsulation (the VLAN interface and the CE must reside
•
in the same VLAN). For configuration information about VLAN interface, see Layer 2—LAN
Switching Configuration Guide.
Configuring CCC MPLS L2VPN
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. 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.
•
In CCC mode, if the PE-CE interface of a PE is a VLAN interface or 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 packets that carry that VLAN tag.
To configure a PE:
Step
1.
Enter system view.
2.
Create
CCC connection.
Configuring a P device
Step
1.
Enter system view.
Command
system-view
ccc ccc-connection-name interface
interface-type interface-number in-label
a
remote
in-label-value out-label out-label-value
{ nexthop ip-address | out-interface
interface-type interface-number }
Command
system-view
Remarks
N/A
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.
200
Remarks
N/A