Professional Documents
Culture Documents
MPLS L2VPN
MPLS L2VPN provides Layer 2 VPN services on the MPLS network. It allows carriers
to establish L2VPNs on different data link layer protocols, including ATM, FR, VLAN,
Ethernet and PPP. In addition, the MPLS network provides traditional IP, MPLS L3VPN,
Traffic Engineering (TE), and QoS services.
MPLS L2VPN transfers Layer 2 user data transparently on the MPLS network. For
users, the MPLS network is a Layer 2 switched network and can be used to establish
Layer 2 connections between nodes.
Consider ATM as an example. Each customer edge device (CE) can connect to the
MPLS network through an ATM virtual circuit (VC) to communicate with another CE.
This is similar to that on an ATM network.
CE 2
CE 1
VPN 1
VPN 1 VC
PE 2
VC
LSP
P
VC PE 1 PE 3
VC
VPN 2
CE 3 CE 4 VPN 2
1
Technology Introduction
MPLS MPLS L2VPN
2
Technology Introduction
MPLS MPLS L2VPN
T V L2PDU T` V L2PDU
PE 1 PE 2
L2PDU L2PDU
CE 1 CE 2
Unlike common MPLS L2VPN, Circuit Cross Connect (CCC) employs just one level of
label to transfer user data. Therefore, it uses label switched paths (LSPs) exclusively.
That is, a CCC LSP can be used to transfer only the data of the CCC connection; it can
neither be used for other MPLS L2VPN connections, nor for MPLS L3VPN or common
IP packets.
3
Technology Introduction
MPLS MPLS L2VPN
The most significant advantage of this method is that no label signaling is required for
transferring Layer 2 VPN information. As long as MPLS forwarding is supported and
service provider networks are interconnected, this method works perfectly. In addition,
since LSPs are dedicated, this method supports QoS services.
There are two types of CCC connections:
z Local connection: A local connection is established between two local CEs that
are connected to the same PE. The PE functions like a Layer 2 switch and can
directly switch packets between the CEs without any static LSP.
z Remote connection: A remote connection is established between a local CE and a
remote CE, which are connected to different PEs. In this case, a static LSP is
required to transport packets from one PE to another.
Note:
You must configure for each remote CCC connection two LSPs, one for inbound and
the other for outbound, on the P device along the remote connection.
Static Virtual Circuit (SVC) also implements MPLS L2VPN by static configuration. It
transfers L2VPN information without using any signaling protocol.
The SVC method resembles the Martini method closely and is in fact a static
implementation of the Martini method. The difference is that it does not use LDP to
transfer Layer 2 VC and link information. You only need to configure VC label
information.
Note:
The labels for CCC and SVC range from 16 to 1023, which are reserved for static LSPs.
4
Technology Introduction
MPLS MPLS L2VPN
Once LDP establishes an LSP between the two PEs and the label exchange and the
binding to CE are finished, a VC is set up and ready to transfer Layer 2 data.
To allow the exchange of VC labels between PEs, the Martini method extended LDP by
adding the forwarding equivalence class (FEC) type of VC FEC. Moreover, as the two
PEs exchanging VC labels may not be connected directly, a remote LDP session must
be set up to transfer the VC FEC and VC labels.
With Martini MPLS L2VPN, only PEs need to maintain a small amount of VC labels and
LSP mappings and no P device contains Layer 2 VPN information. Therefore, it has
high scalability. In addition, to add 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.
Kompella MPLS L2VPN is different from Martini MPLS L2VPN in that it does not
operate on the connections between CEs directly. It organizes different VPNs in the
whole service provider network and encodes each CE in a VPN. For a connection to be
established between two CEs, you only need to perform these tasks on the PEs:
z Configuring CE IDs of the local and remote CEs respectively
z Specifying the circuit ID that the local CE assigns to the connection, such as the
VPI/VCI with ATM.
Kompella MPLS L2VPN uses extended BGP as the signaling protocol to distribute VC
labels. Its label block mode allows it to assign labels to multiple connections at a time.
With Kompella MPLS L2VPN, you can specify a local CE range to indicate how many
CEs can be connected with a CE. Then, the system assigns a label block of a size
equal to the CE range for the CE. In this way, you can reserve some labels for the VPN
for future use. This wastes some label resources in a short term, but can reduce the
VPN deployment and configuration workload in the case of expansion.
Imagine that an enterprise VPN contains 10 CEs and the number may increase to 20 in
future service expansion. In this case, you can set the CE range of each CE to 20. Thus,
when you need to add a CE to the VPN later, you only need to modify the configurations
of the PE to which the new CE is connected. No change is required for the other PEs.
This makes VPN expansion extremely simple.
Similar to MPLS L3VPN, Kompella MPLS L2VPN also uses VPN targets to identify
VPNs. This brings excellent VPN networking flexibility.
In addition, Kompella supports local connections and inter-provider VPN solutions.