R2511-HP MSR Router Series MPLS Configuration Guide(V5)

41
Route distinguisher—To distinguish CEs with the same CE ID in different VPNs, Kompella adds an
RD before a CE ID. An RD and a CE ID uniquely identify a CE.
Route target—Kompella uses the BGP route target attribute (also called "VPN target" attribute) to
identify VPNs to make sure CEs in the same VPN can establish a connection and CEs in different
VPNs cannot.
A PE supports the following types of route target attributes:
Export target attribute—When a PE sends L2VPN information (such as CE ID and RD) to the peer
PE through a BGP update message, it sets the route target attribute carried in the update message
to export target.
Import target attribute—When a PE receives an update message from the peer PE, it checks the
route target attribute in the update message. If the route target value matches an import target on
the PE, the PE accepts the L2VPN information in the update message.
In a word, route target attributes define which PEs can receive L2VPN information, and from which PEs
that a PE can receive L2VPN information.
Different from Martini mode, the Kompella mode does not distribute the VC label assigned by the local
PE directly to the peer PE through the signaling protocol. Instead, it uses label blocks to assign labels to
multiple connections at time. A PE advertises label blocks to all PEs in the same VPN. Each PE calculates
the VC labels according to the label blocks from other PEs.
A label block includes the following parameters:
Label Base—Initial label value of the label block. A PE automatically selects the LB value that cannot
be manually modified.
Label Range—Number of labels that the label block contains. LB and LR determine the labels
contained in the label block. For example, if the LB is 1000 and LR is 5, the label block contains
labels 1000 through 1004.
Label-block Offset—Offset of the label block. When CEs increase in a VPN and the existing label
block size is not enough, you do not need to withdraw the label block on the PEs. Instead, you can
assign a new label block in addition to the existing label block to enlarge the label range. A PE uses
LO to identify a label block among all label blocks, and to determine from which label block it
assigns labels. The LO value of a label block is the sum of LRs of all previously assigned label blocks.
For example, if the LR and LO of the first label block is 10 and 0, the LO of the second label block
is 10. If the LR of the second label block is 20, the LO of the third label block is 30.
The following describes a label block in the format of LB/LO/LR. For example, a label block whose LB,
LO, and LR are 1000, 10, and 5 is represented as 1000/10/5.
With label blocks, 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.
Assume that an enterprise VPN contains 10 CEs and the number of CEs might increase to 20 in future.
In this case, set the LR to 20. When you add a CE to the VPN, 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, which simplifies
VPN expansion.