MPLS FAQ For Beginners
MPLS FAQ For Beginners
Translations
Download
Print
Updated:May 2, 2016
Document ID:4649
Contents
Introduction
What do the terms incoming, outgoing, local, and remote mean when you refer to labels?
Generic Routing Encapsulation (GRE) tunnel has an overhead of 24 bytes. How much overhead
does an MPLS LSP tunnel have?
How does the LSR know which is the top label, bottom label, and a middle label of the label stack?
What is the range of label values? What label values are reserved? What do the reserved values
signify?
What protocol and port numbers do LDP and TDP use to distribute labels to LDP/TDP peers?
What restrictions exist for MPLS support on the Catalyst 6500 and 7600 Optical Services Router
(OSR)?
Does the outgoing MPLS EXP value inherit the DSCP value in incoming IP packets by default or is
the incoming DSCP trusted without any additional configuration on an MPLS enabled interface?
Does the DHCP relay function work in the MPLS VPN network?
Related Information
Introduction
This document answers the most frequently asked questions related to Multiprotocol Label Switching
(MPLS) from a beginner level.
For FEC 10.1.1.0/24, R1 is the Downstream LSR to R2 and R2 is the Downstream LSR to R3.
For FEC 10.1.1.0/24, R1 is the Downstream LSR to R2. For FEC 10.2.2.0/24, R2 is the Downstream LSR
to R1.
Data flows from upstream to downstream to reach that network (prefix).
The R4 routing table has R1, R2, and R3 as the next-hops to reach 10.1.1.0/24.
What do the terms incoming, outgoing, local, and remote mean when you
refer to labels?
Consider R2 and R3 in this topology. R2 distributes a label L for FEC F to R3. R3 uses label L when it
forwards data to FEC-F (because R2 is its downstream LSR for FEC-F). In this scenario:
How does the LSR know which is the top label, bottom label, and a middle
label of the label stack?
The label immediately after the Layer 2 header is the top label, and the label with the S bit set to 1 is the
bottom label. No application requires LSR to read/identify the middle labels. However, a label will be a
middle label if it is not at the top of the stack and the S bit is set to 0.
What is the range of label values? What label values are reserved? What do
the reserved values signify?
These values can also be found in RFC3032 - MPLS Label Stack Encoding.
Theoretically, the range is 0 through (220-1). Label values 0-15 are reserved, and values 4-15 are
reserved for future use. Values 0-3 are defined as:
A value of 0 represents the IPv4 Explicit NULL Label. This label indicates that the label stack must be
popped, and the packet forwarding must be based on the IPv4 header. This helps to keep Exp bits safe
until the egress router. It is used in MPLS based QoS
A value of 1 represents the Router Alert Label. When a received packet contains this label value at the
top of the label stack, it is delivered to a local software module for processing. The actual packet
forwarding is determined by the label beneath it in the stack. However, if the packet is forwarded
further, the Router Alert Label should be pushed back onto the label stack before forwarding. The use
of this label is analogous to the use of the Router Alert Option in IP packets (for example, ping with
record route option)
A value of 2 represents the IPv6 Explicit NULL Label. It indicates that the label stack must be popped,
and the packet forwarding must be based on the IPv6 header
A value of 3 represents the Implicit NULL Label. This is a label that an LSR can assign and distribute.
However, it never actually appears in the encapsulation. It indicates that the LSR pops the top label
from the stack and forwards the rest of the packet (labeled or unlabeled) through the outgoing
interface (as per the entry in Lfib). Although this value might never appear in the encapsulation, it
needs to be specified in the Label Distribution Protocol, so a value is reserved
What protocol and port numbers do LDP and TDP use to distribute labels to
LDP/TDP peers?
LDP uses TCP port 646, and TDP uses TCP port 711. These ports are opened on the router interface only
when mpls ip is configured on the interface. The use of TCP as a transport protocol results in reliable
delivery of LDP/TDP information with robust flow control and congestion handling mechanisms.
What restrictions exist for MPLS support on the Catalyst 6500 and 7600
Optical Services Router (OSR)?
The interface connected to the MPLS domain must use one of the Optical Services Modules (OSM) (for
example, any module that utilizes Parallel Express Forwarding (PXF) complex) or an interface in the
FlexWAN module. The same restriction exists for MPLS Layer 3 VPN. That is, the IP frame must enter on
a WAN interface which is either an OSM or an interface in a FlexWAN module. These restrictions do not
exist on a Supervisor 720.
Does the outgoing MPLS EXP value inherit the DSCP value in incoming IP
packets by default or is the incoming DSCP trusted without any additional
configuration on an MPLS enabled interface?
Yes, no additional configuration is needed.
Does the DHCP relay function work in the MPLS VPN network?
Yes, the DHCP request is forwarded within the VRF across the MPLS VPN network and the egress
Provider Edge sends it in the same VRF to the DHCP server.
Related Information