a new VC, you only need to configure a one-way VC for each of the PEs. Your configuration will not affect
the operation of the network.
The Martini method applies to scenarios with sparse Layer 2 connections, such as a scenario with a star
topology.
MPLS L2VPN configuration task list
Complete the following tasks to configure MPLS L2VPN:
Task
Configuring MPLS L2VPN
Configuring a PE-CE interface of a PE
Configuring Martini MPLS L2VPN
Inspecting VCs
NOTE:
After you create an MPLS L2VPN connection on a Layer 3 interface, IP related functions on the
sub-interfaces of the Layer 3 interface will fail. For example, the sub-interfaces cannot receive ARP or
IGMP packets; they cannot forward unicast or multicast packets. After you remove the MPLS L2VPN
connection, the IP related functions on the sub-interfaces recover.
Configuring MPLS L2VPN
You can select any of the implementation methods for MPLS L2VPN as needed. However, no matter what
method you select, you must complete the following tasks:
Configure MPLS basic capability
•
•
Enable L2VPN
Enable MPLS L2VPN
•
To configure MPLS L2VPN:
To do...
Enter system view
Configure the LSR ID
Configure MPLS basic capability
and enter MPLS view
Return to system view
Enable L2VPN and enter L2VPN
view
Enable MPLS L2VPN
Use the command...
system-view
mpls lsr-id lsr-id
mpls
quit
l2vpn
mpls l2vpn
175
Remarks
Required
Required
Required
Optional
Remarks
—
Required
Required
—
Required
Disabled by default
Required
Disabled by default