<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Mpls on TTL Expired</title>
    <link>https://ttl-expired.net/tags/mpls/</link>
    <description>Recent content in Mpls on TTL Expired</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Wed, 15 Apr 2026 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://ttl-expired.net/tags/mpls/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>MPLS Concepts for JNCIS-SP</title>
      <link>https://ttl-expired.net/docs/mpls/</link>
      <pubDate>Wed, 15 Apr 2026 00:00:00 +0000</pubDate>
      <guid>https://ttl-expired.net/docs/mpls/</guid>
      <description>&lt;h2 id=&#34;mpls-multiprotocol-label-switching&#34;&gt;MPLS (Multiprotocol Label Switching)&lt;/h2&gt;
&lt;p&gt;MPLS is a forwarding mechanism that uses short, fixed-length labels to make packet-forwarding decisions instead of performing a full IP lookup at every hop. Labels are applied at the ingress of an MPLS domain and stripped at the egress, with each transit router performing only a label swap — making forwarding fast and enabling traffic engineering, VPNs, and QoS capabilities.&lt;/p&gt;
&lt;hr&gt;
&lt;h3 id=&#34;terms&#34;&gt;Terms&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;LSR&lt;/strong&gt; (Label Switching Router) - Any router participating in MPLS forwarding. Performs label push, swap, or pop.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;LSP&lt;/strong&gt; (Label Switched Path) - The unidirectional path a labeled packet takes from ingress to egress LSR.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;FEC&lt;/strong&gt; (Forwarding Equivalence Class) - A group of packets that receive identical forwarding treatment and are assigned the same label at ingress. The ingress router decides the FEC assignment; downstream routers just label-switch.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Ingress LSR&lt;/strong&gt; - The first router in an LSP. Classifies traffic into FECs and pushes labels.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Egress LSR&lt;/strong&gt; - The last router in an LSP. Removes the label and forwards the original packet.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Transit LSR&lt;/strong&gt; (P router) - An interior provider router. Swaps labels and forwards without examining the inner IP header.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;PE&lt;/strong&gt; (Provider Edge) - ISP router at the edge of the MPLS domain that interfaces with customer equipment. Performs label push/pop for customer traffic.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;CE&lt;/strong&gt; (Customer Edge) - Customer device that connects to the PE. Not aware of MPLS.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;LIB&lt;/strong&gt; (Label Information Base) - The full table of all label bindings a router has received. Not all entries are actively used for forwarding.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;LFIB&lt;/strong&gt; (Label Forwarding Information Base) - The active subset of the LIB used for actual forwarding decisions. This is what the data plane uses.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;TED&lt;/strong&gt; (Traffic Engineering Database) - Populated by IGP TE extensions; stores link-state info (bandwidth, admin groups) used by CSPF to calculate constrained paths.&lt;/li&gt;
&lt;/ul&gt;
&lt;hr&gt;
&lt;h3 id=&#34;label-operations&#34;&gt;Label Operations&lt;/h3&gt;
&lt;table&gt;
  &lt;thead&gt;
      &lt;tr&gt;
          &lt;th&gt;Operation&lt;/th&gt;
          &lt;th&gt;Description&lt;/th&gt;
      &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
      &lt;tr&gt;
          &lt;td&gt;&lt;strong&gt;Push&lt;/strong&gt;&lt;/td&gt;
          &lt;td&gt;Add a new label to the top of the label stack. Done by the ingress LSR.&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;&lt;strong&gt;Swap&lt;/strong&gt;&lt;/td&gt;
          &lt;td&gt;Replace the top label with a new one. Done by transit LSRs.&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;&lt;strong&gt;Pop&lt;/strong&gt;&lt;/td&gt;
          &lt;td&gt;Remove the top label from the stack. Done by the egress LSR or the penultimate hop.&lt;/td&gt;
      &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;
&lt;hr&gt;
&lt;h3 id=&#34;mpls-label-structure&#34;&gt;MPLS Label Structure&lt;/h3&gt;
&lt;p&gt;Each MPLS label is a 32-bit field inserted between the Layer 2 and Layer 3 headers (sometimes called a &amp;ldquo;shim header&amp;rdquo;). Multiple labels can be stacked.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
