199
Task Remarks
Configuring a PE-CE interface of a PE
Required.
Perform this task to set up an AC between a PE and a
CE.
Configuring a remote CCC connection
Use one of the approaches according to the MPLS
L2VPN implementation method.
Perform this task to set up a VC, and bind the VC to an
AC.
Configuring Martini MPLS L2VPN
Configuring Kompella MPLS L2VPN
Configuring basic MPLS L2VPN
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Configure the LSR ID.
mpls lsr-id
lsr-id
N/A
3.
Configure basic MPLS and
enter MPLS view.
mpls
N/A
4.
Return to system view.
quit
N/A
5.
Enable L2VPN and enter
L2VPN view.
l2vpn
Disabled by default.
6.
Enable MPLS L2VPN.
mpls l2vpn
Disabled by default.
Configuring a PE-CE interface of a PE
A PE-CE interface of a PE refers to a PE's interface connected to a CE.
As shown in
, a PE-CE interface of a PE can use various types of encapsulations.
Table 2
Encapsulation types on a PE-CE interface of a PE
Encapsulation type Configuration
Ethernet
Configuring Ethernet encapsulation
VLAN
Configuring VLAN encapsulation
Configuring Ethernet encapsulation
When you configure Martini MPLS L2VPN for a service instance, you can specify the encapsulation type
for the PE-CE interface. When you configure MPLS L2VPN other than the Martini mode, you can only use
the default encapsulation type on the PE-CE interface.
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
.