175
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 Remarks
Required
Configuring a PE-CE interface of a PE
Required
Configuring Martini MPLS L2VPN
Required
Optional
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…
Use the command…
Remarks
Enter system view
system-view
—
Configure the LSR ID
mpls lsr-id
lsr-id
Required
Configure MPLS basic capability
and enter MPLS view
mpls
Required
Return to system view
quit
—
Enable L2VPN and enter L2VPN
view
l2vpn
Required
Disabled by default
Enable MPLS L2VPN
mpls l2vpn
Required
Disabled by default