<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[DriveNets TechBites - Medium]]></title>
        <description><![CDATA[Technical Posts on high-scale networking - Medium]]></description>
        <link>https://medium.com/dn-techbites?source=rss----64f582cf8e37---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>DriveNets TechBites - Medium</title>
            <link>https://medium.com/dn-techbites?source=rss----64f582cf8e37---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 13:18:54 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/dn-techbites" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Stop Touching Boxes: Zero-Touch Bring-Up with Cluster-Wide Consistency]]></title>
            <link>https://medium.com/dn-techbites/stop-touching-boxes-zero-touch-bring-up-with-cluster-wide-consistency-db117aed983f?source=rss----64f582cf8e37---4</link>
            <guid isPermaLink="false">https://medium.com/p/db117aed983f</guid>
            <category><![CDATA[routing]]></category>
            <category><![CDATA[ztp]]></category>
            <category><![CDATA[network]]></category>
            <category><![CDATA[network-operating-system]]></category>
            <category><![CDATA[zero-touch-provisioning]]></category>
            <dc:creator><![CDATA[Brad Riapolov]]></dc:creator>
            <pubDate>Mon, 04 May 2026 16:23:08 GMT</pubDate>
            <atom:updated>2026-05-20T16:07:58.569Z</atom:updated>
            <content:encoded><![CDATA[<p>Tier-1 and Tier-2 networks don’t usually get hurt because someone fat-fingered a single router. They get hurt because the system quietly drifts. One device is on a slightly different baseline. One link is cabled “almost right.” One node missed a change during a hectic maintenance window. Everything looks green until the day traffic shifts, a failure occurs, or you turn up a new service and then you chase ghosts at 2 a.m.</p><p>That’s the real reason “zero-touch provisioning” is still worth talking about in 2026. Not because we don’t know how to boot a box and load a config. Everyone can do that. The difference, especially in disaggregated routing, is whether your Day-0 process prevents drift across the whole platform before you introduce Day-1 services.</p><p>With a distributed router, you’re not provisioning a device. You’re bootstrapping a cluster. This involves multiple forwarding nodes, a control plane, internal fabric links, management access and a single operational intent that has to remain consistent. When that’s your reality, “ZTP” stops being a convenience feature and starts being an operational discipline.</p><p>This post lays out a practical Day-0 approach for bringing up a DriveNets DNOS cluster using orchestration-driven workflows (DNOR as the reference point). The goal isn’t to sell you on ZTP. It’s to share what actually keeps large builds sane: repeatable enrollment, role-aware baselines and consistency gates that catch problems while the cost of fixing them is still low.</p><h3><strong>Why box-ZTP doesn’t scale to a cluster</strong></h3><p>Traditional ZTP assumes a simple world. A management interface comes up, DHCP hands out an address and maybe a bootfile, the device pulls a config, and you’re done. That flow works for a standalone router, but it breaks down the moment the “router” is a distributed system.</p><p>A cluster introduces failure modes that box-ZTP doesn’t even try to solve. Nodes have different responsibilities and need different baselines. A single missed upgrade creates version skew across what operators still think of as “one router.” Fabric miswires matter as much as external ports. Partial changes create half-updated systems that behave fine until load or failover exposes the cracks. And once you’re troubleshooting, the problem stops being “what changed” and becomes “which node is wrong.”</p><p>If your Day-0 process doesn’t address those realities, you’ll still get the cluster up, but you’ll pay for it later, repeatedly.</p><h3><strong>What “done” actually means on Day-0</strong></h3><p>For Tier-1/2 operations, “done” isn’t “I can SSH to it.” “Done” is cluster-ready. That means all nodes are enrolled and visible, roles are correct, the fabric is sane, and the baseline intent is applied consistently across the whole system. It also means operational state matches what you configured, and the prerequisites you need for routing and services are already green.</p><p>That’s the line between “we powered on hardware” and “we built a system.”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/618/1*5xkjG87NKOJCG0chyABmNw.png" /><figcaption>Figure1–1: Day-0 Flow: From Power-On to Cluster-Ready</figcaption></figure><p>Notice that in the <a href="https://drivenets.com/products/">DriveNets solution</a>, DNOR (DriveNets Network Orchestrator) sits at the top as the intent/control point, feeding enrollment and baseline intent to multiple cluster members (forwarding nodes and control-plane role). Under the nodes, the internal fabric is guided to a “Cluster Consistency Gates” state with the final ready for Day-1 services.</p><h3><strong>The Day-0 flow: from bare metal to a consistent routing system</strong></h3><p>In the field, the exact knobs vary by site, but the sequencing is what keeps you out of trouble.</p><h4><strong>1.</strong> <strong>Stable Management &amp; Discovery</strong></h4><p>Start with management that’s stable and repeatable. OOB reachability is ideal; in-band can work if it’s built the right way, but it must be deterministic. DHCP and DNS need to be boring and correct, not “mostly right.” Day-0 should stay minimal. It’s tempting to jam Day-1 services into bootstrap, but that’s how you end up debugging services on top of a shaky foundation.</p><h4><strong>2.</strong> <strong>Identity and Enrollment</strong></h4><p>Next, nodes need a clean path to discover the orchestrator endpoint and enroll. With orchestration-driven bring-up, you aren’t dumping full configurations onto each node and hoping they align. You’re establishing identity, cluster membership, and a controlled mechanism to apply intent. In a disaggregated build, identity is everything. If you can’t reliably answer “which node is which,” you’ll eventually mis-apply a change and it will take longer to unwind than it ever should have.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/783/1*MjxWvogs83_t_Nc6FCeYSQ.png" /><figcaption>Figure 1–2 DNOR inventory / cluster members</figcaption></figure><h4><strong>3.</strong> <strong>Role-Aware Baselines</strong></h4><p>Once nodes are enrolled, the baseline configuration needs to be role-aware. Forwarding nodes shouldn’t be treated the same as control-plane functions. Site standards like NTP, logging, AAA, telemetry targets, management VRFs, and security baselines should converge consistently across the system. This isn’t “automation for automation’s sake.” It’s the difference between one baseline and ten interpretations of a baseline.</p><h4><strong>4.</strong> <strong>Consistency Gates</strong></h4><p>Then comes the part teams skip when they’re under time pressure: consistency gates. Before you turn up BGP, IS-IS, EVPN, SR, or anything that carries customer traffic, validate the internal fabric, confirm software alignment, and verify that intended configuration has converged across the cluster. If you’ve been around long enough, you’ve seen the pattern: the build “works,” then the first failure or traffic shift reveals it never really was consistent.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/888/1*ke5-ObuZ9c9Bgs8--TiWaw.png" /><figcaption>Figure 1–3 DNOR onboarding/ZTP Status</figcaption></figure><h4><strong>5.</strong> <strong>Prove Day-1 Readiness</strong></h4><p>That includes reachability where it matters, MTU sanity, especially if you carry encapsulation overhead, and basic observability. If you can’t see what you need when something goes sideways, you didn’t finish Day-0; you just postponed it.</p><h3><strong>The differentiator that matters: drift prevention</strong></h3><p>The market doesn’t need another post explaining DHCP options. What operators care about is whether the platform helps them avoid the slow bleed of drift.</p><p>Drift shows up as unexplained differences between nodes that were supposed to be identical, state and counters that don’t line up, failures that only appear during switchover, and upgrades that become painful because the starting point is inconsistent. It also shows up as confidence erosion. The team stops trusting the system, so they add manual steps, longer windows, and fragile runbooks that only one or two people truly understand. That’s expensive, and it gets worse as the network scales.</p><p>Cluster-wide intent beats box-by-box configuration because it makes outcomes repeatable. A good Day-0 workflow gives you one baseline applied consistently, controlled change mechanics that reduce partial updates, role-aware provisioning so you aren’t creating snowflakes by accident, and validation gates so “done” means the same thing every time. You can debate architecture all day, but those are the things that change operational reality.</p><h3><strong>The failure modes you want to catch on Day-0</strong></h3><p>From our field experience, these are the failure modes that surface time and again. They’re the ones that eat weeks.</p><h4>1. <strong>Miswired fabric links</strong></h4><p>· Symptom: intermittent adjacency issues, asymmetric traffic, “only fails when we load it.”</p><p>· Day-0 catch: fabric health/topology validation before any services are turned up.</p><h4>2. <strong>Role mismatch / wrong cluster membership</strong></h4><p>· Symptom: a node “exists” but behaves wrong; config doesn’t land the way you expect.</p><p>· Day-0 catch: enrollment + identity checks, role assignment verification.</p><h4>3. <strong>Version skew after partial upgrades or staged rollout</strong></h4><p>· Symptom: a feature works on half the system; unexplained behavior differences.</p><p>· Day-0 catch: version alignment gate and a firm “no Day-1 services until aligned.”</p><h4><strong>4.</strong> <strong>Management reachability that’s “mostly fine”</strong></h4><p>· Symptom: automation works from one tool host but not another; telemetry gaps.</p><p>· Day-0 catch: validate OOB/in-band reachability and telemetry endpoints early.</p><h4>5. <strong>Configuration drift from parallel edits</strong></h4><p>· Symptom: “it was working yesterday,” no one can explain the change.</p><p>· Day-0 catch: consistent workflows, controlled commit behavior, and clear auditability.</p><p>None of these are glamorous. All of them are expensive when discovered late.</p><h3><strong>So how long does cluster bring-up take, really?</strong></h3><p>Operators always ask this because the answer affects staffing and change windows.</p><p>If hardware is already imaged and cabling is clean, getting to a cluster-ready state is often on the order of 60 minutes for a small cluster. If you’re imaging from scratch and validating a new site’s cabling, plan closer to half a day, not because the software is slow, but because the real world is messy.</p><p>The more important point is that a disciplined Day-0 workflow makes the time predictable. Predictable time is what lets Tier-1/2 teams scale deployments without burning out the people who carry all the tribal knowledge.</p><h3><strong>Closing thought: ZTP isn’t the goal, repeatability is</strong></h3><p>If you take one thing away from this, it should be that Day-0 success isn’t defined by whether the system boots. It’s defined by whether the system is consistent.</p><p>In disaggregated routing, the big operational wins come from reducing the number of places humans must “touch,” applying one baseline across the cluster with role awareness, validating fabric and intent convergence before Day-1 services, and making “done” a repeatable set of gates rather than a feeling.</p><p>That’s how you keep scale from turning into fragility and stop paying the drift tax that quietly eats every large network.</p><figure><a href="https://drivenets.com/products/"><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XN2tx6vQ2bNm27aqng60Tw.jpeg" /></a></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=db117aed983f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/dn-techbites/stop-touching-boxes-zero-touch-bring-up-with-cluster-wide-consistency-db117aed983f">Stop Touching Boxes: Zero-Touch Bring-Up with Cluster-Wide Consistency</a> was originally published in <a href="https://medium.com/dn-techbites">DriveNets TechBites</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Greenfield Dreams vs. Brownfield Reality: The SRv6 Summarization Trap (Part 2)]]></title>
            <link>https://medium.com/dn-techbites/greenfield-dreams-vs-brownfield-reality-the-srv6-summarization-trap-part-2-1ddf92626c02?source=rss----64f582cf8e37---4</link>
            <guid isPermaLink="false">https://medium.com/p/1ddf92626c02</guid>
            <category><![CDATA[ipv6]]></category>
            <category><![CDATA[srv6]]></category>
            <dc:creator><![CDATA[Brad Riapolov]]></dc:creator>
            <pubDate>Tue, 31 Mar 2026 08:55:08 GMT</pubDate>
            <atom:updated>2026-05-20T16:11:54.063Z</atom:updated>
            <content:encoded><![CDATA[<p>IPv6 was supposed to solve a lot of things and in theory, it did. Infinite address space, clean hierarchy, summarizable allocations. But somehow, even with all that headroom, we’ve managed to run into the same old problems. Prefix sprawl. Poor summarization. Control plane bloat.</p><p>And when SRv6 comes into the picture — with its SID-based routing and locator-heavy architectures — those problems can turn operationally painful fast.</p><p>In the last post (<a href="https://medium.com/dn-techbites/upa-in-service-provider-networks-a-solution-to-blackholes-behind-summaries-part-1-579829a6e623"><em>UPA in Service Provider Networks: A Solution to Blackholes Behind Summaries (Part 1)</em></a>), we looked at the powerful UPA (Unreachable Prefix Advertisement) mechanism for improving traditional summarization architectures. There, we focused on what UPA does well. But there are also cases where it is simply covering for poor design. This post is about why summarization often fails in brownfield SRv6 networks, and how UPA can be both helpful and a red flag. If you’re leaning on UPA too hard, there’s a good chance your design is already in a bind.</p><h3><strong>The Greenfield Assumption</strong></h3><p>In a clean-slate SRv6 rollout, summarization is straightforward. Locator assignments are tightly structured, with a /48 per site and a few SIDs per function, and aggregation just works. You can easily summarize 16 /48s into a /44, advertise a few summaries toward the core, and call it a day.</p><p>This is what greenfield deployments assume: a clean and scalable locator plan, where each geography or domain slots neatly into a summarizable block. In design diagrams, it looks brilliant. It’s simple to reason about, and easy to sell as “scalable by default.”</p><p>In many modern service provider networks, especially large IPv6 and SRv6 deployments, you don’t just have a single small lab. Instead, you have multiple SRv6 domains, each serving large geographic or service areas.</p><p>A common architectural pattern looks like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pw0SSAZaauSqUH7LpHdENA.png" /></figure><p>But most operators aren’t working in <strong>a</strong> greenfield <strong>environment</strong>.</p><h3><strong>The Brownfield Reality</strong></h3><p>In real-world networks, you inherit what came before. Prefixes are carved up in inconsistent ways. Some were hand-allocated. Some were carved out of overlapping pools. Some services assumed static addressing that nobody wants to renumber, because touching that means opening a massive change window, coordinating across teams, and risking impact to production.</p><p>The result is messy. Locator assignments don’t align. You can’t summarize cleanly. And if you try, you risk advertising reachability for services that aren’t actually there anymore. At DriveNets, we’ve seen this play out time and again, and part of delivering real solutions means acknowledging the reality of operating in the world as it is, not just as we’d like it to be.</p><p>In this world, every function, every SID, every node is a snowflake, and it can be a nightmare to scale.</p><h3><strong>Where UPA Comes In</strong></h3><p>This is where Unreachable Prefix Advertisement starts to look useful. It’s not a fix for the summarization problem, but it <em>can</em> help contain the fallout.</p><p>UPA lets you keep advertising a summary, say, a /46 that covers multiple locator /48s, while still signaling that one of the more specific prefixes inside that block is no longer reachable.</p><p>Instead of withdrawing the whole summary and triggering route churn, you can flood an LSP or LSA with a high-metric prefix marked as unreachable, as you saw in Part 1 of this series. The upstream routers know not to forward traffic there, but they don’t lose the rest of the summary.</p><p>In practice, this helps prevent blackholing and avoids deaggregation. But let’s be honest: if you’re relying on UPA to keep the network working, summarization has already failed.</p><h3><strong>The Real Cost of Not Renumbering</strong></h3><p>When you avoid fixing the address plan, you pay for it elsewhere.</p><p>Prefix sprawl creeps in. Your convergence slows down, because there are more entries to compute and flood. The LSDB gets bloated with exceptions, and your summarization turns into a half-hearted collection of unreachable stubs.</p><p>And if you’re relying on UPA to tell the upstream router which parts of a summary are dead? That’s useful, but it’s also a sign that the underlying architecture isn’t doing what it was meant to do.</p><h3><strong>Should You Use UPA?</strong></h3><p>Yes, absolutely. When used well, UPA is a solid tool. It gives you flexibility where you need it. It helps you ride out partial failures without tearing down the whole control plane. Recall from Part 1 that service convergence can be greatly improved as once UPA is advertised via BGP across the network, any peers that previously reached the failed router using only the summary route will drop their BGP sessions, which significantly speeds up overall service convergence. And it can protect against blackholes in scenarios where summarization is aggressive by design.</p><p>But you’ve got to be honest about what it is: a workaround, not a foundation.</p><p>If UPA is the only thing keeping your SRv6 locator plan from collapsing, then the plan itself probably needs a rethink. Summarization should work because the prefixes were designed to aggregate, not because of the network’s papering over gaps with unreachable TLVs.</p><h3><strong>UPA Done Right</strong></h3><p>When UPA is used intentionally, as part of a clean design, it’s genuinely powerful.</p><p>If you’re building a topology that aggressively summarizes locator blocks, UPA lets you preserve scale while handling failure gracefully. You can signal service outages without flooding the network with more specifics. You avoid the need for full route churn, and upstream nodes stay informed.</p><p>This becomes especially useful in multi-domain or edge/core architectures, where one domain might need to signal reachability loss across an SR-unaware core, without impacting the rest of the routing domain.</p><h3><strong>UPA Done Wrong</strong></h3><p>But if your address plan was never designed for summarization, and you’re bolting it on after the fact? UPA’s going to get messy.</p><p>You’ll end up flooding more and more unreachable TLVs. Your LSDB gets cluttered. Control plane logic gets harder to follow. And the difference between “reachable” and “technically advertised but dead” becomes dangerously subtle.</p><p>UPA can’t fix that. It’s just holding things together.</p><h3><strong>Final Thoughts</strong></h3><p>UPA is a useful patch, and in the right hands, it’s a smart one. But if you want SRv6 to scale properly, fix your address plan. Build your locator assignments so they can be summarized cleanly. Design for aggregation first, then use UPA to handle edge cases, not the entire network.</p><p>Because if UPA is doing all the work, you’re not scaling, you’re surviving.</p><figure><a href="https://drivenets.com/products/"><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XN2tx6vQ2bNm27aqng60Tw.jpeg" /></a></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1ddf92626c02" width="1" height="1" alt=""><hr><p><a href="https://medium.com/dn-techbites/greenfield-dreams-vs-brownfield-reality-the-srv6-summarization-trap-part-2-1ddf92626c02">Greenfield Dreams vs. Brownfield Reality: The SRv6 Summarization Trap (Part 2)</a> was originally published in <a href="https://medium.com/dn-techbites">DriveNets TechBites</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[PWHE: Simplifying Metro Aggregation by Unifying L2 and L3 Services]]></title>
            <link>https://medium.com/dn-techbites/pwhe-simplifying-metro-aggregation-by-unifying-l2-and-l3-services-0d02b0617744?source=rss----64f582cf8e37---4</link>
            <guid isPermaLink="false">https://medium.com/p/0d02b0617744</guid>
            <category><![CDATA[metro-architecture]]></category>
            <category><![CDATA[network-operating-system]]></category>
            <category><![CDATA[metro-network]]></category>
            <category><![CDATA[metro-ethernet]]></category>
            <category><![CDATA[pseudowire-headend]]></category>
            <dc:creator><![CDATA[Pankaj Kumar]]></dc:creator>
            <pubDate>Mon, 30 Mar 2026 14:55:54 GMT</pubDate>
            <atom:updated>2026-05-20T16:13:17.129Z</atom:updated>
            <content:encoded><![CDATA[<p>If you’ve dealt with the operational overhead of maintaining separate Layer 2 and Layer 3 domains in a metro network, Pseudowire Head-End (PWHE) may be the architectural simplification you’re looking for. This post explains what PWHE is, why it matters, and how to configure and verify it on <a href="https://drivenets.com/products/">DriveNets Network Operating System (DNOS)</a>.</p><h3>The Problem with Traditional Metro Architectures</h3><p>Metro networks are under constant pressure to do more with less. Service providers must support residential broadband, enterprise connectivity, wholesale access, and mobile backhaul — all while keeping the network simple, scalable, and operationally efficient.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8VlB7iy739i5J6yygM1seg.png" /><figcaption>Metro- Ethernet and Core have seperate Layer 2 and Layer 3 terminations</figcaption></figure><p>In traditional architectures without PWHE, pseudowires are treated purely as Layer 2 transport tunnels and cannot be directly integrated into Layer 3 services. As a result, traffic must first terminate on a Layer 2 device or bridge domain and then be handed off to a separate Layer 3 interface or router for routing. This creates a rigid separation between L2 and L3 domains, requiring multiple service constructs such as pseudowires, bridge domains, and IRB interfaces. The additional hop between L2 and L3 processing increases latency, while the need for multiple devices or logical stages adds configuration complexity and operational overhead. Overall, this fragmented design leads to inefficient forwarding, reduced scalability, and more complex troubleshooting in service provider networks.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fli-wua4XLrI%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dli-wua4XLrI&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fli-wua4XLrI%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/bf25df346e8c4a6a9df6181c06a5ff49/href">https://medium.com/media/bf25df346e8c4a6a9df6181c06a5ff49/href</a></iframe><h3>What is PWHE?</h3><p>PWHE allows a pseudowire (PW) to terminate at an aggregation node, rather than being transparently carried across the network as a pure Layer 2 tunnel. This fundamentally changes the role of the pseudowire, from simple transport to a service-aware termination point.</p><p>In traditional designs, pseudowires remain in the Layer 2 domain end-to-end, requiring separate constructs for Layer 3 processing. PWHE removes this limitation by enabling direct integration of L2 and L3 services at the same node. The L2 pseudowire is terminated at the aggregation node Traffic is then directly handed off from L2 to L3 within the same node.</p><h3>PWHE on DNOS: A More Elegant Model</h3><p>With PWHE on DNOS, the pseudowire terminates directly at the service edge or aggregation node, and traffic is immediately mapped into a logical interface that can carry L3 services.</p><p>The result is a <strong>clean, unified service termination point</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DsHndsXCkLY5uUdb5rm-iw.png" /><figcaption>Converged Layer 2 and Layer 3 Layer</figcaption></figure><h3>Key Benefits of PWHE</h3><p><strong>Unified L2 and L3 service termination:</strong> PWHE allows pseudowires to terminate directly into a logical interface that supports both Layer-2 and Layer-3 services. This removes the traditional boundary between access and aggregation layers. Operators can deliver Ethernet and IP services without creating separate termination points. The result is a simpler and more flexible service architecture.</p><p><strong>Reduced operational complexity:</strong> By collapsing multiple service layers into a single logical construct, PWHE significantly reduces configuration overhead. Fewer service objects mean easier provisioning, troubleshooting, and change management. Operational workflows become consistent across residential, enterprise, and mobile access. This directly lowers OPEX in large metro networks.</p><p><strong>Ideal fit for metro access scaling: </strong>Metro access networks are predominantly Layer-2 for cost and scale reasons. PWHE preserves this simplicity while enabling Layer-3 services exactly where required. It supports large-scale access technologies such as PON, DSL, and Metro Ethernet. Service providers can scale access without pushing IP complexity to the edge.</p><p><strong>Stronger enterprise and wholesale service enablement: </strong>For enterprise and wholesale customers, PWHE simplifies delivery of VPWS and IP services. Each pseudowire can map cleanly into a dedicated logical interface. This ensures strong service isolation and predictable performance. It also accelerates onboarding of new customers and partners.</p><p><strong>Mobile backhaul optimization: </strong>Mobile backhaul requires simple Layer-2 access combined with advanced Layer-3 capabilities. PWHE enables L2 handoff from cell sites with L3 termination at aggregation. QoS, synchronization, and policy enforcement can be applied centrally. This makes PWHE well-suited for 4G and 5G metro deployments.</p><h3>How It Works Architecturally</h3><p>From an architectural standpoint, PWHE relies on a simple but powerful mechanism. When a PW packet arrives at the PE, the MPLS or EVPN label stack is removed and the underlying Ethernet frame is exposed. Instead of forwarding this frame into a bridge-domain, the router binds the PW to a virtual interface object. This virtual interface can then be assigned an IP address, associated with a VRF.</p><p>Ultimately, PW Head-End Termination transforms the Provider Edge (PE) into a truly multi-service edge platform. Instead of being forced to treat pseudowires only as transparent L2 transport constructs, the PE can expose them as fully functional service interfaces that can participate in both Layer-2 and Layer-3 workflows. The result is a cleaner architecture, higher service agility, simpler operational models, and a stronger ability to offer value-added services on top of traditional transport circuits. For operators deploying EVPN VPWS, FXC, or traditional PWs, PW-HT provides a powerful set of tools for delivering integrated L2/L3 services with maximum flexibility and efficiency.</p><h3>DNOS PWHE Configuration Walkthrough</h3><h4>Test Topology:</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4VZ1IK16tUdQRwX7ISVXcA.png" /><figcaption>Note: Configuration and verification will be focused to PWHE</figcaption></figure><h4>Step 1: Configure PWHE Interfaces on Aggregation Node</h4><pre>interfaces ph1000 admin-state enabled<br>interfaces ph1000 mac-address aa:aa:aa:aa:aa:aa<br>interfaces ph1000.1 admin-state enabled<br>interfaces ph1000.1 ipv4-address 12.1.1.1/24<br>interfaces ph1000.1 vlan-id 1<br>interfaces ph1000.10 admin-state enabled<br>interfaces ph1000.10 ipv4-address 10.1.1.1/24<br>interfaces ph1000.10 vlan-id 10<br>interfaces ph1000.11 admin-state enabled<br>interfaces ph1000.11 ipv4-address 11.1.1.1/24<br>interfaces ph1000.11 vlan-id 11</pre><h4>Step 2: Configure network services on R2, R3 and R6:</h4><p>This step wires up the PWHE interfaces into the EVPN-VPWS-FXC service and the L3 VRF. The two aggregation nodes share the same ESI for single-active multihoming, with R2 having a higher DF preference (1000) than R3 (100).</p><pre>R2 NODE: <br>product_r2_BP2(cfg)# show config network-services | flatten<br>network-services evpn-vpws-fxc instance evpn-vpws-fxc-1 protocols bgp 65100 export-l2vpn-evpn route-target 1:1<br>network-services evpn-vpws-fxc instance evpn-vpws-fxc-1 protocols bgp 65100 import-l2vpn-evpn route-target 1:1<br>network-services evpn-vpws-fxc instance evpn-vpws-fxc-1 protocols bgp 65100 route-distinguisher 2:100<br>network-services evpn-vpws-fxc instance evpn-vpws-fxc-1 counters service-counters enabled<br>network-services evpn-vpws-fxc instance evpn-vpws-fxc-1 interface ph1000.10 <br>network-services evpn-vpws-fxc instance evpn-vpws-fxc-1 interface ph1000.11 <br>network-services multihoming interface ph1000 esi arbitrary value aa:bb:cc:dd:ee:ff:aa:bb:cc<br>network-services multihoming interface ph1000 redundancy-mode single-active<br>network-services multihoming interface ph1000 designated-forwarder algorithm highest-preference value 1000<br>network-services vrf instance vrf1 interface ph1000.10<br>network-services vrf instance vrf1 interface ph1000.11<br>network-services vrf instance vrf1 protocols bgp 65100 route-distinguisher 2:101<br>network-services vrf instance vrf1 protocols bgp 65100 address-family ipv4-unicast export-vpn route-target 101:101<br>network-services vrf instance vrf1 protocols bgp 65100 address-family ipv4-unicast import-vpn route-target 101:101<br>network-services vrf instance vrf1 protocols bgp 65100 address-family ipv4-unicast redistribute connected<br>network-services vrf instance vrf1 protocols bgp 65100 neighbor 10.1.1.100 remote-as 100<br>network-services vrf instance vrf1 protocols bgp 65100 neighbor 10.1.1.100 address-family ipv4-unicast<br><br>R3 NODE: <br><br>product_r3-p(cfg)# show config network-services | flatten<br>network-services evpn-vpws-fxc instance evpn-vpws-fxc-1 protocols bgp 65100 export-l2vpn-evpn route-target 1:1<br>network-services evpn-vpws-fxc instance evpn-vpws-fxc-1 protocols bgp 65100 import-l2vpn-evpn route-target 1:1<br>network-services evpn-vpws-fxc instance evpn-vpws-fxc-1 protocols bgp 65100 route-distinguisher 2:100<br>network-services evpn-vpws-fxc instance evpn-vpws-fxc-1 counters service-counters enabled<br>network-services evpn-vpws-fxc instance evpn-vpws-fxc-1 interface ph1000.10 <br>network-services evpn-vpws-fxc instance evpn-vpws-fxc-1 interface ph1000.11 <br>network-services multihoming interface ph1000 esi arbitrary value aa:bb:cc:dd:ee:ff:aa:bb:cc<br>network-services multihoming interface ph1000 redundancy-mode single-active<br>network-services multihoming interface ph1000 designated-forwarder algorithm highest-preference value 100<br>network-services vrf instance vrf1 interface ph1000.10<br>network-services vrf instance vrf1 interface ph1000.11<br>network-services vrf instance vrf1 protocols bgp 65100 route-distinguisher 3:101<br>network-services vrf instance vrf1 protocols bgp 65100 address-family ipv4-unicast export-vpn route-target 101:101<br>network-services vrf instance vrf1 protocols bgp 65100 address-family ipv4-unicast import-vpn route-target 101:101<br>network-services vrf instance vrf1 protocols bgp 65100 address-family ipv4-unicast redistribute connected<br>network-services vrf instance vrf1 protocols bgp 65100 neighbor 10.1.1.100 remote-as 100<br>network-services vrf instance vrf1 protocols bgp 65100 neighbor 10.1.1.100 address-family ipv4-unicast<br><br>R6 Node:<br>product_r6_44(cfg)# show config network-services | flatten<br>network-services evpn-vpws counters service-counters disabled<br>network-services vrf instance vrf1 interface ge100-0/0/4.10<br>network-services vrf instance vrf1 protocols bgp 65100 route-distinguisher 6:101<br>network-services vrf instance vrf1 protocols bgp 65100 address-family ipv4-unicast export-vpn route-target 101:101<br>network-services vrf instance vrf1 protocols bgp 65100 address-family ipv4-unicast import-vpn route-target 101:101<br>network-services vrf instance vrf1 protocols bgp 65100 address-family ipv4-unicast redistribute connected</pre><h3>Verifications</h3><h4>EVPN-VPWS-FXC: PE1 Node</h4><pre>PE1 Node: -<br><br>EVPN-VPWS-FXC: evpn-vpws-fxc-1<br>  EVI ID                 : 1<br>  Operational Mode       : Vlan-aware<br>  Transport protocol     : mpls<br>  Route Distinguisher    : 5:100<br>  Admin state            : enabled<br>  L2 MTU                 : 0<br>  MPLS Label             : 273<br>  Control Word           : enabled<br>  FAT Label              : disabled<br><br>  VPWS Counters<br>  =============<br>  RX Octets   : 296271311<br>  RX Packets  : 2087542.    -- Service Traffic Counters<br>  RX Rate     : 0.6 Mbps<br>  TX Octets   : 68159990628<br>  TX Packets  : 454538235<br>  TX Rate     : 0.6 Mbps<br><br>  Number of Local Interfaces: 2<br><br>      Local AC Interface     : ge100-1/0/7.10 (up / forwarding-all), Uptime: 0 days, 18:15:11<br>      Configured Homing Type : single-homed<br>      Role                   : not-received<br>      Local-ESI              : 00:00:00:00:00:00:00:00:00:00<br>      Normalized-VID         : single-tag: 10<br>      Remote-ESI             : 00:aa:bb:cc:dd:ee:ff:aa:bb:cc<br>      State                  : up<br>      Uptime                 : 0 days, 2:34:11<br><br>  Flags codes: P - primary, B - backup, ND - non-DF,<br>               F - FAT-label, C - control-word, d - designated-forwarder,<br>               A - all-active, S - single-active, s - stale, M1 - Vlan Aware FXC,<br>               M2 - Default FXC, V1 - Single-VID normalization, V2 - double-VID normalization<br><br>  ESI: 00:aa:bb:cc:dd:ee:ff:aa:bb:cc (Selected remote ESI)<br>  Actual Homing Type :  multi-homed-single-active<br>  Number of neighbors:  2<br>  | IP Address                                | Label/Sid               | L2 MTU   | Flags              | Failed reason              |<br>  +-------------------------------------------+-------------------------+----------+--------------------+----------------------------+<br>  | 2.2.2.2                                   | 261                     | 0        | P/C/d/S/V1/M1      |                            |<br>  | 3.3.3.3                                   | 261                     | 0        | B/C/S/V1/M1         |                         &lt;Flag B: BackUp&gt;</pre><h4>EVPN-VPWS-FXC: R2 Node (Active Aggregation):</h4><pre>R2 Node: -<br>product_r2_BP2(cfg)# show evpn-vpws-fxc detail<br><br>EVPN-VPWS-FXC: evpn-vpws-fxc-1<br>  EVI ID                 : 1<br>  Operational Mode       : Vlan-aware<br>  Transport protocol     : mpls<br>  Route Distinguisher    : 2:100<br>  Admin state            : enabled<br>  L2 MTU                 : 0<br>  MPLS Label             : 261<br>  Control Word           : enabled<br>  FAT Label              : disabled<br>-----<br>  Number of Local Interfaces: 2<br>      Local AC Interface     : ph1000.10 (up / forwarding-all), Uptime: 0 days, 2:35:56<br>      Configured Homing Type : multi-homed<br>      Role                   : designated-forwarder<br>      Local-ESI              : 00:aa:bb:cc:dd:ee:ff:aa:bb:cc<br>      Normalized-VID         : single-tag: 10<br>      Remote-ESI             : 00:00:00:00:00:00:00:00:00:00<br>      State                  : up<br>      Uptime                 : 0 days, 2:31:22<br>  Flags codes: P - primary, B - backup, ND - non-DF,<br>               F - FAT-label, C - control-word, d - designated-forwarder,<br>               A - all-active, S - single-active, s - stale, M1 - Vlan Aware FXC,<br>               M2 - Default FXC, V1 - Single-VID normalization, V2 - double-VID normalization<br><br>  ESI: 00:00:00:00:00:00:00:00:00:00 (Selected remote ESI)<br>  Actual Homing Type :  single-homed<br>  Number of neighbors:  1<br>  | IP Address                                | Label/Sid               | L2 MTU   | Flags              | Failed reason              |<br>  +-------------------------------------------+-------------------------+----------+--------------------+----------------------------+<br>  | 5.5.5.5                                   | 273                     | 0        | C/d/V1/M1          |                            |<br><br>ESI: 00:aa:bb:cc:dd:ee:ff:aa:bb:cc<br>  AC                          : ph1000.10 State: up / forwarding-all<br>  Requested Homing Type       : multi-homed-single-active<br>  Actual Homing Type          : multi-homed-single-active<br>  Role                        : designated-forwarder<br>  Service label               : 261<br>  Designated Forwarder        : 2.2.2.2 (1000)<br>  Backup Designated Forwarder : 3.3.3.3 (100)<br>  Time of Last DF Election    : 07-Jan-2026-23:15:15<br>  No-Preemption               : disabled<br>  Requested Algorithm         : highest-preference (1000)<br>  Actual Algorithm            : highest-preference (1000)<br>  Number of ES Neighbors : 1<br>  | Remote PE                         | Mode                        | Aliasing label/sid      | Esi label   |<br>  +-----------------------------------+-----------------------------+-------------------------+-------------+<br>  | 3.3.3.3                           | multi-homed-single-active   | 261                     | 260         |</pre><h4>EVPN-VPWS-FXC: R3 Node (Backup Aggregation)</h4><pre>R3 Node: -<br>product_r3-p(cfg)# show evpn-vpws-fxc detail<br><br>EVPN-VPWS-FXC: evpn-vpws-fxc-1<br>  EVI ID                 : 1<br>  Operational Mode       : Vlan-aware<br>  Transport protocol     : mpls<br>  Route Distinguisher    : 2:100<br>  Admin state            : enabled<br>  L2 MTU                 : 0<br>  MPLS Label             : 261<br>  Control Word           : enabled<br>  FAT Label              : disabled<br>---<br>  Number of Local Interfaces: 2<br>      Local AC Interface     : ph1000.10 (down, evpn-vpws-fxc service no-df / blocking-all), Uptime: 0 days, 0:00:00<br>      Configured Homing Type : multi-homed<br>      Role                   : backup-designated-forwarder<br>      Local-ESI              : 00:aa:bb:cc:dd:ee:ff:aa:bb:cc<br>      Normalized-VID         : single-tag: 10<br>      Remote-ESI             : 00:00:00:00:00:00:00:00:00:00<br>      State                  : down<br>      Uptime                 : 0 days, 0:00:00<br><br>  Flags codes: P - primary, B - backup, ND - non-DF,<br>               F - FAT-label, C - control-word, d - designated-forwarder,<br>               A - all-active, S - single-active, s - stale, M1 - Vlan Aware FXC,<br>               M2 - Default FXC, V1 - Single-VID normalization, V2 - double-VID normalization<br>  ESI: 00:00:00:00:00:00:00:00:00:00 (Selected remote ESI)<br>  Actual Homing Type :  single-homed<br>  Number of neighbors:  1<br>  | IP Address                                | Label/Sid               | L2 MTU   | Flags              | Failed reason              |<br>  +-------------------------------------------+-------------------------+----------+--------------------+----------------------------+<br>  | 5.5.5.5                                   | 273                     | 0        | C/d/V1/M1          |                            |<br><br>ESI: 00:aa:bb:cc:dd:ee:ff:aa:bb:cc<br>  AC                          : ph1000.10 State: down / blocking-all<br>  Requested Homing Type       : multi-homed-single-active<br>  Actual Homing Type          : multi-homed-single-active<br>  Role                        : backup-designated-forwarder<br>  Service label               : 261<br>  Designated Forwarder        : 2.2.2.2 (1000)<br>  Backup Designated Forwarder : 3.3.3.3 (100)<br>  Time of Last DF Election    : 04-Jul-2025-12:10:31<br>  No-Preemption               : disabled<br>  Requested Algorithm         : highest-preference (100)<br>  Actual Algorithm            : highest-preference (100)<br>  Number of ES Neighbors : 1<br>  | Remote PE                         | Mode                        | Aliasing label/sid      | Esi label   |<br>  +-----------------------------------+-----------------------------+-------------------------+-------------+<br>  | 2.2.2.2    <br>                           | multi-homed-single-active   | 261                     | 260         |</pre><h3>Layer 3 Route Table Verification</h3><p>This is where the PWHE magic really shows. R2 has both the directly connected PWHE subnets (C&gt;*) and BGP-learned customer routes via the PWHE interface — all within vrf1. R3, being the backup DF, has <em>no access routes</em> — it only holds the remote VPN route toward R6. R6 in turn sees all customer prefixes pointing back to R2 (2.2.2.2).</p><pre>R2 Active Aggregation Node:-<br>product_r2_BP2(cfg)# show route vrf vrf1<br>VRF: vrf1<br>---<br>B&gt;*           1.0.0.0/24 [20/0] via 10.1.1.100, ph1000.10, 00:00:29<br>B&gt;*           1.0.1.0/24 [20/0] via 10.1.1.100, ph1000.10, 00:00:29<br>B&gt;*           1.0.2.0/24 [20/0] via 10.1.1.100, ph1000.10, 00:00:29<br>B&gt;*           1.0.3.0/24 [20/0] via 10.1.1.100, ph1000.10, 00:00:29<br>B&gt;*           1.0.4.0/24 [20/0] via 10.1.1.100, ph1000.10, 00:00:29<br>B&gt;*           1.0.5.0/24 [20/0] via 10.1.1.100, ph1000.10, 00:00:29<br>B&gt;*           1.0.6.0/24 [20/0] via 10.1.1.100, ph1000.10, 00:00:29<br>B&gt;*           1.0.7.0/24 [20/0] via 10.1.1.100, ph1000.10, 00:00:29<br>B&gt;*           1.0.8.0/24 [20/0] via 10.1.1.100, ph1000.10, 00:00:29<br>B&gt;*           1.0.9.0/24 [20/0] via 10.1.1.100, ph1000.10, 00:00:29<br>C&gt;*           10.1.1.0/24 is directly connected, ph1000.10<br>C&gt;*           11.1.1.0/24 is directly connected, ph1000.11<br>B&gt;            20.1.1.0/24 [200/0] via 6.6.6.6 [vrf default] (recursive) label 1040385, 02:00:56<br>  *                                 via 26.26.26.2, ge400-0/0/3 [vrf default] label 0, 02:00:56<br><br>R3 BackUp Aggregation Node:=-    -&gt; No Access Routes Learnt on R3 BackUp Node.<br><br>product_r3-p(cfg)#  show route vrf vrf1<br>VRF: vrf1<br>-----<br>B&gt;            20.1.1.0/24 [200/0] via 6.6.6.6 [vrf default] (recursive) label 1040385, 02:09:38<br>  *                                 via 36.36.36.2, ge100-0/0/11 [vrf default] label 0, 02:09:38<br><br>R6 Node :-<br>product_r6_44(cfg)# show route vrf vrf1<br>--<br>VRF: vrf1<br><br>B&gt;            1.0.0.0/24 [200/0] via 2.2.2.2 [vrf default] (recursive) label 1040385, 01:54:18<br>  *                                via 26.26.26.1, ge100-0/0/3 [vrf default] label 0, 01:54:18<br>B&gt;            1.0.1.0/24 [200/0] via 2.2.2.2 [vrf default] (recursive) label 1040385, 01:54:18<br>  *                                via 26.26.26.1, ge100-0/0/3 [vrf default] label 0, 01:54:18<br>B&gt;            1.0.2.0/24 [200/0] via 2.2.2.2 [vrf default] (recursive) label 1040385, 01:54:18<br>  *                                via 26.26.26.1, ge100-0/0/3 [vrf default] label 0, 01:54:18<br>B&gt;            1.0.3.0/24 [200/0] via 2.2.2.2 [vrf default] (recursive) label 1040385, 01:54:18<br>  *                                via 26.26.26.1, ge100-0/0/3 [vrf default] label 0, 01:54:18<br>B&gt;            1.0.4.0/24 [200/0] via 2.2.2.2 [vrf default] (recursive) label 1040385, 01:54:18<br>  *                                via 26.26.26.1, ge100-0/0/3 [vrf default] label 0, 01:54:18<br>B&gt;            1.0.5.0/24 [200/0] via 2.2.2.2 [vrf default] (recursive) label 1040385, 01:54:18<br>  *                                via 26.26.26.1, ge100-0/0/3 [vrf default] label 0, 01:54:18<br>B&gt;            1.0.6.0/24 [200/0] via 2.2.2.2 [vrf default] (recursive) label 1040385, 01:54:18<br>  *                                via 26.26.26.1, ge100-0/0/3 [vrf default] label 0, 01:54:18<br>B&gt;            1.0.7.0/24 [200/0] via 2.2.2.2 [vrf default] (recursive) label 1040385, 01:54:18<br>  *                                via 26.26.26.1, ge100-0/0/3 [vrf default] label 0, 01:54:18<br>B&gt;            1.0.8.0/24 [200/0] via 2.2.2.2 [vrf default] (recursive) label 1040385, 01:54:18<br>  *                                via 26.26.26.1, ge100-0/0/3 [vrf default] label 0, 01:54:18<br>B&gt;            1.0.9.0/24 [200/0] via 2.2.2.2 [vrf default] (recursive) label 1040385, 01:54:18<br>  *                                via 26.26.26.1, ge100-0/0/3 [vrf default] label 0, 01:54:18<br>B&gt;            10.1.1.0/24 [200/0] via 2.2.2.2 [vrf default] (recursive) label 1040385, 04:48:42<br>  *                                 via 26.26.26.1, ge100-0/0/3 [vrf default] label 0, 04:48:42<br>B&gt;            11.1.1.0/24 [200/0] via 2.2.2.2 [vrf default] (recursive) label 1040385, 04:48:42<br>  *                                 via 26.26.26.1, ge100-0/0/3 [vrf default] label 0, 04:48:42<br>C&gt;*           20.1.1.0/24 is directly connected, ge100-0/0/4.10</pre><h3>Key Takeaways: Summarizing PWHE on DNOS</h3><p>· <strong>PWHE eliminates the L2/L3 boundary</strong>: Pseudowires terminate directly into a routable logical interface, removing the need for bridge domains and IRB constructs.</p><p>· <strong>One node, one service point</strong>: L2 and L3 processing happen at the same aggregation node, cutting latency, config overhead, and the number of moving parts to troubleshoot.</p><p>· <strong>Single-active multihoming works seamlessly</strong>: R2 and R3 share an ESI; the DF election keeps R2 active and R3 ready to take over instantly, with no manual intervention.</p><p>· <strong>The route table tells the whole story</strong>: R2 holds both directly connected PWHE subnets and BGP-learned customer routes inside the VRF; R3 holds none until it becomes the active DF.</p><p>· <strong>Scales across service types</strong>: The same PWHE model works for residential broadband, enterprise VPWS, wholesale access, and mobile backhaul without architectural changes..</p><h4>Note</h4><p>This TechBite is published to understand how DNOS can be used to use PWHE Interface with EVPN-VPWS-FXC services with Multihoming Aggregation node with Single Active flavor.</p><figure><a href="https://drivenets.com/products/"><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XN2tx6vQ2bNm27aqng60Tw.jpeg" /></a></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0d02b0617744" width="1" height="1" alt=""><hr><p><a href="https://medium.com/dn-techbites/pwhe-simplifying-metro-aggregation-by-unifying-l2-and-l3-services-0d02b0617744">PWHE: Simplifying Metro Aggregation by Unifying L2 and L3 Services</a> was originally published in <a href="https://medium.com/dn-techbites">DriveNets TechBites</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[UPA in Service Provider Networks: A Solution to Blackholes Behind Summaries (Part 1)]]></title>
            <link>https://medium.com/dn-techbites/upa-in-service-provider-networks-a-solution-to-blackholes-behind-summaries-part-1-579829a6e623?source=rss----64f582cf8e37---4</link>
            <guid isPermaLink="false">https://medium.com/p/579829a6e623</guid>
            <category><![CDATA[bgp-routing-policies]]></category>
            <category><![CDATA[service-provider]]></category>
            <category><![CDATA[networking]]></category>
            <category><![CDATA[network-design]]></category>
            <dc:creator><![CDATA[Brad Riapolov]]></dc:creator>
            <pubDate>Thu, 19 Mar 2026 16:05:58 GMT</pubDate>
            <atom:updated>2026-05-20T16:14:24.138Z</atom:updated>
            <content:encoded><![CDATA[<p>Prefix summarization looks perfect on the whiteboard, clean, scalable, and elegant. But reality isn’t always so tidy. When something breaks behind a summary route, upstream routers often keep forwarding traffic as if nothing happened straight into a blackhole.</p><h3><strong>Summarization is great… until it breaks your convergence. Enter UPA.</strong></h3><p>In this post, we’ll walk through what <strong>Unreachable Prefix Advertisement (UPA) </strong>is, how it works, and when it can save your network from silent failure. In Part 2 of this series, we’ll take a closer look at how UPA fits (or doesn’t) into real-world deployments, especially when summarization and SRv6 meet legacy topology.</p><h3><strong>What Is UPA?</strong></h3><p>Unreachable Prefix Advertisement (UPA) is an enhancement to traditional IGP behavior, most notably OSPF and IS-IS, that allows a router to signal that a specific prefix is no longer reachable, even while still advertising a summary route that covers it. Instead of withdrawing the entire aggregate, a router can advertise a prefix with a special high metric or unreachable flag, allowing the network to retain summarization while still avoiding traffic blackholing.</p><p>Instead of ripping out the entire summary, UPA lets the router say:<br> <em>“This specific prefix is now unreachable. Treat it accordingly.”</em></p><p>It’s a clean way to design IPv6 networks and avoid blackholes in SRv6 deployments that rely on locator summarization. DNOS (DriveNets Network Operating System) supports UPA, allowing operators to scale with summarization while preserving control and convergence.</p><h3><strong>Why Use UPA?</strong></h3><p>Without UPA, summarized prefixes behave like a black box: if a /46 summary is still active, upstream routers keep forwarding traffic into it, even if part of it is dead.</p><p>Let’s break that down in a lab scenario.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/999/1*PyoDB2nLNNQvZd9u1DAhhg.png" /></figure><p>Sometimes the best way to make sense of complex behavior is to strip it down to the basics. That’s what I’ve done here , a minimal setup that highlights the core issue. This is a simple IS-IS topology on DNOS (DriveNets Network Operating System), but you can certainly replicate in your routing infrastructure once you understand the principles.</p><p>This IS-IS testbed has four routers, PE40 and PE1 are in Area 1. ABR summarizes two ISIS prefixes (loopbacks in my setup) towards Area 2’s PE1. Notice what PE1 sees the summary route, the route to PE41’s loopback and can reach this prefix:</p><h4>Walkthrough 1–1 <em>PE1’s Perspective</em></h4><pre>DN-PE1# show isis route<br><br>Legend: lp - link-protecting LFA, np - node-protecting LFA, <br>        lsp - link-srlg-protecting LFA, nsp - node-srlg-protecting LFA, <br>        L - ldp-stitching, ul - microloop-avoidance<br>  Instance ISIS<br>ipv6 route table:<br>  Level - 2<br>  Destination         Cost        Tag           Priority         NH-address                         Interface                                Interface-weight Egress-label   <br>ge100-0/0/4                              N/A              <br>C 2001:db8:1::1/128   0           Untagged      N/A              <br>  2001:db8:2::1/128   10          Untagged      Medium           fe80::eac5:7aff:fe8e:4b55          ge100-0/0/4                              N/A              <br>  2001:db8:40::/46    20          Untagged      Low              fe80::eac5:7aff:fe8e:4b55          <br>DN-PE1# show isis database detail <br><br>Legend: ATT - Attached-bit, P - P-bit, OL - Overload-bit<br><br>Instance ISIS:<br>System-id: 0000.0001.0001<br>IS-IS Level-2 link-state database:<br>LSP ID                                PduLen  SeqNumber   Chksum  LSP Holdtime  ATT/P/OL<br>DN-ABR.00-00                        344     0x0000039d  0x411c  1149          0/0/0<br>  Protocols Supported: IPv6<br>  Area Address: 49.0001<br>  MT Router Info: ipv4-unicast<br>  MT Router Info: ipv6-unicast<br>  MT Router Info: ipv4-multicast<br>  Hostname: DN-ABR<br>  TE Router ID: 5.5.5.5<br>  IPv6 TE Router ID: 2001:db8:2::1<br>  IPv4 Interface Address: 5.5.5.5<br>  IPv6 Interface Address: 2001:db8:2::1<br>  MT Reachability: 0000.0001.0001.00 (Metric: 10) ipv6-unicast<br>    Link Local ID: 1025<br>    Link Remote ID: 1059<br>    Local Interface IPv6 Address(es): 2001:db8:1002::1<br>    Remote Interface IPv6 Address(es): 2001:db8:1001::1<br>  MT Reachability: 0000.0040.0001.00 (Metric: 10) ipv6-unicast<br>    Link Local ID: 1037<br>    Link Remote ID: 1048<br>    Local Interface IPv6 Address(es): 2001:db8:2002::1<br>    Remote Interface IPv6 Address(es): 2001:db8:2002::2<br>  MT IPv6 Reachability: 2001:db8:2::1/128 (Metric: 0) ipv6-unicast<br>  MT IPv6 Reachability: 2001:db8:40::/46 (Metric: 10) ipv6-unicast  <br><br>    2 LSPs<br><br>DN-PE1# show route 2001:db8:41::1         <br><br>VRF: default<br>Routing entry for 2001:db8:40::/46<br>  Known via &quot;isis ISIS&quot; level 2, priority medium, distance 115, metric 20, vrf default, best, fib<br>  Last update 00:11:44 ago, ack<br>  * fe80::eac5:7aff:fe8e:4b55, via ge100-0/0/4<br><br>DN-PE1# run ping 2001:db8:41::1<br>PING 2001:db8:41::1(2001:db8:41::1) from 2001:db8:1001::1 : 56 data bytes<br>64 bytes from 2001:db8:41::1: icmp_seq=1 ttl=63 time=0.950 ms<br>64 bytes from 2001:db8:41::1: icmp_seq=2 ttl=63 time=1.19 ms<br>64 bytes from 2001:db8:41::1: icmp_seq=3 ttl=63 time=1.07 ms<br>64 bytes from 2001:db8:41::1: icmp_seq=4 ttl=63 time=1.17 ms<br>64 bytes from 2001:db8:41::1: icmp_seq=5 ttl=63 time=0.397 ms<br><br>--- 2001:db8:41::1 ping statistics ---<br>5 packets transmitted, 5 received, 0% packet loss, time 4017ms<br>rtt min/avg/max/mdev = 0.397/0.955/1.190/0.291 ms</pre><p>Let’s examine ABR’s configuration and visibility.</p><h4>Walkthrough 1–2 <em>ABR’s Perspective</em></h4><pre>DN-ABR# show isis route<br><br>Legend: lp - link-protecting LFA, np - node-protecting LFA, <br>        lsp - link-srlg-protecting LFA, nsp - node-srlg-protecting LFA, <br>        L - ldp-stitching, ul - microloop-avoidance<br>  Instance ISIS<br>! Output omitted for brevity (I removed Level 2 LSPS)<br>ipv6 route table:<br>  Level - 1<br>  Destination         Cost        Tag           Priority         NH-address                         Interface                                Interface-weight Egress-label   <br>ge100-0/0/3                              N/A              <br>C 2001:db8:2::1/128   0           Untagged      N/A              <br>  2001:db8:40::1/128  10          Untagged      Medium           fe80::eac5:7aff:fe8e:4a61          ge100-0/0/2                              N/A              <br>  2001:db8:41::1/128  10          Untagged      Medium           fe80::eac5:7aff:fe69:74e7          ge100-0/0/3                              N/A           <br>DN-ABR# show isis database detail<br><br>Legend: ATT - Attached-bit, P - P-bit, OL - Overload-bit<br><br>Instance ISIS:<br>System-id: 0000.0002.0002<br>IS-IS Level-1 link-state database:<br><br>DN-PE40.00-00                        247     0x00000002  0x78fe  946           0/0/0<br>  Protocols Supported: IPv6<br>  Area Address: 49.0001<br>  MT Router Info: ipv4-unicast<br>  MT Router Info: ipv6-unicast<br>  MT Router Info: ipv4-multicast<br>  Hostname: DN-PE40<br>  TE Router ID: 2.2.2.2<br>  IPv6 TE Router ID: 2001:db8:40::1<br>  IPv4 Interface Address: 2.2.2.2<br>  IPv6 Interface Address: 2001:db8:40::1<br>  MT Reachability: 0000.0002.0002.00 (Metric: 10) ipv6-unicast<br>    Link Local ID: 1048<br>    Link Remote ID: 1037<br>    Local Interface IPv6 Address(es): 2001:db8:2002::2<br>    Remote Interface IPv6 Address(es): 2001:db8:2002::1<br>  MT IPv6 Reachability: 2001:db8:2002::/64 (Metric: 10) ipv6-unicast<br>  MT IPv6 Reachability: 2001::168:23:0/127 (Metric: 10) ipv6-unicast<br>  MT IPv6 Reachability: 2001:db8:40::1/128 (Metric: 0) ipv6-unicast<br>  MT IPv6 Reachability: 2001::168:12:0/127 (Metric: 0) ipv6-unicast<br><br>DN-PE41.00-00                        251     0x00000389  0x4371  593           0/0/0<br>  Protocols Supported: IPv6<br>  Area Address: 49.0001<br>  MT Router Info: ipv4-unicast<br>  MT Router Info: ipv6-unicast<br>  MT Router Info: ipv4-multicast<br>  Hostname: DN-PE41<br>  TE Router ID: 130.1.1.1                   <br>  IPv6 TE Router ID: 2001:db8:41::1<br>  IPv4 Interface Address: 130.1.1.1<br>  IPv4 Interface Address: 3.3.3.3<br>  IPv6 Interface Address: 2001:db8:41::1<br>  MT Reachability: 0000.0002.0002.00 (Metric: 10) ipv6-unicast<br>    Link Local ID: 1030<br>    Link Remote ID: 1048<br>    Local Interface IPv6 Address(es): 2001:db8:3002::2<br>    Remote Interface IPv6 Address(es): 2001:db8:3002::1<br>  MT IPv6 Reachability: 2001:db8:3002::/64 (Metric: 10) ipv6-unicast<br>  MT IPv6 Reachability: 2001:db8:41::1/128 (Metric: 0) ipv6-unicast<br>  MT IPv6 Reachability: 3:3:3::3/128 (Metric: 0) ipv6-unicast<br>  MT IPv6 Reachability: 2001:11:1003::/128 (Metric: 0) ipv6-unicast<br><br>    3 LSPs<br><br>IS-IS Level-2 link-state database:<br>LSP ID                                PduLen  SeqNumber   Chksum  LSP Holdtime  ATT/P/OL<br>DN-ABR.00-00                      * 331     0x000003a1  0xbf40  935           0/0/0<br>  Protocols Supported: IPv6<br>  Area Address: 49.0001<br>  MT Router Info: ipv4-unicast<br>  MT Router Info: ipv6-unicast<br>  MT Router Info: ipv4-multicast<br>  Hostname: DN-ABR<br>  TE Router ID: 5.5.5.5<br>  IPv6 TE Router ID: 2001:db8:2::1<br>  IPv4 Interface Address: 5.5.5.5<br>  IPv6 Interface Address: 2001:db8:2::1<br>  MT Reachability: 0000.0001.0001.00 (Metric: 10) ipv6-unicast<br>    Link Local ID: 1025<br>    Link Remote ID: 1059<br>    Local Interface IPv6 Address(es): 2001:db8:1002::1<br>    Remote Interface IPv6 Address(es): 2001:db8:1001::1<br>  MT IPv6 Reachability: 2001:db8:1002::/64 (Metric: 10) ipv6-unicast<br>  MT IPv6 Reachability: 2001:db8:2002::/64 (Metric: 10) ipv6-unicast<br>  MT IPv6 Reachability: 2001:db8:3002::/64 (Metric: 10) ipv6-unicast<br>  MT IPv6 Reachability: 2001:db8:2::1/128 (Metric: 0) ipv6-unicast<br>  MT IPv6 Reachability: 3:3:3::3/128 (Metric: 10) ipv6-unicast<br>  MT IPv6 Reachability: 2001::168:12:0/127 (Metric: 10) ipv6-unicast<br>  MT IPv6 Reachability: 2001::168:23:0/127 (Metric: 20) ipv6-unicast<br>  MT IPv6 Reachability: 2001:11:1003::/128 (Metric: 10) ipv6-unicast<br>  MT IPv6 Reachability: 2001:db8:40::/46 (Metric: 10) ipv6-unicast<br><br>    2 LSPs<br>DN-ABR# show config protocols isis         <br><br># DN-ABR config-start [16-Feb-2026 05:45:06 UTC]<br><br>protocols<br>  isis<br>    instance ISIS<br>      iso-network 49.0001.0000.0002.0002.00<br>      level level-1-2<br>      address-family ipv6-unicast<br>        aggregate-route 2001:db8:40::/46 level level-2 summary-only<br>      !<br>      interface lo0<br>        address-family ipv6-unicast<br>        !<br>      !<br>      interface ge100-0/0/0<br>        network-type point-to-point<br>        address-family ipv6-unicast<br>        !<br>      !<br>      interface ge100-0/0/2<br>        network-type point-to-point<br>        address-family ipv6-unicast<br>        !<br>      !<br>      interface ge100-0/0/3<br>        network-type point-to-point<br>        address-family ipv6-unicast<br>        !<br>      !<br>    !<br>  !<br>!<br><br># DN-ABR config-end</pre><p>ABR sees both LSPs from Area 1 and creates a summary towards Area 2. You can also observe the IS-IS configuration on ABR.</p><p>What do you think happens when we disable the ABR-PE41 link? Let us examine the consequences of this failure once I have shutdown that link.</p><h4>Walkthrough 1–3 <em>ABR-PE41 Link Failure</em></h4><pre>DN-PE1# run ping 2001:db8:41::1<br>PING 2001:db8:41::1(2001:db8:41::1) from 2001:db8:1001::1 : 56 data bytes<br>no answer yet for icmp_seq=1<br>no answer yet for icmp_seq=2<br>no answer yet for icmp_seq=3<br>no answer yet for icmp_seq=4<br>DN-PE1# show route 2001:db8:41::1<br><br>VRF: default<br>Routing entry for 2001:db8:40::/46<br>  Known via &quot;isis ISIS&quot; level 2, priority medium, distance 115, metric 20, vrf default, best, fib<br>  Last update 00:49:09 ago, ack<br>  * fe80::eac5:7aff:fe8e:4b55, via ge100-0/0/4<br><br>DN-ABR# show isis database detail <br><br>Legend: ATT - Attached-bit, P - P-bit, OL - Overload-bit<br><br>Instance ISIS:<br>System-id: 0000.0002.0002<br>IS-IS Level-1 link-state database:<br>LSP ID                                PduLen  SeqNumber   Chksum  LSP Holdtime  ATT/P/OL<br>DN-PE41.00-00                        251     0x0000038a  0x4172  673           0/0/0<br>  Protocols Supported: IPv6<br>  Area Address: 49.0001<br>  MT Router Info: ipv4-unicast<br>  MT Router Info: ipv6-unicast<br>  MT Router Info: ipv4-multicast<br>  Hostname: DN-PE41<br>  TE Router ID: 130.1.1.1<br>  IPv6 TE Router ID: 2001:db8:41::1<br>  IPv4 Interface Address: 130.1.1.1<br>  IPv4 Interface Address: 3.3.3.3<br>  IPv6 Interface Address: 2001:db8:41::1<br>  MT Reachability: 0000.0002.0002.00 (Metric: 10) ipv6-unicast<br>    Link Local ID: 1030<br>    Link Remote ID: 1048<br>    Local Interface IPv6 Address(es): 2001:db8:3002::2<br>    Remote Interface IPv6 Address(es): 2001:db8:3002::1<br>  MT IPv6 Reachability: 2001:db8:3002::/64 (Metric: 10) ipv6-unicast<br>  MT IPv6 Reachability: 2001:db8:41::1/128 (Metric: 0) ipv6-unicast<br>  MT IPv6 Reachability: 3:3:3::3/128 (Metric: 0) ipv6-unicast<br>  MT IPv6 Reachability: 2001:11:1003::/128 (Metric: 0) ipv6-unicast<br><br>    3 LSPs</pre><p>Reachability lost, yet because of the present summary, PE1 keeps sending traffic to the ABR router. The ABR continues to advertise the LSP, with 673 seconds remaining before expiration, long enough for traffic to be blackholed in a real network.</p><p>This highlights the real problem. In production networks, there may be multiple hops between the ingress router and the failure, yet PE1 has no visibility into the issue. The question becomes: can UPA correct this behavior?</p><h4>Walkthrough 1–4 <em>UPA Applied</em></h4><pre>DN-ABR# show config protocols isis<br><br># DN-ABR config-start [16-Feb-2026 06:04:56 UTC]<br><br>protocols<br>  isis<br>    instance ISIS<br>      iso-network 49.0001.0000.0002.0002.00<br>      level level-1-2<br>      address-family ipv6-unicast<br>        aggregate-route 2001:db8:40::/46 adv-unreachable level level-2 summary-only<br>        prefix-unreachable<br>          adv-lifetime 65535<br>          rx-process enabled<br>        !</pre><p>The summary route is now configured to advertise unreachable TLVs into the Level 2 area using UPA, and PE1 was also configured to process received unreachable prefixes. What impact does this have on PE1’s view of reachability and forwarding decisions?</p><h4>Walkthrough 1–5 <em>UPA in Action</em></h4><pre>DN-PE1# show route 2001:db8:41::1<br><br>VRF: default<br>Routing entry for 2001:db8:41::1/128<br>  Known via &quot;isis ISIS&quot; level 2, priority medium, distance 115, metric 4261412865, vrf default, best, fib, unreachable<br>  Last update 00:00:24 ago, ack<br>  * directly connected, Null0<br><br>DN-PE1# show isis database detail <br><br>Legend: ATT - Attached-bit, P - P-bit, OL - Overload-bit<br><br>Instance ISIS:<br>System-id: 0000.0001.0001<br>IS-IS Level-2 link-state database:<br>DN-ABR.00-00                        309     0x000003a9  0x3694  1154          0/0/0<br>  Protocols Supported: IPv6<br>  Area Address: 49.0001<br>  MT Router Info: ipv4-unicast<br>  MT Router Info: ipv6-unicast<br>  MT Router Info: ipv4-multicast<br>  Hostname: DN-ABR<br>  TE Router ID: 5.5.5.5<br>  IPv6 TE Router ID: 2001:db8:2::1<br>  IPv4 Interface Address: 5.5.5.5<br>  IPv6 Interface Address: 2001:db8:2::1<br>  MT Reachability: 0000.0001.0001.00 (Metric: 10) ipv6-unicast<br>    Link Local ID: 1025<br>    Link Remote ID: 1059<br>    Local Interface IPv6 Address(es): 2001:db8:1002::1<br>    Remote Interface IPv6 Address(es): 2001:db8:1001::1<br>  MT IPv6 Reachability: 2001:db8:1002::/64 (Metric: 10) ipv6-unicast<br>  MT IPv6 Reachability: 2001:db8:2002::/64 (Metric: 10) ipv6-unicast<br>  MT IPv6 Reachability: 2001:db8:3002::/64 (Metric: 10) ipv6-unicast<br>  MT IPv6 Reachability: 2001:db8:2::1/128 (Metric: 0) ipv6-unicast<br>  MT IPv6 Reachability: 2001::168:12:0/127 (Metric: 10) ipv6-unicast<br>  MT IPv6 Reachability: 2001::168:23:0/127 (Metric: 20) ipv6-unicast<br>  MT IPv6 Reachability: 2001:db8:40::/46 (Metric: 10) ipv6-unicast<br>  MT IPv6 Reachability: 2001:db8:41::1/128 (Metric: 4261412865) ipv6-unicast<br><br>    2 LSPs</pre><p>This is advertised using special TLVs with a high metric or a defined “unreachable” flag, which downstream routers can then interpret to prevent blackholing. Clever, isn’t it?</p><p>Now that we’ve covered UPA mechanics, it’s worth stepping back to look at the broader implications. This becomes especially relevant in SRv6 networks, where summarizing locator blocks (for example, multiple /48s into a single /46) is common practice. While summarization helps reduce control plane load and improve scalability, it also introduces a risk: individual functions or services within those summarized locators can fail and without a mechanism like UPA, upstream routers won’t know.</p><p>As an example, in an SRv6 deployment where two locators (2001:db8:0040::/48 and 2001:db8:0041::/48) are summarized as 2001:db8:0040::/46, losing one of the /48s doesn’t affect the summary. From the upstream’s view, everything still looks fine — but traffic to the dead locator now drops silently. This is particularly useful in these SRv6 deployments, where summarizing locator blocks is critical for scale — but losing individual nodes or functions behind those summaries would otherwise lead to misrouted packets. You don’t want to deaggregate for every SID or function, but you also can’t afford to forward into a dead service. UPA provides a clean and deterministic way to suppress forwarding to specific destinations without tearing down the structure of the network.</p><p>Bottom line — UPA solves this blind spot. It is a powerful too that lets you keep summaries in place while signaling that behind them is down. It enables routers to flood LSAs or LSPs with unreachable prefixes, which:</p><p>· <strong>Preserve summarization</strong></p><p>· <strong>Suppress forwarding to unreachable prefixes</strong></p><p>· <strong>Avoid route churn and deaggregation</strong></p><p>The services implications are massive. Once UPA is advertised via BGP across the network, any peers that previously reached the failed router using only the summary route will drop their BGP sessions, which significantly speeds up overall service convergence.</p><p>But, and it’s a big one, it only works <strong>if it’s implemented, signaled, and respected</strong> end-to-end. UPA helps you avoid traffic blackholes, <strong>but it doesn’t fix bad network design</strong>.</p><p>In Part 2, we’ll take a look at what happens when summarization meets brownfield topologies, and why UPA can’t always save you from a legacy routing mess.</p><figure><a href="https://drivenets.com/products/"><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5NOe1y6nWPHTp8oBtDJ_MQ.jpeg" /></a></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=579829a6e623" width="1" height="1" alt=""><hr><p><a href="https://medium.com/dn-techbites/upa-in-service-provider-networks-a-solution-to-blackholes-behind-summaries-part-1-579829a6e623">UPA in Service Provider Networks: A Solution to Blackholes Behind Summaries (Part 1)</a> was originally published in <a href="https://medium.com/dn-techbites">DriveNets TechBites</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Stitching EVPN-VXLAN and L3VPN SR-MPLS for Seamless L3 Connectivity]]></title>
            <link>https://medium.com/dn-techbites/stitching-evpn-vxlan-and-l3vpn-sr-mpls-for-seamless-l3-connectivity-d5bd7314fae2?source=rss----64f582cf8e37---4</link>
            <guid isPermaLink="false">https://medium.com/p/d5bd7314fae2</guid>
            <category><![CDATA[layer-3-connectivity]]></category>
            <category><![CDATA[sr-mpls]]></category>
            <category><![CDATA[evpn-vxlan]]></category>
            <category><![CDATA[mpls]]></category>
            <category><![CDATA[l3vpn]]></category>
            <dc:creator><![CDATA[Pankaj Kumar]]></dc:creator>
            <pubDate>Mon, 23 Feb 2026 10:27:30 GMT</pubDate>
            <atom:updated>2026-05-20T16:15:17.472Z</atom:updated>
            <content:encoded><![CDATA[<p>In modern network architectures, the data center and the service provider core are built on different technologies. Data centers commonly use EVPN-VXLAN to support scalable Spine-Leaf fabrics and workload mobility, while service provider cores use L3VPN over SR-MPLS to deliver multi-tenant IP services.</p><p>When services span both domains, connectivity between them must be handled in a controlled and scalable way. Workloads in the data center need Layer 3 reachability to endpoints in the SR-MPLS network, and vice versa. This requires a clear interworking model between EVPN and L3VPN without disrupting either domain.</p><p>This blog explains how DriveNets Network Operating System (DNOS) implements stitching between EVPN-VXLAN and L3VPN over SR-MPLS to provide end to end Layer 3 connectivity while maintaining domain separation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/904/1*MESzdt3d7-sdq_Ocz9BJDg.png" /><figcaption>Layer 3 Route Stitching</figcaption></figure><h3>EVPN VXLAN and L3VPN Stitching</h3><p>With the DNOS 19.3 Release, you can deploy end-to-end Layer 3 connectivity by stitching EVPN and L3VPN routes. In this scenario, we have endpoints residing in both the SR-MPLS and VXLAN domains.</p><h3>Network Topology &amp; Prerequisites</h3><p>To implement this stitching architecture, the underlying transport must be robust and properly segmented. The topology relies on a multi-level IGP structure and Segment Routing:</p><p>· Core Transport: SR-MPLS must be operational on R3 and R4.</p><p>· Stitching Point: R6 serves as the BGP Route Reflector (RR) and the primary stitching node.</p><p>· EVPN is established between R2 and R3.</p><p>· IGP Hierarchy: IS-IS L1 manages the EVPN-VXLAN domain. IS-IS L2 manages the SR-MPLS domain.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/904/1*B3aExDngr1d0m9Q-23Q9eg.png" /><figcaption>Layer 3 End to End connectivity</figcaption></figure><h3>Control Plane Architecture</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/812/1*xFFuSzEqmGCeLqalHW4XHQ.png" /><figcaption>Control Plane Architecture</figcaption></figure><p>· R6 serves both as the BGP Route Reflector and as the stitching node</p><p>· R1 peers using the BGP EVPN AFI/SAFI.</p><p>· R7 peers using the BGP L3VPN AFI/SAFI.</p><p>· Route exchange is pure IP prefix exchange between EVPN and L3VPN</p><p>· All participating routers R1, R6, and R7 use VRF instances</p><p>· Within the VXLAN domain, EVPN Route Type 5 is used to advertise IP prefixes. This route type carries Layer 3 reachability information.</p><p>· VXLAN serves as the EVPN underlay; however, this must be explicitly configured within the instance, as the default encapsulation is MPLS</p><h4><strong>Route Target Handling:</strong></h4><p><strong>R1:</strong></p><p>·Requires L2VPN/EVPN route targets.</p><p>·An export policy must be configured to generate EVPN Route Type 5 prefixes.</p><p><strong>R6:</strong></p><p>·Must be configured with both EVPN and L3VPN VRF route targets.</p><p>·Imports L3VPN routes and re-advertises them as EVPN Route Type 5 routes.</p><p>·Adjusts route targets according to policy.</p><p><strong>R7:</strong></p><p>·Uses standard L3VPN VRF configuration.</p><p><strong>Let’s understand first the route flow R7 to R1:</strong></p><p>1. R7 advertises standard L3VPN routes to R6 over the SR-MPLS domain.</p><p>2. R6 imports these routes based on matching VRF route targets.</p><p>3. R6 re-advertises the routes toward the EVPN domain as EVPN Route Type 5 and change the VRF target as per configuration.</p><p>4. R1 imports these EVPN Type 5 prefixes into its local VRF.</p><p>The same process applies in the reverse direction from R1 toward R7.</p><h3>Data Plane Behavior</h3><p>Once the control plane is established and:</p><p>· L3VPN routes from R7 appear on R1 as EVPN Route Type 5</p><p>· EVPN Route Type 5 routes from R1 appear on R7 as L3VPN routes the network is ready for data forwarding.</p><p>In the VXLAN domain, packets are encapsulated with an outer VXLAN header that carries the original Ethernet and IP payload.</p><p>At the stitching node R6:</p><p>1. For traffic from VXLAN to MPLS:</p><p>· The VXLAN header is removed.</p><p>· MPLS transport and VPN labels are imposed.</p><p>· The packet is forwarded into the SR-MPLS domain.</p><p>2. For traffic from MPLS to VXLAN:</p><p>· MPLS and VPN labels are removed.</p><p>· A VXLAN header is added.</p><p>· The packet is forwarded into the VXLAN domain.</p><p>This ensures transparent Layer 3 forwarding between domains while preserving VRF isolation.</p><figure><img alt="Packet Flow" src="https://cdn-images-1.medium.com/max/904/1*BG6K50yRfHniusUwIblD3w.png" /><figcaption>Packet Flow</figcaption></figure><h3>Configuration walkover</h3><p>The following sections cover the unique configuration for the stitching solution, building upon standard IS-IS (L1/L2), BGP RR, and SR-MPLS foundations.</p><pre>R1 EVPN VXLAN Config:-<br><br>R1# show config network-services<br><br>network-services<br>  vrf<br>    instance evpn-vrf<br>      interface bundle-111<br>      interface lo11<br>      protocols<br>        bgp 65100<br>          route-distinguisher 11.11.11.11:101<br>          address-family ipv4-unicast<br>            redistribute connected<br>          !<br>        !<br>        evpn<br>          transport-protocol<br>            vxlan                       &gt;&gt; Underlay transport need to be used as VXLAN otherwise  default is MPLS<br>              vni 1001<br>              vtep-source-if lo0<br>            !<br>          !<br>          export-l2vpn-evpn policy allow-all    &gt;&gt;&gt; Required to move the EVPN route <br>          export-l2vpn-evpn route-target 200:200<br>          import-l2vpn-evpn route-target 200:200<br><br>BGP Config:-<br><br>R1# show config protocols bgp 65100<br><br>protocols<br>  bgp 65100<br>    neighbor 6.6.6.6<br>      remote-as 65100<br>      update-source lo0<br>      address-family l2vpn-evpn   &gt;&gt; Enable L2VPN EVPN AFI/SAFI<br>        send-community community-type both<br>        soft-reconfiguration inbound<br>      !<br>    !<br>  !<br><br>R1 # show config protocols isis | flatten<br>protocols isis instance isis iso-network 49.0001.0001.0001.0011.0011.00<br>protocols isis instance isis level level-1<br>protocols isis instance isis interface lo0 address-family ipv4-unicast <br>protocols isis instance isis interface ge100-2/0/6 address-family ipv4-unicast</pre><pre>R6 Configuration:- <br><br>R6 act as L1/L2 for ISIS and enable SR-MPLS.<br>R6(cfg)# show config protocols isis | flatten<br>protocols isis instance isis iso-network 49.0001.0001.0001.0006.0006.00<br>protocols isis instance isis level level-1-2 <br>protocols isis instance isis address-family ipv4-unicast segment-routing admin-state enabled  &gt;&gt; Enable Segment Routing<br>protocols isis instance isis interface lo0 address-family ipv4-unicast prefix-sid index 6<br>protocols isis instance isis interface ge100-0/0/6 address-family ipv4-unicast <br>protocols isis instance isis interface ge100-0/0/26 address-family ipv4-unicast <br><br>R6 is the BGP Route Reflector:<br>R6(cfg)# show config protocols bgp 65100 | flatten<br>protocols bgp 65100 neighbor 7.7.7.7 remote-as 65100<br>protocols bgp 65100 neighbor 7.7.7.7 update-source lo0<br>protocols bgp 65100 neighbor 7.7.7.7 address-family ipv4-vpn route-reflector-client.     &gt;&gt; Enable ipv4-vpn toward R7 L3VPN<br>protocols bgp 65100 neighbor 7.7.7.7 address-family ipv4-vpn send-community community-type both<br>protocols bgp 65100 neighbor 7.7.7.7 address-family ipv4-vpn soft-reconfiguration inbound<br>protocols bgp 65100 neighbor 11.11.11.11 remote-as 65100<br>protocols bgp 65100 neighbor 11.11.11.11 update-source lo0<br>protocols bgp 65100 neighbor 11.11.11.11 address-family l2vpn-evpn route-reflector-client &gt;&gt; Enable l2vpn-evpn toward R11 EVPN<br>protocols bgp 65100 neighbor 11.11.11.11 address-family l2vpn-evpn send-community community-type both<br>protocols bgp 65100 neighbor 11.11.11.11 address-family l2vpn-evpn soft-reconfiguration inbound<br><br><br>R6(cfg)#  show config network-services | flatten<br>network-services vrf instance evpn-vrf interface lo6<br>network-services vrf instance evpn-vrf protocols bgp 65100 route-distinguisher 6.6.6.6:101<br>network-services vrf instance evpn-vrf protocols bgp 65100 address-family ipv4-unicast export-vpn route-target 200:201<br>network-services vrf instance evpn-vrf protocols bgp 65100 address-family ipv4-unicast import-vpn route-target 200:201<br>network-services vrf instance evpn-vrf protocols bgp 65100 address-family ipv4-unicast redistribute connected<br>network-services vrf instance evpn-vrf protocols evpn transport-protocol vxlan vni 1001<br>network-services vrf instance evpn-vrf protocols evpn transport-protocol vxlan vtep-source-if lo0<br>network-services vrf instance evpn-vrf protocols evpn export-l2vpn-evpn policy allow-all<br>network-services vrf instance evpn-vrf protocols evpn export-l2vpn-evpn route-target 200:200<br>network-services vrf instance evpn-vrf protocols evpn import-l2vpn-evpn route-target 200:200</pre><pre>R7 ISIS/BGP/SRMPLS/L3VPN VRF ConfigConfiguration: -<br><br>R7(cfg)# show config protocols isis | flatten<br>protocols isis instance isis iso-network 49.0001.0001.0007.0007.0007.00<br>protocols isis instance isis level level-2<br>protocols isis instance isis interface lo0 address-family ipv4-unicast prefix-sid index 7<br>protocols isis instance isis interface ge100-0/0/2.10 address-family ipv4-unicast <br><br>R7(cfg)# show config protocols bgp 65100 | flatten<br>protocols bgp 65100 neighbor 6.6.6.6 remote-as 65100<br>protocols bgp 65100 neighbor 6.6.6.6 update-source lo0<br>protocols bgp 65100 neighbor 6.6.6.6 address-family ipv4-vpn send-community community-type both<br>protocols bgp 65100 neighbor 6.6.6.6 address-family ipv4-vpn soft-reconfiguration inbound<br><br>R7(cfg)# show config network-services | flatten<br>network-services vrf instance evpn-vrf interface ge100-0/0/39<br>network-services vrf instance evpn-vrf interface lo7<br>network-services vrf instance evpn-vrf protocols bgp 65100 route-distinguisher 7.7.7.7:100<br>network-services vrf instance evpn-vrf protocols bgp 65100 address-family ipv4-unicast export-vpn route-target 200:201<br>network-services vrf instance evpn-vrf protocols bgp 65100 address-family ipv4-unicast import-vpn route-target 200:201<br>network-services vrf instance evpn-vrf protocols bgp 65100 address-family ipv4-unicast redistribute connected<br>network-services vrf instance evpn-vrf protocols bgp 65100 neighbor 172.16.70.1 remote-as 700<br>network-services vrf instance evpn-vrf protocols bgp 65100 neighbor 172.16.70.1 address-family ipv4-unicast</pre><h3>Verifications</h3><p>Let’s verify R1 VXLAN/L3 Routes and Forwarding next hop:-</p><pre>R1(cfg)# show isis neighbors.      &gt;&gt;(ISIS-L1 is Up)<br>Instance isis:<br>  System Id                      Interface               Level  State         Last State Change    Holdtime  SNPA<br>  DN-SA-06                       ge100-2/0/6             L1     Up            1w1d2h49m57s         21        point-to-point<br><br>R1(cfg)# show vxlan vtep<br>| Identifier   | Source      | Destination   | VNI   | Origin type   | Origin instance   |<br>|--------------+-------------+---------------+-------+---------------+-------------------|<br>| 300017       | 11.11.11.11 | 6.6.6.6       | 1001  | vrf           | evpn-vrf          |<br><br><br>R1(cfg)# show bgp neighbors 6.6.6.6 advertised-routes.  &gt;&gt; EVPN EVPN Route Type 5 generated toward R6 (BGP-RR)<br>Route Distinguisher: 11.11.11.11:101<br><br>*&gt;  type:=5,eth-tag:=0,ipv4:=172.16.100.0,len:=24 (IP)  11.11.11.11 0 100 32768  ?<br>*&gt;  type:=5,eth-tag:=0,ipv4:=11.11.11.111,len:=32 (IP)  11.11.11.11 0 100 32768  ?<br><br><br>L3VPN Routes on R1:-<br>DN-CL-01(cfg 08-Mar-2025-11:16:06)# show bgp instance vrf evpn-vrf route 172.16.70.0  &gt;&gt; L3VPN routes stitched to EVPN <br>      6.6.6.6 [vrf default] (metric 10) from 6.6.6.6 (7.7.7.7)<br>     Stitched from evpn<br>     Origin incomplete, metric 0, localpref 100, remote-vni 1001, valid, internal, best<br>     Extended Community: RT:200:200 RT:200:201 ET:VXLAN (0x8) EVPN-Routers-MAC:84:40:76:b5:37:08<br>     RPKI best-path selection: disabled, allow-invalid: enabled, prefix-validation state: unverified<br>     Originator: 7.7.7.7, Cluster list: 6.6.6.6<br>     AddPath ID: RX 0, TX 2<br>     Last update: 08-Mar-2025 10:58:54 UTC<br><br>R1(cfg)# show route vrf evpn-vrf table ipv4-unicast<br>VRF: evpn-vrf<br>Codes: K - kernel route, C - connected, S - static, r - RIP,<br>       O - OSPF, I - IS-IS, B - BGP, P - PIM, A - Babel, D - BFD,<br>       L - LDP, R - RSVP, M - OAM, I-SR - IS-IS Segment-Routing,<br>       O-SR - OSPF Segment-Routing, SRTE - Segment-Routing TE,<br>       EVI - EVI, IKE - IKE, X - Access route,<br>       &gt; - selected route, * - FIB route, (S) - stale route<br>       (L) - over limit route, ! - partial MPLS shortcut, m - Multicast<br>       L1 - IS-IS level-1, L2 - IS-IS level-2, su - summary route<br>       IA - OSPF inter-area, E1 - OSPF external type 1, E2 - OSPF external type 2<br>       N1 - OSPF NSSA type 1, N2 - OSPF NSSA type 2, V - VXLAN<br><br>BV&gt;           172.16.70.0/31 [200/0] via 6.6.6.6 [vrf default] (recursive) vtep-id 300017, 00:29:07 &gt;&gt; NH pointing to the VTEP<br>  *                                    via 192.168.116.1, ge100-2/0/6 [vrf default], 00:29:07</pre><p>Verify on R6 (Stitching node) VXLAN/L3VPN Routes and Forwarding Next hop:</p><pre>R6(cfg)# show isis neighbors<br>Instance isis:<br>  System Id                      Interface               Level  State         Last State Change    Holdtime  SNPA<br>           R1                           ge100-0/0/6             L1     Up            1w1d3h15m21s         28        point-to-point<br>            P                             ge100-0/0/26            L2     Up            6d9h28m15s           30        point-to-point<br>R6(cfg)# show route table mpls-nh<br>I-SR&gt;*        7.7.7.7/32 [107/20] via 192.168.62.1, ge100-0/0/26 label 16007, 6d09h32m<br><br>R6(cfg)# show isis segment-routing label<br> Instance isis<br>  Label   Prefix           Local<br>-----------------------------------------<br>  261                      ge100-0/0/26<br>  263                      ge100-0/0/5<br>  265                      ge100-0/0/6<br>  16006   6.6.6.6/32       lo0<br>  16007   7.7.7.7/32<br><br>R6(cfg)# show vxlan vtep<br>| Identifier   | Source   | Destination   | VNI   | Origin type   | Origin instance   |<br>|--------------+----------+---------------+-------+---------------+-------------------|<br>| 300014       | 6.6.6.6  | 11.11.11.11   | 1001  | vrf           | evpn-vrf          |<br><br>R6(cfg)# show bgp neighbors 11.11.11.11 advertised-routes.  &gt;&gt; Routes advertised to R1 EVPN Domain<br>BGP L2vpn EVPN, local router ID is 6.6.6.6<br>Route Distinguisher: 6.6.6.6:101<br>*&gt;  type:=5,eth-tag:=0,ipv4:=200.1.0.0,len:=24 (IP)  6.6.6.6  100 0 700 i<br>*&gt;  type:=5,eth-tag:=0,ipv4:=200.1.1.0,len:=24 (IP)  6.6.6.6  100 0 700 i<br>*&gt;  type:=5,eth-tag:=0,ipv4:=200.1.2.0,len:=24 (IP)  6.6.6.6  100 0 700 i<br>*&gt;  type:=5,eth-tag:=0,ipv4:=172.16.70.0,len:=31 (IP)  6.6.6.6 0 100 0  ?<br>*&gt;  type:=5,eth-tag:=0,ipv4:=1.1.1.6,len:=32 (IP)  6.6.6.6 0 100 32768  ?<br>*&gt;  type:=5,eth-tag:=0,ipv4:=1.1.1.7,len:=32 (IP)  6.6.6.6 0 100 0  ?<br><br>DN-SA-06(cfg)# show bgp neighbors 11.11.11.11 received-routes. &gt;&gt; Routes received from R1 EVPN Domain<br>BGP L2vpn EVPN, local router ID is 6.6.6.6<br>Route Distinguisher: 11.11.11.11:101<br>U*&gt;i type:=5,eth-tag:=0,ipv4:=172.16.100.0,len:=24 (IP)  11.11.11.11 0 100 0  ?<br>U*&gt;i type:=5,eth-tag:=0,ipv4:=11.11.11.111,len:=32 (IP)  11.11.11.11 0 100 0  ?<br><br>R6(cfg)# show bgp neighbors 7.7.7.7 advertised-routes. &gt;&gt; Routes advertised to R7  L3VPN Domain<br>Route Distinguisher: 6.6.6.6:101<br>    |       Network      |    Next hop    |Metric|  LocPref | Weight |   Path   |<br>-----------------------------------------------------------------------------------<br>*&gt; |1.1.1.6/32          | 6.6.6.6        |     0|       100|   32768|         ?|<br>*&gt; |11.11.11.111/32     | 6.6.6.6        |     0|       100|       0|         ?|<br>*&gt; |172.16.100.0/24     | 6.6.6.6        |     0|       100|       0|         ?|<br><br>6(cfg)# show bgp neighbors 7.7.7.7 received-routes  &gt;&gt; Routes received fromR7  L3VPN Domain<br><br>Route Distinguisher: 7.7.7.7:100<br>    |       Network      |    Next hop    |Metric|  LocPref | Weight |   Path   |<br>-----------------------------------------------------------------------------------<br>U*&gt;i|1.1.1.7/32          | 7.7.7.7        |     0|       100|       0|         ?|<br>U*&gt;i|172.16.70.0/31      | 7.7.7.7        |     0|       100|       0|         ?|<br>U*&gt;i|200.1.0.0/24        | 7.7.7.7        |      |       100|       0|     700 i|<br>U*&gt;i|200.1.1.0/24        | 7.7.7.7        |      |       100|       0|     700 i|<br>U*&gt;i|200.1.2.0/24        | 7.7.7.7        |      |       100|       0|     700 i|<br><br>R6(cfg)# show route vrf evpn-vrf table ipv4-unicast<br>VRF: evpn-vrf<br>B&gt;            172.16.70.0/31 [200/0] via 7.7.7.7 [vrf default] (recursive) label 1040387, 00:45:51<br>  *                                    via 192.168.62.1, ge100-0/0/26 [vrf default] label 16007, 00:45:51 &gt;&gt;Traffic to L3VPN routes forwarded via MPLS <br>BV&gt;           172.16.100.0/24 [200/0] via 11.11.11.11 [vrf default] (recursive) vtep-id 300014, 02:01:36<br>  *                                     via 192.168.116.0, ge100-0/0/6 [vrf default], 02:01:36  &gt;&gt; Traffic to EVPN RT5 will be forwarded for VXLAN</pre><p>Verify SIS/BGP/SR-MPLS and L3VPN Verification on R7:</p><pre>R7(cfg)# show isis neighbors<br>Instance isis:<br>  System Id                      Interface               Level  State         Last State Change    Holdtime  SNPA<br>      P                              ge100-0/0/2.10          L2     Up            6d9h51m34s           28        point-to-point<br><br>R7(cfg)# show isis segment-routing label<br> Instance isis<br>  Label   Prefix           Local<br>-------------------------------------------<br>  298                      ge100-0/0/2.10<br>  16007   7.7.7.7/32       lo0<br>  16006   6.6.6.6/32<br><br>R7(cfg)# show route table mpls-nh<br>I-SR&gt;*        6.6.6.6/32 [107/20] via 192.168.72.1, ge100-0/0/2.10 label 16006, 6d09h52m<br><br>DN-SA-07(cfg)# show bgp neighbors 6.6.6.6 advertised-routes. &gt;&gt; L3VPN routes advertised to R6 Stitching node<br>Route Distinguisher: 7.7.7.7:100<br><br>    |       Network      |    Next hop    |Metric|  LocPref | Weight |   Path   |<br>-----------------------------------------------------------------------------------<br>*&gt; |1.1.1.7/32          | 7.7.7.7        |     0|       100|   32768|         ?|<br>*&gt; |172.16.70.0/31      | 7.7.7.7        |     0|       100|   32768|         ?|<br>*&gt; |200.1.0.0/24        | 7.7.7.7        |      |       100|       0|     700 i|<br>*&gt; |200.1.1.0/24        | 7.7.7.7        |      |       100|       0|     700 i|<br>*&gt; |200.1.2.0/24        | 7.7.7.7        |      |       100|       0|     700 i|<br><br>R7(cfg)# show bgp neighbors 6.6.6.6 received-routes. &gt;&gt; L3VPN routes received from R6 Stitching node<br>Route Distinguisher: 6.6.6.6:101<br>    |       Network      |    Next hop    |Metric|  LocPref | Weight |   Path   |<br>-----------------------------------------------------------------------------------<br>U*&gt;i|1.1.1.6/32          | 6.6.6.6        |     0|       100|       0|         ?|<br>U*&gt;i|11.11.11.111/32     | 6.6.6.6        |     0|       100|       0|         ?|<br>U*&gt;i|172.16.100.0/24     | 6.6.6.6        |     0|       100|       0|         ?|<br><br>R7(cfg)# show route vrf evpn-vrf<br>C&gt;*           172.16.70.0/31 is directly connected, ge100-0/0/39<br>B&gt;            172.16.100.0/24 [200/0] via 6.6.6.6 [vrf default] (recursive) label 1040385, 00:59:10<br>  *                                     via 192.168.72.1, ge100-0/0/2.10 [vrf default] label 16006, 00:59:10<br>B&gt;*           200.1.0.0/24 [20/0] via 172.16.70.1, ge100-0/0/39, 10:46:51<br>B&gt;*           200.1.1.0/24 [20/0] via 172.16.70.1, ge100-0/0/39, 10:46:51<br>B&gt;*           200.1.2.0/24 [20/0] via 172.16.70.1, ge100-0/0/39, 10:46:51</pre><h3>Summary</h3><p>By stitching EVPN-VXLAN and L3VPN over SR-MPLS, DNOS enables seamless Layer 3 connectivity across data center and service provider domains. The architecture maintains domain separation while allowing controlled route exchange and encapsulation translation at a dedicated stitching node.</p><p>This approach provides an operationally clean method to unify DC and SP environments without redesigning either domain, preserving existing investments while enabling true end to end IP connectivity.</p><figure><a href="https://drivenets.com/products/"><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5NOe1y6nWPHTp8oBtDJ_MQ.jpeg" /></a></figure><p><strong><em>Disclaimer: </em></strong>Above config/verification are demonstrated with SW version 19.3 release.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d5bd7314fae2" width="1" height="1" alt=""><hr><p><a href="https://medium.com/dn-techbites/stitching-evpn-vxlan-and-l3vpn-sr-mpls-for-seamless-l3-connectivity-d5bd7314fae2">Stitching EVPN-VXLAN and L3VPN SR-MPLS for Seamless L3 Connectivity</a> was originally published in <a href="https://medium.com/dn-techbites">DriveNets TechBites</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Architecting Intelligent Networks: A Deep Dive into Segment Routing Flex-Algo on DNOS]]></title>
            <link>https://medium.com/dn-techbites/architecting-intelligent-networks-a-deep-dive-into-segment-routing-flex-algo-on-dnos-b55982249b2c?source=rss----64f582cf8e37---4</link>
            <guid isPermaLink="false">https://medium.com/p/b55982249b2c</guid>
            <category><![CDATA[routing]]></category>
            <category><![CDATA[network-architecture]]></category>
            <category><![CDATA[computer-networking]]></category>
            <category><![CDATA[telco]]></category>
            <category><![CDATA[network-operating-system]]></category>
            <dc:creator><![CDATA[Pankaj Kumar]]></dc:creator>
            <pubDate>Tue, 02 Dec 2025 07:56:17 GMT</pubDate>
            <atom:updated>2025-12-02T07:56:15.878Z</atom:updated>
            <content:encoded><![CDATA[<p>DriveNets Network Operating System (DNOS) is a feature-rich platform designed to modernize network infrastructure. This post explores a powerful routing capability called Segment Routing (SR) Flexible Algorithm (Flex-Algo), which adds significant flexibility and operational efficiency to SR-MPLS networks.</p><p>Flex-Algo empowers SR networks with intelligent routing that follows predefined performance and policy constraints. It enables operators to create multiple logical topologies over a shared physical network, each optimized for a specific Service Level Agreement (SLA).</p><p><strong>Note</strong>: Before diving deep into this technical demonstration, we recommend reviewing our earlier blog: <a href="https://drivenets.com/blog/crafting-tailored-networks-with-flex-algo/">Crafting Tailored Networks with Flex-Algo.</a></p><h3>Deploy the SR Flex Algo and Traffic steering of L2/L3 IP/MPLS services.</h3><p>In this demonstration, we define multiple Flex-Algorithms based on network characteristics such as IGP metric, MPLS-TE metric, and link delay. We’ll assign colors to each Flex-Algo and map various L2/<strong>L3 services to their corresponding slices.</strong></p><p>· Flex-Algo ID 0: Default (IGP Link Metric).</p><p>· Flex-Algo ID 1–127: reserved (IANA)</p><p>· Flex-Algo ID 128–255: User-customizable range. For this example, we will use 130, 140, and 150.</p><p><strong>The physical topology in the below diagram includes links with varying characteristics. By default, links have</strong> a delay of 10 microseconds, an IGP metric of 10, and an MPLS-TE metric of 10. The diagram highlights links with higher values, which will influence our routing logic.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*csbkDkBhQLzQGvFUC4zkMQ.png" /></figure><h4><strong>Service Requirement</strong></h4><p>We will map traffic to specific Flex-Algo IDs based on the service type and its unique requirements, DNOS offers multiple ways to map traffic, including routing policies, SR-TE policies, or auto-policies.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/696/1*cJQiSvT6GL9-066EOgcRqA.png" /></figure><p>Topology Note: Node SA-05 does not participate in Flex-Algo 130. Therefore, services mapped to Algo 130 will bypass this node, whereas the default Flex-Algo 0 remains available as a fallback.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/587/1*L5baOKogJ_hd-6NYeHnCEQ.png" /></figure><h4>Configuration Workflow</h4><p>The following flowchart outlines the steps for this demonstration.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/733/1*UNiL5fdq8J8zsPiKxEqqwg.png" /></figure><p>Blocks 1 and 2, which cover basic IGP and BGP setup, were detailed <a href="https://medium.com/dn-techbites/evpn-for-scalable-and-flexible-layer-2-ip-mpls-services-35adf25ac63c">in previous TechBites posts</a>. We begin here at block 3.</p><h4><strong>1.</strong> <strong>Flex-Algo Definitions (FAD):</strong></h4><p>Flex-Algo definitions are created on router DN-SA-01 using different metric types.</p><pre>DN-SA-01(cfg)# show config protocols segment-routing mpls flex-algo | flatten<br>protocols segment-routing mpls flex-algo advertise-definition FAD-For-Flex-Algo-ID-130 metric-type igp<br>protocols segment-routing mpls flex-algo advertise-definition FAD-For-Flex-Algo-ID-140 metric-type te<br>protocols segment-routing mpls flex-algo advertise-definition FAD-For-Flex-Algo-ID-150 metric-type link-delay</pre><h4><strong>2. Advertise Flex-Algo Definitions through ISIS:</strong></h4><p>Each Flex-Algo is advertised through ISIS and assigned a color. While optional, coloring simplifies service-to-slice mapping.</p><pre>DN-SA-01(cfg)# show config protocols isis instance isis flex-algo | flatten<br>protocols isis instance isis flex-algo participate 130 advertise FAD-For-Flex-Algo-ID-130<br>protocols isis instance isis flex-algo participate 130 color 130<br>protocols isis instance isis flex-algo participate 140 advertise FAD-For-Flex-Algo-ID-140<br>protocols isis instance isis flex-algo participate 140 color 140<br>protocols isis instance isis flex-algo participate 150 advertise FAD-For-Flex-Algo-ID-150<br>protocols isis instance isis flex-algo participate 150 color 150</pre><h4><strong>3. Enable Prefix SIDs</strong>:</h4><p>A single loopback interface can participate in multiple Flex-Algos by using unique prefix indices.</p><p>· <strong>Algo 0:</strong> Default (Index 1 -&gt; SID 16001)</p><p>· <strong>Algo 130:</strong> Index 301 -&gt; SID 16301</p><p>· <strong>Algo 140:</strong> Index 401 -&gt; SID 16401</p><p>· <strong>Algo 150:</strong> Index 501 -&gt; SID 16501</p><pre>DN-SA-01(cfg)# show config protocols isis instance isis interface lo0 | flatten<br>protocols isis instance isis interface lo0 address-family ipv4-unicast prefix-sid flex-algo 130 index 301 explicit-null<br>protocols isis instance isis interface lo0 address-family ipv4-unicast prefix-sid flex-algo 140 index 401 explicit-null<br>protocols isis instance isis interface lo0 address-family ipv4-unicast prefix-sid flex-algo 150 index 501 explicit-null</pre><h4><strong>4. Enable Link Delay, Dynamic Delay, and TWAMP</strong>:</h4><p>To support Algo 150 (Delay) we must enable delay measurement (static or dynamic via TWAMP).</p><pre>DN-SA-01(cfg)# show config services performance-monitoring | flatten<br>services performance-monitoring interface bundle-111 delay-measurement dynamic-delay admin-state enabled<br>services performance-monitoring interface bundle-111 delay-measurement dynamic-delay destination-address 192.168.111.1<br>services performance-monitoring interface ge100-0/0/1 delay-measurement dynamic-delay admin-state enabled<br>services performance-monitoring interface ge100-0/0/1 delay-measurement dynamic-delay destination-address 192.168.12.1<br>services performance-monitoring interface ge100-0/0/3 delay-measurement static-delay 10<br><br>DN-SA-01(cfg)# show config services simple-twamp | flatten<br>services simple-twamp session-reflector admin-state enabled<br>services simple-twamp session-reflector reflector-port 862<br>services simple-twamp session-sender admin-state enabled<br>services simple-twamp session-sender reflector-port 862</pre><h4><strong>5. Enable MPLS-TE</strong>:</h4><p>Flex Algo 140 with MPLS-TE can leverage attributes such as Admin Groups, SRLG, Bandwidth, or DiffServ-TE. For simplicity, this demonstration uses TE-Metric only.</p><pre>DN-SA-01(cfg)# show config protocols mpls | flatten<br>protocols mpls traffic-engineering admin-group-map bit-position 1 name Green<br>protocols mpls traffic-engineering admin-group-map bit-position 2 name Yellow<br>protocols mpls traffic-engineering interface bundle-111 <br>protocols mpls traffic-engineering interface ge100-0/0/1 <br>protocols mpls traffic-engineering interface ge100-0/0/4 te-metric 50</pre><h4><strong>6. Mapping Network Services to Flex-Algo Slices</strong>:</h4><p>Now we map L3VPN, L2VPN-VPWS, and EVPN services to their respective Flex-Algos.</p><p><strong>L3VPN</strong>: Configured using standard routing policies that export routes with the appropriate color, ensuring they map to the corresponding Flex-Algo upon receipt</p><pre>DN-SA-01(cfg)# show config network-services vrf instance vrf1| flatten<br>network-services vrf instance vrf1 interface ge100-0/0/39.10<br>network-services vrf instance vrf1 interface lo11<br>network-services vrf instance vrf1 protocols bgp 65100 route-distinguisher 1.1.1.1:1<br>network-services vrf instance vrf1 protocols bgp 65100 address-family ipv4-unicast export-vpn policy flex_130_pol<br>network-services vrf instance vrf1 protocols bgp 65100 address-family ipv4-unicast export-vpn route-target 200:201<br>network-services vrf instance vrf1 protocols bgp 65100 address-family ipv4-unicast import-vpn route-target 200:201<br>network-services vrf instance vrf1 protocols bgp 65100 address-family ipv4-unicast redistribute connected<br>network-services vrf instance vrf1 protocols bgp 65100 neighbor 172.16.10.1 remote-as 100<br>network-services vrf instance vrf1 protocols bgp 65100 neighbor 172.16.10.1 address-family ipv4-unicast<br><br>DN-SA-01(cfg)# show config routing-policy policy flex_130_pol | flatten<br>routing-policy policy flex_130_pol rule 1 allow match ipv4 prefix prefix_130<br>routing-policy policy flex_130_pol rule 1 allow set extcommunity color 130</pre><p><strong>L2VPN-VPWS</strong>: Configured using SR-TE Policy to steer traffic through the slice created with Flex-Algo 140.</p><pre>DN-SA-01(cfg)# show config network-services vpws | flatten<br>network-services vpws instance l2vpn-vpws interface ge100-0/0/39.20<br>network-services vpws instance l2vpn-vpws counters service-counters enabled<br>network-services vpws instance l2vpn-vpws pw 7.7.7.7 admin-state enabled<br>network-services vpws instance l2vpn-vpws pw 7.7.7.7 pw-id 10<br>network-services vpws instance l2vpn-vpws pw 7.7.7.7 steer-path sr-te policy vpws_140_pol<br><br>DN-SA-01(cfg)# show config protocols segment-routing mpls policy vpws_140_pol | flatten<br>protocols segment-routing mpls policy vpws_140_pol admin-state enabled<br>protocols segment-routing mpls policy vpws_140_pol color 140<br>protocols segment-routing mpls policy vpws_140_pol destination 7.7.7.7 flex-algo 140<br>protocols segment-routing mpls policy vpws_140_pol path flex_140 priority 100<br><br>DN-SA-01(cfg)# show config protocols segment-routing mpls path flex_140 | flatten<br>protocols segment-routing mpls path flex_140 dynamic constraints algorithm 140</pre><p><strong>EVPN</strong>: Configured as delay-sensitive traffic. BGP routes are exported with color 150, and auto-policy is used for dynamic path steering.</p><pre>DN-SA-01(cfg)# show config network-services evpn | flatten<br>network-services evpn instance evpn-lan protocols bgp 65100 export-l2vpn-evpn policy flex_150_pol<br>network-services evpn instance evpn-lan protocols bgp 65100 export-l2vpn-evpn route-target 501:501<br>network-services evpn instance evpn-lan protocols bgp 65100 import-l2vpn-evpn route-target 501:501<br>network-services evpn instance evpn-lan protocols bgp 65100 route-distinguisher 1.1.1.1:501<br>network-services evpn instance evpn-lan mac-handling mac-learning enabled<br>network-services evpn instance evpn-lan interface ge100-0/0/39.30<br><br>DN-SA-01(cfg)# show config routing-policy policy flex_150_pol | flatten<br>routing-policy policy flex_150_pol rule 1 allow set extcommunity color 150<br><br>DN-SA-01(cfg)# show config protocols segment-routing mpls auto-policy | flatten<br>protocols segment-routing mpls auto-policy template-name evpn_auto_policy<br>protocols segment-routing mpls auto-policy template color 150 admin-state enabled<br>protocols segment-routing mpls auto-policy template color 150 path flex_150 priority 100</pre><h4><strong>7.</strong> <strong>Logical Topology Visualization</strong></h4><p>The diagram below illustrates the logical partitioning of the physical topology. You can see the specific Prefix SIDs assigned to each Flex-Algo slice.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1010/1*pMW8cewdXj0fmvogR_4PfQ.png" /></figure><p>With the definitions in place, traffic flows are separated according to the diagram below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/872/1*NJKEEhsAdNZT4bb1W3OkmQ.png" /></figure><h4>8. Baseline Infrastructure Overview</h4><p>The underlying network uses ISIS-based SR-MPLS. SA-06 functions as the BGP route reflector. L2 and L3 services terminate on SA-01 and SA-07.</p><p>Basic installation and verification of ISIS, Segment Routing, and BGP were covered in earlier TechBites content. This section focuses on Flex-Algo verification and service forwarding.</p><h4><strong>9.</strong> <strong>Flex-Algo Summary Verification</strong></h4><p>Show commands confirm that Flex-Algos 130, 140, and 150 are active and behaving according to their definitions.</p><pre>DN-SA-01(cfg)# show isis segment-routing flex-algo definition 130<br>Instance isis<br>Ipv4 Level 2:<br>Flex Algorithm 130<br>  Definition<br>    Advertised system: DN-SA-07, Priority: 128<br>    Metric: igp, Calculation: spf<br>  Participates<br>    8 nodes<br>    20 links</pre><pre>DN-SA-01(cfg)# show isis segment-routing flex-algo definition 140<br>Instance isis<br>Ipv4 Level 2:<br>Flex Algorithm 140<br>  Color: 140<br>  Definition<br>    Advertised system: DN-SA-07, Priority: 128<br>    Metric: te, Calculation: spf<br>  Participates<br>    9 nodes<br>    24 links</pre><pre>DN-SA-01(cfg)# show isis segment-routing flex-algo definition 150<br>Instance isis<br>Ipv4 Level 2:<br>Flex Algorithm 150<br>  Color: 150<br>  Definition<br>    Advertised system: DN-SA-07, Priority: 128<br>    Metric: link-delay, Calculation: spf<br>  Participates<br>    7 nodes<br>    15 links</pre><h4><strong>10. Verify IGP Metric, TE Metric, and Link Delay</strong>:</h4><p>Node SA-05 is excluded from Flex-Algo 130. When inspecting its Flex-Algo database, only 140 and 150 appear, which confirms the correct participation flags.</p><pre>DN-SA-05(cfg)# show isis segment-routing traffic-engineering instance isis  host-name DN-SA-05<br>Instance isis<br>Ipv4 Topology Level 2:<br> Systems:<br>  0005.0005.0005 - DN-SA-05, 5.5.5.5, SRGB Base:16000 Range:8000, algorithms spf strict-spf 140 150<br> Links:<br>  0005.0005.0005 -&gt; 0001.0001.0001 [192.168.15.1 -&gt; 192.168.15.0] [1050 -&gt; 1059] -  metric 10, te-metric 50, link-delay 50, sids: 276 ipv4;<br>  0005.0005.0005 -&gt; 0001.0006.0006 [192.168.56.0 -&gt; 192.168.56.1] [1038 -&gt; 1033] -  metric 10, te-metric 50, link-delay 10, sids: 272 ipv4;<br>  0005.0005.0005 -&gt; 0003.0003.0003 [192.168.53.1 -&gt; 192.168.53.0] [1033 -&gt; 1033] -  metric 10, te-metric 10, link-delay 10, sids: 264 ipv4;<br>  0005.0005.0005 -&gt; 0007.0007.0007 [192.168.57.0 -&gt; 192.168.57.1] [1048 -&gt; 1058] -  metric 10, te-metric 50, link-delay 50, sids: 278 ipv4;<br> Prefixes<br>  5.5.5.5/32:0005.0005.0005 [0]<br>   sids:<br>    algo spf, sid 5  node<br>    algo 140, sid 405  node no-php explicit-null<br>    algo 150, sid 505  node no-php explicit-null</pre><h4><strong>11.</strong> <strong>Flex-Algo Topology Checks</strong></h4><p>Checking the computed topology for Flex-Algo 130 confirms that paths avoid SA-05. Similar validation is done for Flex-Algo 140 and 150.</p><pre>DN-SA-01(cfg)# show isis segment-routing flex-algo 130 topology<br>Algorithm 130<br>Ipv4 Level 2:<br> Algorithm 130<br> DN-SA-01:0001.0001.0001 - 1.1.1.1<br>  SRGB = 16000-23999<br>  Prefix-SIDs:<br>   1.1.1.1/32 - 301 node no-php explicit-null<br>  Adjacency-SIDs:<br>   DN-CL-01:0001.0011.0011 | [10] 192.168.111.0 192.168.111.1 [13313,13313] | 264<br>   DN-SA-02:0002.0002.0002 | [10] 192.168.12.0 192.168.12.1 [1026,1032] | 260<br> DN-SA-06:0001.0006.0006 - 6.6.6.6<br>  SRGB = 16000-23999<br>  Prefix-SIDs:<br>   6.6.6.6/32 - 306 node no-php explicit-null<br>  Adjacency-SIDs:<br>   DN-CL-01:0001.0011.0011 | [10] 192.168.116.1 192.168.116.0 [1049,1105] | 265<br>   DN-CL-02:0001.0022.0022 | [10] 192.168.62.0 192.168.62.1 [1051,1056] | 261<br> DN-CL-01:0001.0011.0011 - 11.11.11.11<br>  SRGB = 16000-23999<br>  Prefix-SIDs:<br>   11.11.11.11/32 - 311 node no-php explicit-null<br>  Adjacency-SIDs:<br>   DN-SA-01:0001.0001.0001 | [20] 192.168.111.1 192.168.111.0 [13313,13313] | 318<br>   DN-SA-06:0001.0006.0006 | [20] 192.168.116.0 192.168.116.1 [1105,1049] | 312<br>   DN-SA-02:0002.0002.0002 | [20] 192.168.112.1 192.168.112.0 [1062,1053] | 316<br> DN-CL-02:0001.0022.0022 - 22.22.22.22<br>  SRGB = 16000-23999<br>  Prefix-SIDs:<br>   22.22.22.22/32 - 322 node no-php explicit-null<br>  Adjacency-SIDs:<br>   DN-SA-06:0001.0006.0006 | [10] 192.168.62.1 192.168.62.0 [1056,1051] | 262<br>   DN-SA-04:0004.0004.0004 | [10] 192.168.42.1 192.168.42.0 [13313,13313] | 268<br>   DN-SA-07:0007.0007.0007 | [10] 192.168.72.1 192.168.72.0 [14337,14343] | 264<br> DN-SA-02:0002.0002.0002 - 2.2.2.2<br>  SRGB = 16000-23999<br>  Prefix-SIDs:<br>   2.2.2.2/32 - 302 node no-php explicit-null<br>  Adjacency-SIDs:<br>   DN-SA-01:0001.0001.0001 | [10] 192.168.12.1 192.168.12.0 [1032,1026] | 286<br>   DN-CL-01:0001.0011.0011 | [10] 192.168.112.0 192.168.112.1 [1053,1062] | 282<br>   DN-SA-03:0003.0003.0003 | [10] 192.168.23.0 192.168.23.1 [1044,1027] | 278<br>DN-SA-03:0003.0003.0003 - 3.3.3.3<br>  SRGB = 16000-23999<br>  Prefix-SIDs:<br>   3.3.3.3/32 - 303 node no-php explicit-null<br>  Adjacency-SIDs:<br>   DN-SA-02:0002.0002.0002 | [10] 192.168.23.1 192.168.23.0 [1027,1044] | 256<br>   DN-SA-04:0004.0004.0004 | [50] 192.168.34.0 192.168.34.1 [1029,1025] | 258<br> DN-SA-04:0004.0004.0004 - 4.4.4.4<br>  SRGB = 16000-23999<br>  Prefix-SIDs:<br>   4.4.4.4/32 - 304 node no-php explicit-null<br>  Adjacency-SIDs:<br>   DN-CL-02:0001.0022.0022 | [10] 192.168.42.0 192.168.42.1 [13313,13313] | 319<br>   DN-SA-03:0003.0003.0003 | [50] 192.168.34.1 192.168.34.0 [1025,1029] | 260<br>   DN-SA-07:0007.0007.0007 | [10] 192.168.47.0 192.168.47.1 [14340,14342] | 323<br> DN-SA-07:0007.0007.0007 - 7.7.7.7<br>  SRGB = 16000-23999<br>  Prefix-SIDs:<br>   7.7.7.7/32 - 307 node no-php explicit-null<br>  Adjacency-SIDs:<br>   DN-CL-02:0001.0022.0022 | [10] 192.168.72.0 192.168.72.1 [14343,14337] | 258<br>   DN-SA-04:0004.0004.0004 | [10] 192.168.47.1 192.168.47.0 [14342,14340] | 264</pre><h4><strong>12.</strong> <strong>Prefix-SID and Color to Label Mapping</strong></h4><p>BGP Color communities used in Flex-Algo definitions allow us to inspect mappings through the route table. For example, SA-01 loopback 1.1.1.1 has three prefix SIDs:</p><p>· 16301 for Algo 130</p><p>· 16401 for Algo 140</p><p>· 16501 for Algo 150</p><p>All three are ready for forwarding</p><pre>DN-SA-07(cfg)# show route table color-mpls-nh<br>I-SR&gt;*        1.1.1.1/32 &lt;c&gt; 130 [107/50] via 192.168.72.1, ge100-0/0/2.10 label 16301, 2d18h36m<br>I-SR          1.1.1.1/32 &lt;c&gt; 140 [107/80] via 192.168.47.0, bundle-112.10 label 16401, 00:12:01<br>                                          via 192.168.57.0, ge100-0/0/12 label 16401, 00:12:01<br>SRTE&gt;*        1.1.1.1/32 &lt;c&gt; 140 [103/80] via vpws_140_pol, 19:28:22<br>I-SR&gt;*        1.1.1.1/32 &lt;c&gt; 150 [107/60] via 192.168.47.0, bundle-112.10 label 16501, 17:45:18<br>I-SR&gt;*        2.2.2.2/32 &lt;c&gt; 130 [107/50] via 192.168.72.1, ge100-0/0/2.10 label 16302, 2d16h34m<br>I-SR&gt;*        2.2.2.2/32 &lt;c&gt; 140 [107/70] via 192.168.47.0, bundle-112.10 label 16402, 00:12:01<br>     *                                    via 192.168.57.0, ge100-0/0/12 label 16402, 00:12:01<br>I-SR&gt;*        3.3.3.3/32 &lt;c&gt; 130 [107/60] via 192.168.72.1, ge100-0/0/2.10 label 16303, 2d16h34m<br>     *                                    via 192.168.47.0, bundle-112.10 label 16303, 2d16h34m<br>I-SR&gt;*        3.3.3.3/32 &lt;c&gt; 140 [107/60] via 192.168.47.0, bundle-112.10 label 16403, 00:12:01<br>     *                                    via 192.168.57.0, ge100-0/0/12 label 16403, 00:12:01<br>I-SR&gt;*        3.3.3.3/32 &lt;c&gt; 150 [107/20] via 192.168.47.0, bundle-112.10 label 16503, 2d16h19m<br>I-SR&gt;*        4.4.4.4/32 &lt;c&gt; 130 [107/10] via 192.168.47.0, bundle-112.10 label 0, 3d00h12m<br>I-SR&gt;*        4.4.4.4/32 &lt;c&gt; 140 [107/10] via 192.168.47.0, bundle-112.10 label 0, 6d20h38m<br>I-SR&gt;*        4.4.4.4/32 &lt;c&gt; 150 [107/10] via 192.168.47.0, bundle-112.10 label 0, 6d20h38m<br>I-SR&gt;*        5.5.5.5/32 &lt;c&gt; 140 [107/50] via 192.168.57.0, ge100-0/0/12 label 0, 2d18h23m<br>I-SR&gt;*        5.5.5.5/32 &lt;c&gt; 150 [107/30] via 192.168.47.0, bundle-112.10 label 16505, 2d16h19m<br>I-SR&gt;*        6.6.6.6/32 &lt;c&gt; 130 [107/20] via 192.168.72.1, ge100-0/0/2.10 label 16306, 6d20h38m<br>I-SR&gt;*        6.6.6.6/32 &lt;c&gt; 140 [107/60] via 192.168.72.1, ge100-0/0/2.10 label 16406, 2d18h45m<br>I-SR&gt;*        6.6.6.6/32 &lt;c&gt; 150 [107/40] via 192.168.47.0, bundle-112.10 label 16506, 2d16h19m<br>I-SR&gt;*        11.11.11.11/32 &lt;c&gt; 130 [107/30] via 192.168.72.1, ge100-0/0/2.10 label 16311, 6d20h38m<br>I-SR&gt;*        11.11.11.11/32 &lt;c&gt; 140 [107/70] via 192.168.72.1, ge100-0/0/2.10 label 16411, 2d18h36m<br>I-SR&gt;*        11.11.11.11/32 &lt;c&gt; 150 [107/50] via 192.168.47.0, bundle-112.10 label 16511, 2d16h19m<br>I-SR&gt;*        22.22.22.22/32 &lt;c&gt; 130 [107/10] via 192.168.72.1, ge100-0/0/2.10 label 0, 6d20h38m<br>I-SR&gt;*        22.22.22.22/32 &lt;c&gt; 140 [107/10] via 192.168.72.1, ge100-0/0/2.10 label 0, 2d23h26m</pre><h4><strong>13.</strong> <strong>Service-Level Forwarding Behavior</strong></h4><p><strong>L3VPN Traffic</strong>: Traffic from SA-07 to SA-01 uses label 16301 which belongs to Flex-Algo 130.</p><pre>DN-SA-07(cfg)# show route vrf vrf1<br>VRF: vrf1<br>IPv4 Route Table:<br>C&gt;*           1.1.1.7/32 is directly connected, lo7<br>B&gt;            1.1.1.11/32 [200/0] via 1.1.1.1 [vrf default] (recursive) label 1040385, 18:45:00<br>  *                                 via 192.168.72.1, ge100-0/0/2.10 [vrf default] label 16301, 18:45:00<br>B&gt;            172.16.10.0/31 [200/0] via 1.1.1.1 [vrf default] (recursive) label 1040385, 19:42:23<br>  *                                    via 192.168.72.1, ge100-0/0/2.10 [vrf default] label 16301, 19:42:23<br>C&gt;*           172.16.70.0/31 is directly connected, ge100-0/0/39</pre><p><strong>L2VPN VPWS Traffic</strong>: SR-TE policy enforces steering into Flex-Algo 140 as defined in earlier configuration steps.</p><pre>DN-SA-07(cfg)# show vpws detail<br><br>VPWS: l2vpn-vpws<br>    Description:<br>    Admin state: enabled, Operational state: up, Time in state: 1 Days, 02:14:27<br>    Interface:<br>      ge100-0/0/39.20<br>        Mode: vlan, Vlan-Id: 20<br>        Operational state: up<br>        L2 MTU: 1500<br>    Pseudowire:<br>        neighbor address: 1.1.1.1, pw-id: 10<br>          PW state: up, Time in state: 1 Days, 02:14:28<br>          signaling protocol: LDP<br>          remote AC description: ge100-0/0/39.20<br>          PW Transport Next Hop: vpws_140_pol<br>          Ignore-mtu-mismatch: disabled, ignore-encapsulation-mismatch: disabled<br>          steer-path: enabled, sr-te: vpws_140_pol, no-fallback: disabled<br><br>          Counters:<br>            RX octets:                              174227960 (4.24 Mbps)<br>            RX packets:                                328732<br>            TX octets:                              172166112 (4.21 Mbps)<br>            TX packets:                                327312<br><br>          +---------------------+---------------------+---------------------+---------------------+<br>          |                     | Local               | Remote              | Negotiated          |<br>          +---------------------+---------------------+---------------------+---------------------+<br>          | Label               | 288                 | 285                 | N/A                 |<br>          | MTU                 | 1500                | 1500                | N/A                 |<br>          | Control Word        | Present             | Present             | Present             |<br>          | Encapsulation       | Tagged              | Tagged              | N/A                 |<br>          | Status Support      | Supported           | Supported           | Supported           |<br>          | Last Status Code    | 0x0                 | 0x0                 | N/A                 |<br>          | FAT Label           | Not supported       | Not supported       | Not supported       |<br>          +---------------------+---------------------+---------------------+---------------------+<br><br>DN-SA-07(cfg)#</pre><p><strong>EVPN Traffic</strong>: BGP color 150 and auto-policy combine to steer traffic through Flex-Algo 150. EVPN route inspection confirms this mapping.</p><pre>DN-SA-07(cfg)#  show route evpn<br>EVPN: evpn-lan, EVI ID: 3<br>L&gt;*      52:54:00:0e:73:9c is directly connected, ge100-0/0/39.30, 00:02:51<br><br>B&gt;       52:54:00:9d:6a:be via 1.1.1.1 (recursive) label 268, 00:05:52<br>  *                          via evpn_auto_policy_c_150_dest_1.1.1.1, 00:05:52<br><br>DN-SA-07(cfg)#</pre><p>Finally, perform a quick check of the SR-TE and Auto-Policy instantiation.</p><pre>DN-SA-07(cfg)# show segment-routing policy<br><br>| Destination                                 | Color      | Origin | State      | TX[Mbps]    | Path                     | Name                                             |<br>+-----------------------------------------+------------+--------+------------+-------------+--------------------------+--------------------------------------------------+<br>| 1.1.1.1                                           | 150        | Auto   | up         | 4.01        | flex_150                 | evpn_auto_policy_c_150_dest_1.1.1.1              |<br>| 1.1.1.1                                           | 140        | Static | up         | 4.01        | flex_140                 | vpws_140_pol                                     |<br></pre><h3><strong>Conclusion</strong></h3><p>This TechBites showcase using DNOS how Segment Routing Flex-Algo can build intelligent, service-aware routing across a shared physical infrastructure. By defining separate logical topologies for IGP, TE, and delay-sensitive services, operators can deliver predictable performance that aligns with each SLA requirement. The combination of Flex-Algo, coloring, SR-TE policies, and auto-policy creates a powerful framework that simplifies traffic steering while improving operational efficiency.</p><p>This approach is important for service providers because modern networks must support a wide mix services with different requirements on the same infrastructure. Flex-Algo lets operators isolate these services without building separate networks and continue to scale services, optimize resources, and maintain reliable performance in modern multi-service networks.</p><p><strong><em>Disclaimer: </em></strong>Above config/verification are demonstrated with SW version 19.3 release.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b55982249b2c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/dn-techbites/architecting-intelligent-networks-a-deep-dive-into-segment-routing-flex-algo-on-dnos-b55982249b2c">Architecting Intelligent Networks: A Deep Dive into Segment Routing Flex-Algo on DNOS</a> was originally published in <a href="https://medium.com/dn-techbites">DriveNets TechBites</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[EVPN Multihoming Interoperability — DriveNets DNOS and Juniper Junos OS]]></title>
            <link>https://medium.com/dn-techbites/evpn-multihoming-interoperability-drivenets-dnos-and-juniper-junos-os-faf0ecf2e5df?source=rss----64f582cf8e37---4</link>
            <guid isPermaLink="false">https://medium.com/p/faf0ecf2e5df</guid>
            <dc:creator><![CDATA[Pankaj Kumar]]></dc:creator>
            <pubDate>Thu, 18 Sep 2025 15:55:19 GMT</pubDate>
            <atom:updated>2025-09-19T05:43:04.242Z</atom:updated>
            <content:encoded><![CDATA[<h3>EVPN Multihoming Interoperability — DriveNets DNOS and Juniper Junos OS</h3><p>In today’s multi-vendor network environments, standards-based interoperability is non-negotiable. Service providers (SPs) and large enterprises need their infrastructure, often built from multi-vendor equipment, to integrate and operate reliably.</p><p>At DriveNets, we design and implement features strictly in line with standards such as ITU-T, IEEE, and IETF RFCs to ensure consistent, predictable interoperability with other vendors’ systems. In addition, through multiple large-scale deployments with SPs worldwide, we have gained real-world experience that has further hardened and bullet-proofed our interoperability capabilities.</p><h3>EVPN Multihoming (MH) in Focus</h3><p>Ethernet VPN (EVPN) Multihoming supports multi-homed connectivity between customer edge (CE) and provider edge (PE) devices.</p><ul><li>Redundancy through dual homing</li><li>Fast convergence using Designated Forwarder (DF) election</li><li>Loop prevention and efficient traffic forwarding</li></ul><p>This deep-dive blog demonstrates EVPN-MH interworking between Routers powering DriveNets Network Operating System (DNOS) and Juniper Junos OS, using a topology that includes both cluster-based and standalone DriveNets routers.</p><h4>Highlights of the Interop Test</h4><ul><li>Base EVPN-MH (ELAN mode) between DNOS and JUNOS</li><li>Cluster-based and standalone hardware-based solution with DNOS</li><li>Standards‑compliant DF election and Ethernet Segment Identifier (ESI) handling</li><li>Underlay protocols like IS‑IS, SR‑MPLS, and LAG fully operational.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/723/1*2-QEm6T-2Zd7i-7pHP4iyw.png" /></figure><h4>Preconditions for control and data path for EVPN</h4><ul><li><strong>IGP: </strong>ISIS l2 is used</li><li><strong>MPLS:</strong> SR-MPLS or LDP or RSVP Enabled on all nodes</li><li><strong>MP- BGP: </strong>L2VPN EVPN signalling enabled on all Provider Edge (PE) and negotiated on the central route reflector.</li><li>CEs connected to respective Multihoming pairs with LACP enabled.</li></ul><h4>Setup overview</h4><ul><li>DriveNets standalone and cluster routers.</li><li>Two multihoming pairs deployed</li><li>DriveNets and Juniper PEs used in Active/Active mode; other side in Active/Backup mode.</li><li>Higher DF preference set on DriveNets PE1 to ensure it acts as DF.</li></ul><h4>EVPN route types shared among the PEs</h4><ul><li><strong>Type 1 —</strong> Ethernet Auto‑Discovery (AD): Multihoming and redundancy; advertises ESI info</li><li><strong>Type 2 —</strong> MAC/IP Advertisement: Advertises MAC (and optional IP) for hosts; supports MAC mobility and ARP suppression</li><li><strong>Type 3 —</strong> Inclusive Multicast Ethernet Tag (IMET): BUM traffic distribution; advertises multicast replication per VLAN</li><li><strong>Type 4 —</strong> Ethernet Segment (ES): Identifies PEs connected to an ES. used in DF election.</li></ul><h3>BUM Traffic Flow (ELAN)</h3><p>This solution represents a typical ELAN setup, where multiple end points are connected to a single broadcast domain. As a result, handling BUM (Broadcast, Unknown unicast and Multicast) traffic becomes critical. EVPN routes types 3 (Multicast ingress replication) will discover the all connected PEs in one broadcast domain. Meanwhile, Route Type 4 prevents BUM traffic from being sent toward the CE, avoiding L2 loops.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/898/1*neh_zkLjlX-g16_YRI28lQ.png" /></figure><h3>Unicast Traffic flow</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/701/1*bBtDIJeGirsy8Ht80LpI6g.png" /></figure><p><strong><em>Note</em></strong><em>: The Control Word flag is enabled by default on DNOS. For seamless interworking, both ends must be consistently configured (enabled or disabled). Mismatches can cause interoperability issues.</em></p><h4>Redundancy modes</h4><pre>DN-CL-01(cfg)# network-services multihoming interface bundle-110.100 redundancy-mode<br>  all-active<br>  port-active<br>  single-active<br> --------------------------------------<br>  &lt;single-active/all-active/port-active&gt;          all-active, single-active or port-active<br><br>Note: DNOS support all type of redundancy modes, for this tech bite will use all -active and port-active mode.</pre><h4>DF election algorithm</h4><p><em>Note: DNOS Support rfc 7432 and evpn-ietf-df-10 based algorithm. In this tech byte we are using default i.e mod based algorithm</em></p><pre>DN-CL-01(cfg)# network-services multihoming interface bundle-110.100 redundancy-mode all-active designated-forwarder algorithm<br>  highest-preference          highest-preference - algorithm see draft-ietf-bess-evpn-pref-df-10<br>  mod                         mod - default algorithm rfc 7432</pre><h3>EVPN Configurations Snapshots</h3><h4>DNOS — PE1: EVPN Instance Config:</h4><pre>DN-CL-01(cfg)# show config network-services | flatten<br><br>network-services evpn instance evpn-lan-mh protocols bgp 65100 export-l2vpn-evpn route-target 1:1<br>network-services evpn instance evpn-lan-mh protocols bgp 65100 import-l2vpn-evpn route-target 1:1<br>network-services evpn instance evpn-lan-mh protocols bgp 65100 route-distinguisher 11:100<br>network-services evpn instance evpn-lan-mh transport-protocol mpls control-word disabled<br>network-services evpn instance evpn-lan-mh mac-handling mac-learning enabled<br>network-services evpn instance evpn-lan-mh counters service-counters enabled<br>network-services evpn instance evpn-lan-mh interface bundle-110 ^<br>network-services multihoming interface bundle-110 esi arbitrary value 11:11:11:11:11:11:11:11:11<br>network-services multihoming interface bundle-110 redundancy-mode all-active<br>network-services multihoming interface bundle-110 designated-forwarder algorithm highest-preference value 100</pre><h4>DNOS — PE1: Access Link &amp; LACP</h4><pre>DN-CL-01(cfg)# show config interfaces bundle-110| flatten<br>interfaces bundle-110 admin-state enabled<br>interfaces bundle-110 l2-service enabled<br><br>DN-CL-01(cfg)# show config protocols lacp | flatten<br>protocols lacp interface bundle-110 period short<br>protocols lacp interface bundle-110 port-key 10<br>protocols lacp interface bundle-110 system-id 11:11:11:11:11:11</pre><h4>Junos — PE2: EVPN Configuration</h4><pre>root@J-PE2# show routing-instances | display set<br>set routing-instances evpn-lan-mh instance-type evpn<br>set routing-instances evpn-lan-mh protocols evpn<br>set routing-instances evpn-lan-mh interface ae0.0<br>set routing-instances evpn-lan-mh route-distinguisher 2:100<br>set routing-instances evpn-lan-mh vrf-target target:1:1<br><br>root@J-PE2# show interfaces ae0| display set<br>set interfaces ae0 encapsulation ethernet-bridge<br>set interfaces ae0 esi 00:11:11:11:11:11:11:11:11:11<br>set interfaces ae0 esi all-active<br>set interfaces ae0 esi df-election-type preference value 10<br>set interfaces ae0 aggregated-ether-options lacp active<br>set interfaces ae0 aggregated-ether-options lacp system-id 11:11:11:11:11:11<br>set interfaces ae0 aggregated-ether-options lacp admin-key 10<br>set interfaces ae0 unit 0 family bridge</pre><h4>DNOS — PE3 (DN — 05): EVPN instance</h4><pre>DN-SA-05(cfg)# show config network-services | flattenvp<br>network-services evpn instance evpn-lan-mh protocols bgp 65100 export-l2n-evpn route-target 1:1<br>network-services evpn instance evpn-lan-mh protocols bgp 65100 import-l2vpn-evpn route-target 1:1<br>network-services evpn instance evpn-lan-mh protocols bgp 65100 route-distinguisher 5:100<br>network-services evpn instance evpn-lan-mh transport-protocol mpls control-word disabled<br>network-services evpn instance evpn-lan-mh mac-handling mac-learning enabled<br>network-services evpn instance evpn-lan-mh counters service-counters enabled<br>network-services evpn instance evpn-lan-mh interface bundle-25 <br>network-services multihoming interface bundle-25 esi arbitrary value 12:12:12:12:12:12:12:12:12<br>network-services multihoming interface bundle-25 redundancy-mode port-active<br>network-services multihoming interface bundle-25 designated-forwarder algorithm highest-preference value 100<br><br>DN-SA-05(cfg)# show config interfaces bundle-25 | flatten<br>interfaces bundle-25 admin-state enabled<br>interfaces bundle-25 l2-service enabled</pre><h4>DNOS — PE4 (DN-SA-03): EVPN Config</h4><pre>network-services evpn instance evpn-lan-mh protocols bgp 65100 export-l2vpn-evpn route-target 1:1<br>network-services evpn instance evpn-lan-mh protocols bgp 65100 import-l2vpn-evpn route-target 1:1<br>network-services evpn instance evpn-lan-mh protocols bgp 65100 route-distinguisher 3:100<br>network-services evpn instance evpn-lan-mh transport-protocol mpls control-word disabled<br>network-services evpn instance evpn-lan-mh mac-handling mac-learning enabled<br>network-services evpn instance evpn-lan-mh counters service-counters enabled<br>network-services evpn instance evpn-lan-mh interface bundle-23 ^<br>network-services multihoming interface bundle-23 esi arbitrary value 12:12:12:12:12:12:12:12:12<br>network-services multihoming interface bundle-23 redundancy-mode port-active<br>network-services multihoming interface bundle-23 designated-forwarder algorithm highest-preference value 10<br><br>DN-SA-03(cfg)# show config interfaces bundle-23 | flatten<br>interfaces bundle-23 admin-state enabled<br>interfaces bundle-23 description [A-ROUTER=DN-SA-03][A-PORT=bundle-23][Z-ROUTER=DN-SA-02][Z-PORT=bundle-23]<br>interfaces bundle-23 l2-service enabled</pre><h4>Verification on the PE1 and PE2 EVPN MH Pair</h4><p>PE1 and PE2 share the same ESI identifier and are configured as Active/Active redundancy mode, meaning both PEs participate in traffic forwarding. Since this involves Layer 2 traffic, it’s important to prevent BUM (Broadcast, Unknown Unicast, and Multicast) traffic loops toward the CE side. To achieve this, EVPN Route Type 4 is used to block BUM traffic from one of the PEs.</p><p>Type 4 will help to make side is in Designated forwarder (DF) and other is non designated forwarder (NDF). As we used the preferred value (higher value) will be take role of DF. Once DF and NDF selected the NDF side of the EVPN will block to send the BUM traffic. All the operations are shown below</p><h4>Route Type‑1 (AD EVI/ESI), Type2 (MAC/IP), Route Type3 (IMET), Route Type4 (ES)</h4><pre>DN-CL-01(cfg)# show bgp l2vpn evpn route-type 1<br>Route Distinguisher: 2:100<br>U*&gt;i  type:=1,esi:=00:11:11:11:11:11:11:11:11:11,eth-tag:=0 (AD EVI)<br>         03:06:07, localpref:100 i, next hop: 2.2.2.2, from: 1.1.1.1<br>Route Distinguisher: 3:100<br>U*&gt;i  type:=1,esi:=00:12:12:12:12:12:12:12:12:12,eth-tag:=0 (AD EVI)<br>         17:46:57, localpref:100 i, next hop: 3.3.3.3, from: 1.1.1.1<br>Route Distinguisher: 5:100<br>U*&gt;i  type:=1,esi:=00:12:12:12:12:12:12:12:12:12,eth-tag:=0 (AD EVI)<br>         17:46:57, localpref:100 i, next hop: 5.5.5.5, from: 1.1.1.1<br>Route Distinguisher: 11:100<br>U*&gt;   type:=1,esi:=00:11:11:11:11:11:11:11:11:11,eth-tag:=0 (AD EVI)<br>         03:07:23,     i, next hop: Self, from: Self<br>Route Distinguisher: 2.2.2.2:0<br>U*&gt;i  type:=1,esi:=00:11:11:11:11:11:11:11:11:11,eth-tag:=4294967295 (AD ESI)<br>         03:06:06, localpref:100 i, next hop: 2.2.2.2, from: 1.1.1.1<br>Route Distinguisher: 3.3.3.3:0<br>U*&gt;i  type:=1,esi:=00:12:12:12:12:12:12:12:12:12,eth-tag:=4294967295 (AD ESI)<br>         17:46:57, localpref:100 i, next hop: 3.3.3.3, from: 1.1.1.1<br>Route Distinguisher: 5.5.5.5:0<br>U*&gt;i  type:=1,esi:=00:12:12:12:12:12:12:12:12:12,eth-tag:=4294967295 (AD ESI)<br>         17:46:57, localpref:100 i, next hop: 5.5.5.5, from: 1.1.1.1<br>Route Distinguisher: 11.11.11.11:0<br>U*&gt;   type:=1,esi:=00:11:11:11:11:11:11:11:11:11,eth-tag:=4294967295 (AD ESI)<br>         03:07:21,     i, next hop: Self, from: Self<br><br><br>DN-CL-01(cfg)# show bgp l2vpn evpn route-type 3<br>Route Distinguisher: 2:100<br>U*&gt;i  type:=3,eth-tag:=0,ipv4:=2.2.2.2 (IM)<br>         03:02:23, localpref:100 i, next hop: 2.2.2.2, from: 1.1.1.1<br>Route Distinguisher: 3:100<br>U*&gt;i  type:=3,eth-tag:=0,ipv4:=3.3.3.3 (IM)<br>         17:51:03, localpref:100 i, next hop: 3.3.3.3, from: 1.1.1.1<br>Route Distinguisher: 5:100<br>U*&gt;i  type:=3,eth-tag:=0,ipv4:=5.5.5.5 (IM)<br>         17:43:16, localpref:100 i, next hop: 5.5.5.5, from: 1.1.1.1<br>Route Distinguisher: 11:100<br>U*&gt;   type:=3,eth-tag:=0,ipv4:=11.11.11.11 (IM)<br>         3d22h23m,     i, next hop: Self, from: Self<br>Displayed  4 out of 23 total prefixes<br>DN-CL-01(cfg)#</pre><pre>DN-CL-01(cfg)# show bgp l2vpn evpn route-type 4<br><br>Route Distinguisher: 2.2.2.2:0<br>U*&gt;i  type:=4,esi:=00:11:11:11:11:11:11:11:11:11,ipv4:=2.2.2.2 (ES)<br>         03:11:01, localpref:100 i, next hop: 2.2.2.2, from: 1.1.1.1<br>Route Distinguisher: 3.3.3.3:0<br>U*&gt;i  type:=4,esi:=00:12:12:12:12:12:12:12:12:12,ipv4:=3.3.3.3 (ES)<br>         17:54:22, localpref:100 i, next hop: 3.3.3.3, from: 1.1.1.1<br>Route Distinguisher: 5.5.5.5:0<br>U*&gt;i  type:=4,esi:=00:12:12:12:12:12:12:12:12:12,ipv4:=5.5.5.5 (ES)<br>         17:51:51, localpref:100 i, next hop: 5.5.5.5, from: 1.1.1.1<br>Route Distinguisher: 11.11.11.11:0<br>U*&gt;   type:=4,esi:=00:11:11:11:11:11:11:11:11:11,ipv4:=11.11.11.11 (ES)<br>         03:12:15,     i, next hop: Self, from: Self<br><br>DN-CL-01(cfg)# show bgp l2vpn evpn route-type 2<br>Route Distinguisher: 2:100<br>U*&gt;i  type:=2,eth-tag:=0,mac-address:=0c:18:78:4f:00:04 (MAC)<br>         00:12:29, localpref:100 i, next hop: 2.2.2.2, from: 1.1.1.1<br>U*&gt;i  type:=2,eth-tag:=0,mac-address:=0c:18:78:4f:00:04,ipv4:=14.1.1.5 (MAC/IP)<br>         00:12:29, localpref:100 i, next hop: 2.2.2.2, from: 1.1.1.1<br>U*&gt;i  type:=2,eth-tag:=0,mac-address:=0c:18:78:4f:00:04,ipv4:=15.1.1.5 (MAC/IP)<br>         00:12:29, localpref:100 i, next hop: 2.2.2.2, from: 1.1.1.1<br><br>Route Distinguisher: 5:100<br>U*&gt;i  type:=2,eth-tag:=0,mac-address:=84:40:76:94:5e:a0 (MAC)<br>         17:51:51, localpref:100 i, next hop: 5.5.5.5, from: 1.1.1.1<br>U*&gt;i  type:=2,eth-tag:=0,mac-address:=84:40:76:bf:ba:a4 (MAC)<br>         00:12:29, localpref:100 i, next hop: 5.5.5.5, from: 1.1.1.1<br><br>Route Distinguisher: 11:100<br>U*&gt;   type:=2,eth-tag:=0,mac-address:=2c:6b:f5:6c:2c:c0 (MAC)<br>         03:12:18,     i, next hop: Self, from: Self<br>U*&gt;   type:=2,eth-tag:=0,mac-address:=88:e9:a4:02:95:50 (MAC)<br>         03:12:04,     i, next hop: Self, from: Self</pre><h3>Verifications</h3><p>Let have quick look on Routes and Forwarding next hop</p><h4>EVPN Instance (PE1) — Detailed Check</h4><pre>DN-CL-01(cfg)#  show evpn instance evpn-lan-mh detail<br><br>EVPN: evpn-lan-mh<br>  EVI ID : 3<br>  Route Distinguisher            : 11:100<br>  Transport protocol             : mpls<br>  Fat label                      : disabled.            <br>  Control word                   : disabled.          &gt;&gt; make sure it is same other nodes<br>  MAC learning                   : enabled<br>  Allocated unicast label        : 305<br>  Allocated IM label             : 1032384<br>  E-Tree Configuration           : Root              &gt;&gt; Can be changed to Leaf if require<br>    MAC Mobility<br>  ============<br>  Loop Prevention                : enabled<br>  Loop Prevention Action         : suppress<br>  Loop Detection Threshold       : 5<br>  Loop Detection Window          : 180s<br>  Mac Restore Timer              : 300s<br>  Mac Restore Max Cycles         : infinite<br>  Mac Restore Reset Interval     : 24h<br>  ================<br>  Number of neighbors : 3<br>  | IP Address        | IM Type-3   | MAC Type-2   | MAC/IP Type-2   | AD Type-1 EVI/ESI   | IM Label   | Leaf Label   |<br>  +-------------------+-------------+--------------+-----------------+---------------------+------------+--------------+<br>  | 2.2.2.2           | 1           | 1            | 2               | 1/1                 | 136        |              |<br>  | 3.3.3.3           | 1           | 0            | 0               | 1/1                 | 1032385    |              |<br>  | 5.5.5.5           | 1           | 2            | 0               | 1/1                 | 1032384    |              |<br><br>  Number of interfaces : 1<br><br>  | Associated interfaces   | State   / Forwarding State                                   | Uptime              | Actual Local Homing Type    | ESI                             | Learned MACs   |<br>  +-------------------------+--------------------------------------------------------------+---------------------+-----------------------------+---------------------------------+----------------+<br>  | bundle-110              | up / forwarding-all                                          | 0 days, 3:18:06     | multi-homed-all-active      | 00:11:11:11:11:11:11:11:11:11   | 2              |<br><br>  (I) - DF Election Highest Preference, Invert Preference is enabled for this interface.<br>  (L) - Leaf Interface.<br>  Number of local multihomed ACs (ethernet segments): 1<br><br>ESI: 00:11:11:11:11:11:11:11:11:11<br>  AC                          : bundle-110 State: up / forwarding-all<br>  Requested Homing Type       : multi-homed-all-active<br>  Actual Homing Type          : multi-homed-all-active<br>  Role                        : designated-forwarder<br>  Allocated aliasing label    : 305<br>  ESI-label                   : 345<br>  Designated Forwarder        : 11.11.11.11 (100)<br>  Backup Designated Forwarder : 2.2.2.2 (10)<br>  Time of Last DF Election    : 07-Jun-2025-02:56:14<br>  No-Preemption               : disabled<br>  Requested Algorithm         : highest-preference (100)<br>  Actual Algorithm            : highest-preference (100)<br><br>  Number of ES Neighbors : 1<br>  | Remote PE         | Mode                        | Aliasing label/VNI   | Esi label   |<br>  +-------------------+-----------------------------+----------------------+-------------+<br>  | 2.2.2.2           | multi-homed-all-active      | 253                  | 143         |</pre><h4>Junos — PE2: EVPN Instance (Extensive)</h4><pre>root@J-PE2# run show evpn instance extensive<br>Instance: __default_evpn__<br>  Route Distinguisher: 2.2.2.2:0<br>  Number of bridge domains: 0<br>  Number of neighbors: 1<br>    Address               MAC    MAC+IP        AD        IM        ES Leaf-label Remote-DCI-Peer<br>    11.11.11.11             0         0         0         0         1<br>Instance: evpn-lan-mh<br>  Route Distinguisher: 2:100<br>  Service interface type: VLAN-bundle service interface<br>  Per-instance MAC route label: 135<br>  Duplicate MAC detection threshold: 5<br>  Duplicate MAC detection window: 180<br>  MAC database status                     Local  Remote<br>    MAC advertisements:                       1       4<br>    MAC+IP advertisements:                    2       0<br>    Default gateway MAC advertisements:       0       0<br>  Number of local interfaces: 2 (2 up)<br>    Interface name  ESI                            Mode             Status     AC-Role<br>    .local..12      00:00:00:00:00:00:00:00:00:00  single-homed     Up         Root<br>    ae0.0           00:11:11:11:11:11:11:11:11:11  all-active       Up         Root<br>  Number of IRB interfaces: 0 (0 up)<br>  Number of protect interfaces: 0<br>  Number of bridge domains: 1<br>    VLAN  Domain-ID Intfs/up   IRB-intf  Mode            MAC-sync v4-SG-sync v6-SG-sync<br>    None               1  1              Extended        Enabled  Disabled   Disabled<br>  Number of neighbors: 3<br>    Address               MAC    MAC+IP        AD        IM        ES Leaf-label Remote-DCI-Peer<br>    3.3.3.3                 0         0         2         1         0<br>    5.5.5.5                 2         0         2         1         0<br>    11.11.11.11             2         0         2         1         0<br>  Number of ethernet segments: 2<br>    ESI: 00:11:11:11:11:11:11:11:11:11<br>      Status: Resolved by IFL ae0.0<br>      Local interface: ae0.0, Status: Up/Forwarding<br>      Number of remote PEs connected: 1<br>        Remote-PE        MAC-label  Aliasing-label  Mode<br>        11.11.11.11      305        305             all-active<br>      DF Election Algorithm: Preference based<br>      Designated forwarder: 11.11.11.11, Preference: 100<br>      Backup forwarder: 2.2.2.2, Preference: 10<br>      Last designated forwarder update: Jun 07 06:29:50<br>      Advertised MAC label: 253<br>      Advertised aliasing label: 253<br>      Advertised split horizon label: 143<br>    ESI: 00:12:12:12:12:12:12:12:12:12<br>      Status: Resolved by NH 1048578<br>      Number of remote PEs connected: 2<br>        Remote-PE        MAC-label  Aliasing-label  Mode<br>        5.5.5.5          282        282             single-active<br>        3.3.3.3          0          293             single-active</pre><h4>Verification — PE3 &amp; PE4 (Port‑Active MH Pair)</h4><p>With the EVPN MH pair (PE3 and PE4), we use port-active redundancy mode. Only one node actively sends and receives traffic from the CE side, while the other remains in standby. The active/backup role is determined by DF/NDF selection, which can be controlled through the preference value</p><h4>PE3 (DNSA05) — EVPN Instance Detail</h4><pre>DN-SA-05(cfg)# show evpn instance evpn-lan-mh detail<br>EVPN: evpn-lan-mh<br>  EVI ID : 1<br>  Route Distinguisher            : 5:100<br>  Transport protocol             : mpls<br>  Fat label                      : disabled<br>  Control word                   : disabled<br>  MAC learning                   : enabled<br>  Allocated unicast label        : 282<br>  Allocated IM label             : 1032384<br>  E-Tree Configuration           : Root<br>  Number of neighbors : 3<br>  | IP Address        | IM Type-3   | MAC Type-2   | MAC/IP Type-2   | AD Type-1 EVI/ESI   | IM Label   | Leaf Label   |<br>  +-------------------+-------------+--------------+-----------------+---------------------+------------+--------------+<br>  | 2.2.2.2           | 1           | 0            | 0               | 1/1                 | 136        |              |<br>  | 3.3.3.3           | 1           | 0            | 0               | 1/1                 | 1032385    |              |<br>  | 11.11.11.11       | 1           | 2            | 0               | 1/1                 | 1032384    |              |<br>  Number of interfaces : 1<br>  | Associated interfaces   | State   / Forwarding State                                   | Uptime              | Actual Local Homing Type    | ESI                             | Learned MACs   |<br>  +-------------------------+--------------------------------------------------------------+---------------------+-----------------------------+---------------------------------+----------------+<br>  | bundle-25               | up / forwarding-all                                          | 0 days, 20:38:48    | multi-homed-port-active     | 00:12:12:12:12:12:12:12:12:12   | 1              |<br>  (I) - DF Election Highest Preference, Invert Preference is enabled for this interface.<br>  (L) - Leaf Interface.<br>  Number of local multihomed ACs (ethernet segments): 1<br>ESI: 00:12:12:12:12:12:12:12:12:12<br>  AC                          : bundle-25 State: up / forwarding-all<br>  Requested Homing Type       : multi-homed-port-active<br>  Actual Homing Type          : multi-homed-port-active<br>  Role                        : designated-forwarder<br>  Allocated aliasing label    : 282<br>  ESI-label                   : 318<br>  Designated Forwarder        : 5.5.5.5 (100)<br>  Backup Designated Forwarder : 3.3.3.3 (10)<br>  Time of Last DF Election    : 05-Jun-2025-14:27:15<br>  No-Preemption               : disabled<br>  Requested Algorithm         : highest-preference (100)<br>  Actual Algorithm            : highest-preference (100)<br>  Number of ES Neighbors : 1<br>  | Remote PE         | Mode                        | Aliasing label/VNI   | Esi label   |<br>  +-------------------+-----------------------------+----------------------+-------------+<br>  | 3.3.3.3           | multi-homed-single-active   | 293                  | 356         |</pre><h4>PE4 (DNSA03) — EVPN Instance Detail</h4><pre>DN-SA-03(cfg)# show evpn instance evpn-lan-mh detail<br>-----------<br>EVPN: evpn-lan-mh<br>  EVI ID : 2<br>  Route Distinguisher            : 3:100<br>  Transport protocol             : mpls<br>  Fat label                      : disabled<br>  Control word                   : disabled<br>  MAC learning                   : enabled<br>  Allocated unicast label        : 293<br>  Allocated IM label             : 1032385<br>  E-Tree Configuration           : Root<br>  MAC Table<br>  =========<br>    Number of neighbors : 3<br>  | IP Address        | IM Type-3   | MAC Type-2   | MAC/IP Type-2   | AD Type-1 EVI/ESI   | IM Label   | Leaf Label   |<br>  +-------------------+-------------+--------------+-----------------+---------------------+------------+--------------+<br>  | 2.2.2.2           | 1           | 1            | 2               | 1/1                 | 136        |              |<br>  | 5.5.5.5           | 1           | 2            | 0               | 1/1                 | 1032384    |              |<br>  | 11.11.11.11       | 1           | 2            | 0               | 1/1                 | 1032384    |              |<br>  Number of interfaces : 1<br>| Associated interfaces   | State   / Forwarding State                                   | Uptime              | Actual Local Homing Type    | ESI                             | Learned MACs   |<br>  +-------------------------+--------------------------------------------------------------+---------------------+-----------------------------+---------------------------------+----------------+<br>  | bundle-23               | up / blocking-all                                            | 0 days, 20:42:01    | multi-homed-port-active     | 00:12:12:12:12:12:12:12:12:12   | 0              |<br><br>  (I) - DF Election Highest Preference, Invert Preference is enabled for this interface.<br>  (L) - Leaf Interface.<br>  Number of local multihomed ACs (ethernet segments): 1<br>ESI: 00:12:12:12:12:12:12:12:12:12<br>  AC                          : bundle-23 State: up / blocking-all<br>  Requested Homing Type       : multi-homed-port-active<br>  Actual Homing Type          : multi-homed-port-active<br>  Role                        : backup-designated-forwarder<br>  Allocated aliasing label    : 293<br>  ESI-label                   : 356<br>  Designated Forwarder        : 5.5.5.5 (100)<br>  Backup Designated Forwarder : 3.3.3.3 (10)<br>  Time of Last DF Election    : 05-Jun-2025-14:07:45<br>  No-Preemption               : disabled<br>  Requested Algorithm         : highest-preference (10)<br>  Actual Algorithm            : highest-preference (10)<br>  Number of ES Neighbors : 1<br>  | Remote PE         | Mode                        | Aliasing label/VNI   | Esi label   |</pre><h4>Failure Scenarios and Resiliency</h4><p>The EVPN MH pair (PE1 and PE2) operates in active/active mode. If any link to the CE or either PE fails, the second PE continues forwarding traffic. In the second pair (PE3 and PE4), PE3 is active while PE4 is in backup mode. If the CE link to PE3 or PE3 itself fails, PE4 transitions from backup to active and takes over traffic forwarding</p><h4>Tracking Policy and core Isolation</h4><p>DNOS tracking policies are highly flexible. You can track links, monitor delays, and track IP routes with different weight thresholds. Logic supports and/or, invert‑monitoring, and more.</p><pre>DN-CL-01(cfg)# tracking-policy tracking-group evpn_core_links<br>  &lt;CR&gt;<br>  delay                             Configure the delay (seconds) to be applied before performing the action.<br>  invert-monitoring                 Enable of Disable invert-monitoring.<br>  monitor-interface                 Add an interface to the Group to be monitored<br>  monitor-ipv4-route                Add a route to the Group to be monitored<br>  monitor-ipv6-route                Add a route to the Group to be monitored<br>  number-of-failed-objects          Define the number of failed objects required, before the action shall be applied.<br>  operation                         Set operation to either &#39;and&#39; or &#39;or&#39;.<br>  weight-threshold                  When the sum of the weights of the failed objects reaches the weight-threshold the action is applied.</pre><p>What happens if the PEs remains up but both core links on PE1 (bundle-111 and bundle-1122) fail?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/830/1*deu67u7_Dpn9s3UYQ70ERQ.png" /></figure><p>Since CE1 receives LACP from both PE1 and PE2, it continues sending traffic to both PEs, which can cause a traffic blackhole on PE1. The solution is to use a tracking policy.</p><p>The policy monitors the core links, and if they go down, it triggers a laser-off action on the link toward CE1. This brings down the CE1-PE1 link, ensuring CE1 no longer sends traffic to PE1.</p><h4>Tracking Policy Config</h4><pre>DN-CL-01(cfg)# show config tracking-policy tracking-group evpn_core_links | flatten<br>tracking-policy tracking-group evpn_core_links monitor-interface bundle-111<br>tracking-policy tracking-group evpn_core_links monitor-interface bundle-1122<br>tracking-policy tracking-group evpn_core_links operation and<br>interfaces bundle-110 admin-state enabled<br>interfaces bundle-110 l2-service enabled<br>interfaces bundle-110 tracking-group evpn_core_links action laser-off</pre><h4>Tracking Policy Verification</h4><pre>DN-CL-01(cfg)# show tracking-policies tracking-group evpn_core_links<br>Tracking-Group: evpn_core_links<br>        State: applying-action<br>        Tracked Objects: 2<br>        Type: operation &#39;and&#39;<br>        Invert-monitoring: disabled<br>        Delay: 0<br>        Number of changes: 3<br><br>Interface Objects: 2<br>| Interface   | State   | UpTime          | Weight   |<br>|-------------+---------+-----------------+----------|<br>| bundle-111  | down    | 0 days, 0:00:00 | 0        |<br>| bundle-1122 | down    | 0 days, 0:00:00 | 0        |<br><br>Routing-Reachability Objects: 0<br>| Route   | Vrf   | Reachable   | Reachable Since   | Weight   |<br>|---------+-------+-------------+-------------------+----------|<br>Number of interfaces tracking this group: 1<br>| Interface   |<br>|-------------|<br>| bundle-110  |<br><br>DN-CL-01(cfg)#</pre><h4>Additional validation info</h4><p>The solution has been validated with various combinations:</p><ul><li>Interoperability tested with Cisco, Nokia, Arista, and HPE (Juniper)</li><li>Validated for scale, performance, and FRR scenarios (access and core link failures)</li><li>VLAN manipulations: Push/POP/Swap combinations</li><li>Redundancy modes tested: Active/Active, Single‑Active, Port‑Active</li><li>IRB cases to participate in the Layer-3 routing</li></ul><h3>Conclusion</h3><p>This showcase how DriveNets DNOS interoperates seamlessly with Juniper Junos OS in EVPN‑MH deployments, delivering resilient, standards‑based connectivity across multi-vendor networks. Similar deployments have already been delivered by DriveNets across the U.S., Europe, Japan, and India, where operators have gained flexibility and reliability without concerns about multi-vendor interactions. Here are few RFC for EVPN implemented with DNOS.</p><p>RFC 8584 DF Election Framework for EVPN Services<br>RFC 8214 Virtual Private Wire Service Support in Ethernet VPN<br>RFC 7432 BGP MPLS-Based Ethernet VPN<br>RFC 8317 Ethernet-Tree (E-Tree) Support in Ethernet VPN (EVPN)</p><p><strong>Feel free to reach out with comments or questions about EVPN Multihoming, interoperability, or DNOS in general.</strong></p><p><strong>Disclaimer</strong>: This tech article is published to understand and knowledge purpose how the DNOS and JUNOS can work together in the EVPN services.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=faf0ecf2e5df" width="1" height="1" alt=""><hr><p><a href="https://medium.com/dn-techbites/evpn-multihoming-interoperability-drivenets-dnos-and-juniper-junos-os-faf0ecf2e5df">EVPN Multihoming Interoperability — DriveNets DNOS and Juniper Junos OS</a> was originally published in <a href="https://medium.com/dn-techbites">DriveNets TechBites</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Migrating MPLS from LDP to Segment Routing]]></title>
            <link>https://medium.com/dn-techbites/migrating-mpls-from-ldp-to-segment-routing-2fa1fcc509ea?source=rss----64f582cf8e37---4</link>
            <guid isPermaLink="false">https://medium.com/p/2fa1fcc509ea</guid>
            <dc:creator><![CDATA[Pankaj Kumar]]></dc:creator>
            <pubDate>Mon, 19 May 2025 16:41:10 GMT</pubDate>
            <atom:updated>2025-05-19T16:44:39.401Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introduction</h3><p>Modern telecommunications networks have traditionally relied on multiprotocol label switching (MPLS) with Label Distribution Protocol (LDP) to manage label forwarding. While this architecture has served the industry well, the growing demand for simpler network design, enhanced traffic engineering, and increased automation is driving migration to segment routing MPLS (SR-MPLS).</p><p>DriveNets Network Operating System (DNOS), with its disaggregated architecture and rich feature set, provides an ideal platform for this transformation. In this blog post, we will walk through how DNOS enables a seamless migration from MPLS LDP to SR-MPLS — laying the foundation for a more scalable, programmable, and future-ready network.</p><h3><strong>Why Transition to SR-MPLS?</strong></h3><p>Segment routing eliminates the complexity of traditional MPLS protocols by replacing LDP or Resource Reservation Protocol (RSVP) with an Interior Gateway Protocol (IGP) such as OSPF or IS-IS.</p><p>Efficiently handling label distribution, these IGPs provide several key advantages:</p><ul><li><strong>Simplified architecture: </strong>reduces dependency on multiple control-plane protocols</li><li><strong>Enhanced traffic engineering:</strong> enables better optimization and control of network paths</li><li>Improved scalability: supports large-scale topologies more effectively</li><li><strong>Automation-friendly:</strong> simplifies programmability, aligning with modern network requirements</li><li><strong>Cost efficiency: </strong>lowers operational overhead by reducing protocol complexity</li><li><strong>IPv6 integration: </strong>facilitates advanced SRv6 deployments for future-ready infrastructure</li></ul><p>DNOS further amplifies these benefits with a container-based, elastic and hardware-agnostic software design that integrates seamlessly into next-generation network architectures.</p><h3><strong>The Journey from MPLS LDP to SR-MPLS</strong></h3><h4>Step 1: Assessing the LDP-based MPLS network</h4><p>The first step is to evaluate the existing MPLS LDP setup. In our example, we have an L3VPN service deployed over MPLS using LDP. We will explore how this LDP-based network can be migrated toward segment routing.</p><p>As shown in the figure below, all routers from R1 to R6 are part of the MPLS LDP-based infrastructure, used to deliver IP/MPLS services. Let’s start with a quick check of this setup.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-TScHaoZ3OOJk-71i7by2w.png" /></figure><p>First of all, let’s see how MPLS labels are allocated by DNOS.</p><pre>R3(cfg)# show mpls label-allocation tables<br><br>In use:<br><br>| Protocols                  | Total labels | Label ranges                     |<br>|---------------------------+--------------+----------------------------------|<br>| bgp-evpn-bum              | 8001         | 1032383-1040383                  |<br>| bgp-vrf                   | 8192         | 1040384-1048575                  |<br>| srgb                      | 8000         | 16000-23999                      |<br>| ldp, rsvp, dynamic-sr, bgp| 1016127      | 256-7999, 24000-1032382          |<br>| srlb                      | 8000         | 8000-15999                       |</pre><p>Quick checks (e.g., pings and traceroutes) confirm L3VPN connectivity over LDP-based MPLS.</p><pre>R1(cfg)# run ping 111.11.11.1 vrf vrf1<br><br>PING 111.11.11.1 (111.11.11.1) from 110.10.10.1 vrf_1: 56(84) bytes of data.<br>64 bytes from 111.11.11.1: icmp_seq=1 ttl=64 time=2.15 ms<br>64 bytes from 111.11.11.1: icmp_seq=2 ttl=64 time=1.49 ms<br>64 bytes from 111.11.11.1: icmp_seq=3 ttl=64 time=1.54 ms<br>64 bytes from 111.11.11.1: icmp_seq=4 ttl=64 time=1.67 ms<br>64 bytes from 111.11.11.1: icmp_seq=5 ttl=64 time=2.34 ms<br><br>--- 111.11.11.1 ping statistics ---<br>5 packets transmitted, 5 received, 0% packet loss, time 4016ms<br><br><br>R1(cfg)# run traceroute mpls ldp 6.6.6.6/32<br><br>output interface ge400-0/0/6.10 nexthop 12.12.12.2<br>source 12.12.12.1 destination 127.0.0.1<br><br>  1  12.12.12.12 MPLS-MTU 1500 [Label: 380 Exp: 0] round-trip-delay 0.62 msec<br>  2  23.23.23.23 MPLS-MTU 1500 [Label: 320 Exp: 0] round-trip-delay 0.79 msec<br>  3  34.34.34.2  MPLS-MTU 1500 [Label: implicit-null Exp: 0] round-trip-delay 0.73 msec<br>  !  46.46.46.2  round-trip-delay 0.99 msec<br><br><br>R1(cfg)# run traceroute 111.11.11.1 vrf vrf1<br><br>traceroute to 111.11.11.1 (111.11.11.1), 30 hops max, 60 byte packets<br>  1  12.12.12.2 &lt;MPLS: L=380, E=0, S=0, T=1/1&gt;   1.037 ms<br>  2  23.23.23.2 &lt;MPLS: L=320, E=0, S=1, T=2&gt;     1.262 ms<br>  3  34.34.34.2 &lt;MPLS: L=273, E=0, S=1, T=3&gt;     0.943 ms<br>  4  111.11.11.1                                 2.197 ms</pre><h4>Step 2: Planning the new segment routing use case</h4><p>Let’s modify the previous topology to demonstrate a mixed deployment, where some routers remain in the legacy network while others are migrated to SR-MPLS. As shown in the figure below, R1 and R2 continue to operate in the legacy LDP network, while R3, R4, and R6 transition to segment routing.</p><p>In this scenario, one end (CE1) of the L3VPN remains within the legacy network, while the other end (CE2) is migrated to the SR-MPLS domain.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1014/1*Rzd3wGEdNgY21XNAkdY7nA.png" /></figure><h4><strong>DNOS protocol preference</strong></h4><p>By default, LDP has a lower administrative distance (105) compared to ISIS-SR (107). DNOS chooses the protocol with the lower value. So, even with SR configured, LDP remains preferred unless the distance is adjusted. To make SR the preferred path, either decrease the ISIS-SR preference or increase the LDP preference.</p><pre>R3(cfg)# show route protocol-preference<br><br>VRF: default<br><br>| Protocols      | Administrative-distance | Instance name |<br>|----------------+-------------------------+----------------|<br>| Access-High    | 10                      |                |<br>| Access-Medium  | 11                      |                |<br>| Access-Low     | 12                      |                |<br>| Connected      | 0                       |                |<br>| RSVP           | 100                     |                |<br>| SR-TE          | 103                     |                |<br>| LDP            | 105                     |                |<br>| Static         | 1 (default)             |                |<br>| ISIS-SR        | 107                     | isis           |<br>| ISIS           | 115                     | isis           |<br>| BGP-External   | 20                      |                |<br>| BGP-Internal   | 200                     |                |</pre><h4>Step 3: Configuring SR and SR mapping server (SRMS)</h4><p>In this step, R3 will serve as the boundary node between the LDP and SR-MPLS domains. To enable seamless interoperability between the two, R3 must be configured as a segment routing mapping server (SRMS). This functionality is crucial for stitching LDP-based routes with SR-MPLS, allowing label continuity across domains.</p><p>We will also need to configure prefix-SID mappings, as shown below. Unlike LDP (which assigns labels locally), SR uses globally scoped labels across the domain, which significantly simplifies operations.</p><p>SR and SRMS configuration:</p><pre>R3(cfg)# show config protocols isis<br><br>Protocols<br>  isis<br>    instance isis<br>      iso-network 49.0003.0003.0003.00<br>      level level-2<br>      address-family ipv4-unicast<br>        segment-routing<br>          admin-state enabled<br>          mapping-server<br>            prefix-sid-map advertise enabled<br>      !<br>    interface lo0<br>      address-family ipv4-unicast<br>        prefix-sid index 3<br>    !<br>    interface ge100-0/0/3<br>      address-family ipv4-unicast<br>    !<br>    interface ge100-0/0/15<br>      address-family ipv4-unicast</pre><pre>R3(cfg)# show config protocols ldp<br># R3 config-start [16-Dec-2024 03:06:32 UTC]<br><br>Protocols<br>  ldp<br>    address-family ipv4-unicast<br>      interface ge100-0/0/3<br>      !<br>      interface ge100-0/0/15<br>      !---<br><br>// Enable Prefix-SID MAP for the Routers participating in<br>// LDP only — e.g., R1 (1.1.1.1) and R2 (2.2.2.2) will be in LDP only.<br><br>R3(cfg)# show config protocols segment-routingprotocols<br><br>segment-routing<br>  mpls<br>    mapping-server<br>      prefix-sid-map 1.1.1.1/32 5000 range 1<br>      prefix-sid-map 2.2.2.2/32 4000 range 1</pre><p>Once SR-MPLS is enabled on R3, R4, and R6, each loopback will have two entries in the MPLS Next-Hop (MPLS-NH) table — one resolved via LDP and the other via SR. Since LDP has a lower administrative distance by default, the traffic will continue using LDP labels for forwarding unless the protocol preferences are adjusted.</p><h4>Step 4: Cross checking service working via LDP or SR-MPLS</h4><pre>R1(cfg)# run traceroute 111.11.11.1 vrf vrf1<br><br>traceroute to 111.11.11.1 (111.11.11.1), 30 hops max, 60 byte packets<br>  1  12.12.12.2 &lt;MPLS:L=380, E=0, S=0, T=1/1&gt;   2.837 ms<br>  2  23.23.23.2 &lt;MPLS:L=320, E=0, S=0, T=2&gt;     2.531 ms<br>  3  34.34.34.2 &lt;MPLS:L=273, E=0, S=1, T=3&gt;     8.376 ms<br>  4  111.11.11.1                               1.495 ms<br><br>R1(cfg)# run traceroute mpls ldp 6.6.6.6/32<br><br>Tracing MPLS LSP, target ip-address: 6.6.6.6/32<br>output interface ge400-0/0/6.10 nexthop 12.12.12.2<br>source 12.12.12.1 destination 127.0.0.1<br><br>  0  12.12.12.1  MPLS-MTU 1500 [Label: 380 Exp: 0]            round-trip-delay 0.68 msec<br>  1  12.12.12.2  MPLS-MTU 1500 [Label: 320 Exp: 0]            round-trip-delay 0.79 msec<br>  2  23.23.23.2  MPLS-MTU 1500 [Label: 273 Exp: 0]            round-trip-delay 0.82 msec<br>  3  34.34.34.2  MPLS-MTU 1500 [Label: implicit-null Exp: 0]  round-trip-delay 0.83 msec<br>  !  46.46.46.2  round-trip-delay 1.03 msec</pre><h4><strong>Verification from R1 to R6 end:</strong></h4><pre>R6(cfg)# run traceroute 110.10.10.1 vrf vrf1<br><br>traceroute to 110.10.10.1 (110.10.10.1), 30 hops max, 60 byte packets<br>  1  46.46.46.1 &lt;MPLS:L=269,E=0,S=0,T=1/1&gt;       0.665 ms<br>  2  34.34.34.1 &lt;MPLS:L=321,E=0,S=0,T=2&gt;         0.399 ms<br>  3  23.23.23.1 &lt;MPLS:L=381,E=0,S=0,T=3&gt;         1.038 ms<br>  4  110.10.10.1                                 2.121 ms<br><br>R6(cfg)# run traceroute mpls ldp 1.1.1.1/32<br><br>Tracing MPLS LSP, target ip-address: 1.1.1.1/32<br>output interface ge100-0/0/1.10 nexthop 46.46.46.1<br>source 46.46.46.2 destination 127.0.0.1<br><br>  0  46.46.46.2  MPLS-MTU 1500 [Label: 269 Exp: 0]            round-trip-delay 0.12 msec<br>  1  46.46.46.1  MPLS-MTU 1500 [Label: 321 Exp: 0]            round-trip-delay 0.12 msec<br>  2  34.34.34.1  MPLS-MTU 1500 [Label: 381 Exp: 0]            round-trip-delay 0.11 msec<br>  3  23.23.23.1  MPLS-MTU 1500 [Label: explicit-null Exp: 0]  round-trip-delay 0.11 msec<br>  !  12.12.12.1  round-trip-delay 0.79 msec<br>R6(cfg)#</pre><p>It is clear that when LDP and SR are used together, LDP is preferred because it has a lower preference value.</p><h4>Step 5: Migrating to SR-MPLS</h4><p>To migrate MPLS to SR on R3, R4, and R6, we need to either lower the preference of SR or increase the preference of LDP, ensuring that SR becomes the preferred path.</p><pre>R3(cfg)# show config compare<br><br>Added:<br>  protocols<br>    isis<br>      segment-routing<br>        + administrative-distance 100  // Set the ISIS-SR preference to 100, compared to LDP’s 105<br><br>R3(cfg)# commit<br><br>// After lowering the SR-MPLS preference, we check that SR-MPLS is now the active MPLS next hop.<br><br>R3(cfg)# show route table mpls-nh<br><br>I-SR*&gt; 1.1.1.1/32 [100/20] via 23.23.23.1, ge100-0/0/15 label 381, 00:00:40<br>I-SR*&gt; 1.1.1.1/32 [100/20] via 23.23.23.1, ge100-0/0/15 label 381, 00:23:01<br>I-SR*&gt; 2.2.2.2/32 [100/10] via 23.23.23.1, ge100-0/0/15 label 3, 00:00:40<br>I-SR*&gt; 2.2.2.2/32 [100/10] via 23.23.23.1, ge100-0/0/15 label 3, 01:59:27<br>I-SR*&gt; 4.4.4.4/32 [100/20] via 34.34.34.2, ge100-0/0/3.10 label 3, 00:00:40<br>I-SR*&gt; 4.4.4.4/32 [100/20] via 34.34.34.2, ge100-0/0/3.10 label 3, 00:00:40<br>I-SR*&gt; 6.6.6.6/32 [105/20] via 34.34.34.2, ge100-0/0/3.10 label 16006, 00:00:40<br>L&gt;*     12.12.12.0/24 [105/20] via 23.23.23.1, ge100-0/0/15 label 3, 01:59:27<br>L&gt;*     46.46.46.0/24 [105/20] via 34.34.34.2, ge100-0/0/3.10 label 3, 01:51:06<br><br>R4(cfg)# show route table mpls-nh<br><br>I-SR*&gt; 1.1.1.1/32 [105/30] via 34.34.34.1, ge100-0/0/3.10 label 16001, 00:01:47<br>L&gt;      1.1.1.1/32 [100/30] via 34.34.34.1, ge100-0/0/3.10 label 16001, 00:01:47<br>L&gt;      2.2.2.2/32 [105/20] via 34.34.34.1, ge100-0/0/3.10 label 16002, 00:01:47<br>L&gt;      3.3.3.3/32 [105/10] via 34.34.34.1, ge100-0/0/3.10 label 3, 00:01:47<br>L&gt;      4.4.4.4/32 [105/10] via 34.34.34.1, ge100-0/0/3.10 label 3, 00:01:47<br>I-SR*&gt; 6.6.6.6/32 [105/10] via 46.46.46.2, ge100-0/0/1.10 label 3, 00:01:47<br>L&gt;*     12.12.12.0/24 [105/30] via 34.34.34.1, ge100-0/0/3.10 label 315, 00:41:47<br>L&gt;*     23.23.23.0/24 [105/20] via 34.34.34.1, ge100-0/0/3.10 label 0, 00:41:47<br><br>R6(cfg)# show route table mpls-nh<br><br>I-SR*&gt; 1.1.1.1/32 [105/40] via 46.46.46.1, ge100-0/0/1.10 label 16001, 00:03:02<br>I-SR*&gt; 1.1.1.1/32 [100/40] via 46.46.46.1, ge100-0/0/1.10 label 16001, 00:03:02<br>I-SR*&gt; 2.2.2.2/32 [100/30] via 46.46.46.1, ge100-0/0/1.10 label 16002, 00:03:02<br>I-SR*&gt; 3.3.3.3/32 [100/20] via 46.46.46.1, ge100-0/0/1.10 label 16003, 00:03:02<br>I-SR*&gt; 4.4.4.4/32 [100/10] via 46.46.46.1, ge100-0/0/1.10 label 3, 00:03:02<br>L&gt;*     23.23.23.0/24 [105/20] via 46.46.46.1, ge100-0/0/1.10 label 272, 00:58:08<br>L&gt;*     34.34.34.0/24 [105/20] via 46.46.46.1, ge100-0/0/1.10 label 3, 00:58:08</pre><h4><strong>Verification from LDP end to SR end (R1 to R6):</strong></h4><pre>R1(cfg)# run traceroute 111.11.11.1 vrf vrf1<br><br>traceroute to 111.11.11.1 (111.11.11.1), 30 hops max, 60 byte packets<br>  1  12.12.12.2 &lt;MPLS:L=380,E=0,S=0,T=1/1&gt;        1.710 ms<br>  2  23.23.23.2 &lt;MPLS:L=320,E=0,S=1,T=2&gt;          1.984 ms<br>  3  34.34.34.2 &lt;MPLS:L=16006,E=0,S=1,T=3&gt;        2.312 ms<br>  4  111.11.11.1                                  2.180 ms<br><br>R1(cfg)# run traceroute mpls ldp 6.6.6.6/32<br><br>Tracing MPLS LSP, target ip-address: 6.6.6.6/32<br>output interface ge400-0/0/6.10 nexthop 12.12.12.2<br>source 12.12.12.1 destination 127.0.0.1<br><br>  0  12.12.12.1  MPLS-MTU 1500 [Label: 380 Exp: 0]            round-trip-delay 0.83 msec<br>  1  12.12.12.2  MPLS-MTU 1500 [Label: 320 Exp: 0]            round-trip-delay 0.84 msec<br>  2  23.23.23.2  MPLS-MTU 1500 [Label: 16006 Exp: 0]          round-trip-delay 0.84 msec<br>  3  34.34.34.2  MPLS-MTU 1500 [Label: implicit-null Exp: 0]  round-trip-delay 0.77 msec<br>  !  46.46.46.2  round-trip-delay 0.98 msec</pre><h4><strong>Verification from SR end to LDP end (R6 to R1):</strong></h4><pre>R6(cfg)# run traceroute 110.10.10.1 vrf vrf1<br><br>traceroute to 110.10.10.1 (110.10.10.1), 30 hops max, 60 byte packets<br>  1  46.46.46.1 &lt;MPLS:L=16001,E=0,S=0,T=1&gt;       1.068 ms<br>  2  34.34.34.1 &lt;MPLS:L=16001,E=0,S=1,T=2&gt;       0.952 ms<br>  3  23.23.23.1 &lt;MPLS:L=381,E=0,S=1,T=3&gt;         0.557 ms<br>  4  110.10.10.1                                 0.649 ms<br><br>R6(cfg)# run traceroute mpls isis 1.1.1.1/32<br><br>Tracing MPLS LSP, target ip-address: 1.1.1.1/32<br>output interface ge100-0/0/1.10 nexthop 46.46.46.1<br>source 46.46.46.2 destination 127.0.0.1<br><br>  0  46.46.46.2  MPLS-MTU 1500 [Label: 16001 Exp: 0]            round-trip-delay 0.14 msec<br>  1  46.46.46.1  MPLS-MTU 1500 [Label: 16001 Exp: 0]            round-trip-delay 0.14 msec<br>  2  34.34.34.1  MPLS-MTU 1500 [Label: 381 Exp: 0]              round-trip-delay 0.14 msec<br>  3  23.23.23.1  MPLS-MTU 1500 [Label: explicit-null Exp: 0]    round-trip-delay 0.12 msec<br>  !  12.12.12.1  round-trip-delay 0.32 msec<br><br>R6(cfg)# run traceroute mpls ldp 1.1.1.1/32<br><br>Tracing MPLS LSP, target ip-address: 1.1.1.1/32<br>output interface ge100-0/0/1.10 nexthop 46.46.46.1<br>source 46.46.46.2 destination 127.0.0.1<br><br>  0  46.46.46.2  MPLS-MTU 1500 [Label: 16001 Exp: 0]            round-trip-delay 0.13 msec<br>  1  46.46.46.1  MPLS-MTU 1500 [Label: 16001 Exp: 0]            round-trip-delay 0.10 msec<br>  2  34.34.34.1  MPLS-MTU 1500 [Label: 381 Exp: 0]              round-trip-delay 0.10 msec<br>  3  23.23.23.1  MPLS-MTU 1500 [Label: explicit-null Exp: 0]    round-trip-delay 0.18 msec<br>  !  12.12.12.1  round-trip-delay 0.43 msec<br><br>R6(cfg)# show isis instance isis database detail level level-2 | include regex &quot;Binding&quot;<br><br>  SR Binding-SID: 1.1.1.1/32  Range:1  Flags: F:0, M:0, S:0, D:0, A:0<br>  SR Binding-SID: 2.2.2.2/32  Range:1  Flags: F:0, M:0, S:0, D:0, A:0</pre><h3>Deep dive into MPLS label operations on stitching node with DNOS</h3><p>R3 acts as the boundary router, participating in both the LDP and SR domains. It is also configured as an SR mapping server, responsible for advertising prefix SIDs corresponding to LDP-advertised prefixes.</p><p>We will examine how labels are mapped during the migration from LDP to SR. This scenario can also apply to greenfield SR deployments in networks that still run legacy LDP. Regardless of the starting point, the configuration steps and migration strategy remain consistent.</p><pre>R3(cfg)# show ldp binding 4.4.4.4/32<br><br>4.4.4.4/32<br>  Local binding: label: 318<br>  Exists in local IGP table: yes<br>  Exists in local IGP-Shortcut table: no<br>  Binding uptime: 01:15:16<br><br>  Remote bindings:<br>    LDP Peer     Label     Uptime<br>    --------     -------   -------<br>    2.2.2.2      378       01:15:11<br>    4.4.4.4      imp-null  01:15:14<br><br>  SR-IGP-nexthop<br>    Instance: isis<br>    34.34.34.2   imp-null  00:35:00 (installed)<br><br>R3(cfg)# show ldp binding 6.6.6.6/32<br><br>6.6.6.6/32<br>  Local binding: label: 320<br>  Exists in local IGP table: yes<br>  Exists in local IGP-Shortcut table: no<br>  Binding uptime: 01:16:14<br><br>  Remote bindings:<br>    LDP Peer     Label     Uptime<br>    --------     -------   -------<br>    2.2.2.2      380       01:16:14<br>    4.4.4.4      273       01:16:14<br><br>  SR-IGP-nexthop<br>    Instance: isis<br>    34.34.34.2   16006     00:36:18 (installed)<br><br>R3(cfg)# show mpls forwarding-table<br><br>Legend: * - Active, A - Alternate path, B - Bypass, S - Secondary, EA - Enhanced-Alternate<br>Egress-Encapsulation: M - MPLS, V - VXLAN (vtep id)<br><br>NCP-ID: 0<br><br>| In Label     | Action | Next Hop        | Interface         | Egress-Encapsulation       |<br>|--------------+--------+-----------------+-------------------+----------------------------|<br>| (*)273       | pop    | evpn_unicast    | evpn-mpls-vxlan   |                            |<br>| (*)309       | pop    | 34.34.34.2      | ge100-0/0/3.10     |                            |<br>| (*)311       | pop    | 23.23.23.1      | ge100-0/0/15       |                            |<br>| (*)313       | swap   | 23.23.23.1      | ge100-0/0/15       | M(366)                     |<br>| (*)314       | pop    | 23.23.23.1      | ge100-0/0/15       |                            |<br>| (*)315       | pop    | 34.34.34.2      | ge100-0/0/3.10     |                            |<br>| (*)318       | pop    | 34.34.34.2      | ge100-0/0/3.10     |                            |<br>| (*)319       | pop    | 34.34.34.2      | ge100-0/0/3.10     |                            |<br>| (*)320       | swap   | 34.34.34.2      | ge100-0/0/3.10     | M(16006)                   |<br>| (*)16001     | swap   | 23.23.23.1      | ge100-0/0/15       | M(366)                     |<br>| (*)16002     | pop    | 23.23.23.1      | ge100-0/0/15       |                            |<br>| (*)16003     | pop    | 34.34.34.2      | ge100-0/0/3.10     |                            |<br>| (*)16006     | swap   | 34.34.34.2      | ge100-0/0/3.10     | M(16006)                   |<br>| (*)1032385   | pop    | evpn_bum        | evpn-mpls-vxlan   |                            |</pre><h3>Label mapping flow from LDP to SR</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7nDLWR-PCOlSDcov0P_siQ.png" /></figure><pre>R3(cfg)# show mpls route 318<br><br>Routing entry for 318<br>  Known via &quot;ldp&quot;, mpls stitching, related ip 4.4.4.4/32, priority medium, distance 105, metric 10, vrf default, best, fib<br>  Last update 00:54:04 ago, ack<br>  * 34.34.34.2, via ge100-0/0/3.10 label 3<br><br>R3(cfg)# show mpls route 320<br><br>Routing entry for 320<br>  Known via &quot;ldp&quot;, mpls stitching, related ip 6.6.6.6/32, priority medium, distance 105, metric 20, vrf default, best, fib<br>  Last update 00:53:46 ago, ack<br>  * 34.34.34.2, via ge100-0/0/3.10 label 16006</pre><p>We can see above how label 318 is swapped at R3 to SR label 3 and sent via ge100–0/0/3.10, enabling LDP-to-SR stitching.</p><h3>Label mapping flow from SR to LDP</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2Hu1Ap4nIM-raeYemqt9XQ.png" /></figure><pre>R3(cfg)# show mpls route 16001<br><br>Routing entry for 16001<br>  Known via &quot;isis-sr isis&quot;, mpls stitching, priority medium, distance 100, metric 20, vrf default, best, fib<br>  Last update 00:07:35 ago, ack<br>  * 23.23.23.1, via ge100-0/0/15 label 381<br><br>R3(cfg)# show mpls route 16002<br><br>Routing entry for 16002<br>  Known via &quot;isis-sr isis&quot;, mpls stitching, priority medium, distance 100, metric 10, vrf default, best, fib<br>  Last update 00:55:38 ago, ack<br>  * 23.23.23.1, via ge100-0/0/15 label 3</pre><p>Here we can see the MPLS stitching from SR to LDP, the reverse of the previous scenario.</p><p>At R3, SR labels 16001 and 16002 are swapped to LDP labels 381 and 3, respectively, and forwarded via ge100–0/0/15 into the LDP domain.</p><h3>Conclusion</h3><p>Migrating from MPLS LDP to SR-MPLS is a strategic shift towards a simpler, more agile, and future-proof network. This migration is usually done gradually while running LDP and SR simultaneously to ensure operational flexibility and service continuity. Whether in brownfield environments or greenfield SR deployments, understanding label stitching, SID allocation, and control-plane behaviour is key to a successful migration. As networks evolve to meet growing demands, segment routing offers a scalable, programmable foundation for modern IP/MPLS transport.</p><p><em>Disclamer: This post provides a basic understanding of how to migrate from MPLS LDP to SR-MPLS with DriveNets DNOS. The above configurations/verifications are demonstrated with DNOS SW version 19.3 release.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2fa1fcc509ea" width="1" height="1" alt=""><hr><p><a href="https://medium.com/dn-techbites/migrating-mpls-from-ldp-to-segment-routing-2fa1fcc509ea">Migrating MPLS from LDP to Segment Routing</a> was originally published in <a href="https://medium.com/dn-techbites">DriveNets TechBites</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Enabling Seamless Layer 2 EVPN Across MPLS and VXLAN Domains with DNOS]]></title>
            <link>https://medium.com/dn-techbites/enabling-end-to-end-layer-2-connectivity-across-mpls-vxlan-b716d8e4d68c?source=rss----64f582cf8e37---4</link>
            <guid isPermaLink="false">https://medium.com/p/b716d8e4d68c</guid>
            <dc:creator><![CDATA[Pankaj Kumar]]></dc:creator>
            <pubDate>Sun, 18 May 2025 13:48:12 GMT</pubDate>
            <atom:updated>2025-07-15T12:16:06.648Z</atom:updated>
            <content:encoded><![CDATA[<p>Data centers are growing fast to handle rising data traffic. Inside these data centers, EVPN runs over VXLAN to provide flexible network services. However, in some cases, it’s necessary to extend Layer 2 connectivity from service provider (SP) networks to data center endpoints. This helps maintain consistent network operations and supports smooth application performance across different environments.</p><p>SP networks use EVPN MPLS (Multiprotocol Label Switching) for Layer 2 services, while data centers rely on EVPN with VXLAN. Although both leverage EVPN, they operate over different underlying infrastructures. To enable seamless Layer 2 connectivity between these two different domains, a convergence point — referred to as an interconnect node — is required. This interconnect node will facilitate the stitching of two different types of underlay mechanisms — MPLS and VXLAN — into a unified end-to-end Layer 2 service.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xt1_0ngCxJw9nfknuNesyA.png" /></figure><p>DriveNets Network Operating System (DNOS) provides the flexibility to seamlessly stitch EVPN MPLS and EVPN VXLAN together, addressing the challenges of integrating these two technologies.</p><p>In the following sections, we explore how DNOS’s capabilities meet this critical requirement.</p><h3><strong>EVPN MPLS and EVPN VXLAN Stitching with DNOS</strong></h3><p>DNOS 19.3 Release enables end-to-end EVPN deployment across MPLS and VXLAN domains via stitching. While this blog post showcases end points at the MPLS and VXLAN domain end points, it is important to note that end points (i.e. attachment circuits (ACs)) can also reside on the boundary nodes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tAukj9TZB0LNvXwLBese0w.png" /></figure><h3><strong>Solution Walkthrough: Configuration and Verification</strong></h3><h4><strong>Prerequisite</strong></h4><p>Ensure that SR-MPLS is operational on both R2 and R3. R3 serves as both route reflector and the stitching point between MPLS and VXLAN domains. Each domain (MPLS and VXLAN) requires basic IP reachability via an IGP (ISIS or OSPF), with no IGP prefix distribution — namely this is a disjoint IGP setup. This blog post covers EVPN-related configurations necessary for this solution.</p><h3><strong>Configuration Walkthrough</strong></h3><h4><strong>R2: EVPN configuration</strong> <strong>status</strong></h4><pre>R2(cfg)# show config network-services evpn instance evpn-lan-1<br>network-services.<br>  evpn<br>    instance evpn-lan-1 <br>      protocols<br>        bgp 65100<br>          export-l2vpn-evpn route-target 100:100 <br>          import-l2vpn-evpn route-target 100:100 <br>          route-distinguisher 100:100<br><br>      interface ge400-1/0/6.100</pre><p>Note that the “Transport protocol” is MPLS<em>.</em></p><pre>R2(cfg)# show evpn instance evpn-lan-1 detail<br><br>EVPN: evpn-lan-1<br>  EVI ID                   : 1<br>  Route Distinguisher     : 100:100<br>  Transport protocol      : mpls     &lt;Underlay Transport&gt;<br>  Fat label               : disabled<br>  Control word            : enabled<br>  MAC learning            : enabled<br>  Allocated unicast label : 323<br>  Allocated IM label      : 1032384<br>  E-Tree Configuration    : Root</pre><h4><strong>R3: EVPN MPLS-VXLAN configuration status</strong></h4><pre>R3(cfg)# show config network-services<br><br>network-services.<br>  evpn<br>    instance evpn-mpls-vxlan<br>      protocols<br>        bgp 65100<br>          export-l2vpn-evpn route-target 100:100     &lt;Same route target toward MPLS side end point/&gt;<br>          import-l2vpn-evpn route-target 100:100<br>          route-distinguisher 3:100<br><br>      counters<br>        service-counters enabled<br><br>      Interconnect  // EVPN VXLAN Domain Config<br>        protocols<br>          bgp 65100<br>            export-l2vpn-evpn route-target 101:101   &lt;same route target toward VXLAN side end point/&gt;<br>            import-l2vpn-evpn route-target 101:101<br>            route-distinguisher 3:101<br>          <br>        transport-protocol<br>          vxlan         &lt;VXLAN as underlay transport (by default MPLS)/&gt;                 <br>            vni 12341<br>            vtep-source-if lo0</pre><h4><strong>R4: EVPN VXLAN configuration</strong></h4><pre>R4(cfg)# show config network-services<br><br>network-services.<br>  evpn<br>    instance evpn-lan-1<br>      protocols<br>        bgp 65100<br>          export-l2vpn-evpn route-target 101:101<br>          import-l2vpn-evpn route-target 101:101<br>          route-distinguisher 4:101<br><br>      transport-protocol<br>        vxlan<br>          vni 12341   &lt;VNI&gt;<br>          vtep-source-if lo0<br><br>      interface ge100-0/0/0/1.100</pre><h3><strong>Verification Steps — End-to-End Connectivity via Ping</strong></h3><p>Ensure that connectivity is established across the MPLS and VXLAN domains.</p><h4><strong>Checking Interface Configuration on R1:</strong></h4><p>Pinging across MPLS and VXLAN, 121.11.11.2 is the R6 IP address.</p><pre>R1(cfg)# show config interfaces ge400-0/0/6.100<br><br>interfaces<br>  ge400-0/0/6.100<br>    admin-state enabled<br>    ipv4-address 121.11.11.2/24.<br>    vlan-id 100<br><br>R1(cfg)# run ping 121.11.11.1 count 10 interval 0.1<br><br>PING 121.11.11.1 (121.11.11.1) from 121.11.11.2 : 56(84) bytes of data.<br>64 bytes from 121.11.11.1: icmp_seq=1 ttl=64 time=1.85 ms<br>...<br>64 bytes from 121.11.11.1: icmp_seq=10 ttl=64 time=1.49 ms<br><br>--- 121.11.11.1 ping statistics ---<br>10 packets transmitted, 10 received, 0% packet loss, time 908ms<br>rtt min/avg/max/mdev = 1.489/1.876/2.418/0.267 ms</pre><h3><strong>EVPN Routes and MAC Table Verifications</strong></h3><h4><strong>R2: MPLS domain (no VXLAN) and its labels</strong></h4><pre>R2(cfg)# show bgp instance evpn evpn-lan-1<br><br>BGP L2vpn EVI, local router ID is 2.2.2.2<br>Status codes: s - suppressed, d - damped, h - history, * - valid, &gt; - best, = - multipath, a - alternate-path,<br>              i - internal, r - RIB-failure, S - Stale, SL - LLGR Stale, R - Removed, L - over-limit, x - best-external<br>Origin codes: i - IGP, e - EGP, ? - incomplete<br>Next hop codes: v - Via another VRF<br>RPKI validation codes: V - valid, I - invalid, N - not-found, U - unverified<br><br>U*&gt;i  type:2, eth-tag:0, mac-address= e8:c5:7a:8e:3c:59 (MAC)<br>         00:00:11, localpref:100 i, from: 3.3.3.3<br>U*&gt;i  type:2, eth-tag:0, mac-address= e8:c5:7a:b5:4f:30 (MAC)<br>         00:05:03,  i, from: Local<br>U*&gt;i  type:3, eth-tag:0, ipv4:2.2.2.2 (IM)<br>         00:03:51,  i, from: Local<br>U*&gt;i  type:3, eth-tag:0, ipv4:3.3.3.3 (IM)<br>         01:10:47, localpref:100 i, from: 3.3.3.3</pre><p>Verify R2 EVPN MAC table.</p><pre>R2(cfg)# show evpn mac-table<br><br>Codes: L - Local route, B - BGP route, P - Suppressed, F - E-Tree-Leaf,<br>       I - Suppressed Indefinitely, s - Sticky, si - Sticky Interface,<br>       M - Only MAC-IP received, &gt; - Selected route, S - Stale route,<br>       ri - router-interface<br><br>EVPN: evpn-lan-1<br>  EVI ID : 1<br><br>  ETH TAG: 0<br>  Flags | MAC address        | ESI | Nexthop         | Label | Resolution<br>  -------------------------------------------------------------------------<br>  B&gt;    | e8:c5:7a:8e:3c:59  |     | 3.3.3.3         | 273   |<br>  L&gt;    | e8:c5:7a:b</pre><h3><strong>R3: Verification on the interconnecting node</strong></h3><p>The first output shows the MPLS-VXLAN EVPN instance, where 2.2.2.2 represents the MPLS domain and 4.4.4.4 represents the VXLAN side. At the bottom, we see that MACs are learned via standard BGP over MPLS from 2.2.2.2, and via BGP over VXLAN from 4.4.4.4.</p><pre>R3(cfg)# show bgp instance evpn evpn-mpls-vxlan<br><br>BGP L2vpn EVI, local router ID is 3.3.3.3<br>Status codes: s - suppressed, d - damped, h - history, * - valid, &gt; - best, = - multipath, a - alternate-path,<br>              i - internal, r - RIB-failure, S - Stale, SL - LLGR Stale, R - Removed, L - over-limit, x - best-external<br>Origin codes: i - IGP, e - EGP, ? - incomplete<br>Next hop codes: v - Via another VRF<br>RPKI validation codes: V - valid, I - invalid, N - not-found, U - unverified<br><br>MPLS domain:  &lt;EVPN MPLS Domain Routes/&gt;<br>*&gt;U  type:2, eth-tag:0, mac-address=e8:c5:7a:8e:3c:59 (MAC)<br>         00:10:43, i, from: Local<br>*&gt;U  type:2, eth-tag:0, mac-address=e8:c5:7a:b5:4f:30 (MAC)<br>         00:21:14, localpref:100 i, from: 2.2.2.2<br>*&gt;U  type:3, eth-tag:0, ipv4:2.2.2.2 (IM)<br>         06:23:05, localpref:100 i, from: 2.2.2.2<br>*&gt;U  type:3, eth-tag:0, ipv4:3.*<br><br>Interconnect - VXLAN domain:  &lt;EVPN VXLAN Domain Routes/&gt;<br><br>U*&gt;i  type:=2,eth-tag:=0,mac-address:=e8:c5:7a:8e:3c:59 (MAC)<br>         00:10:43, localpref:100 i, from: 4.4.4.4<br>U*&gt;   type:=2,eth-tag:=0,mac-address:=e8:c5:7a:b5:4f:30 (MAC)<br>         00:21:14,     i, from: Local<br>U*&gt;   type:=3,eth-tag:=0,ipv4:=3.3.3.3 (IM)<br>         01:27:00,     i, from: Local<br>U*&gt;i  type:=3,eth-tag:=0,ipv4:=4.4.4.4 (IM)<br>         01:25:35, localpref:100 i, from: 4.4.4.4<br><br>Displayed  8 out of 8 total prefixes<br><br>R3(cfg)# show evpn instance evpn-mpls-vxlan mac-table<br><br>Codes: L - Local route, B - BGP route, P - Suppressed, F - E-Tree-Leaf, V - VXLAN<br>       I - Suppressed Indefinitely, s - Sticky, si - Sticky Interface,<br>       M - Only MAC-IP received, &gt; - Selected route, S - Stale route,<br>       ri - router-interface<br><br>EVPN: evpn-mpls-vxlan<br>  EVI ID : 2<br><br>  ETH TAG: 0<br>    Flags     | MAC address          | ESI        | Nexthop                | Label/VNI   | Resolution<br>    -----------------------------------------------------------------------------------------------------<br>    BV&gt;       | e8:c5:7a:8e:3c:59    |            | 4.4.4.4                | 12341       | Single-homed<br>    B&gt;        | e8:c5:7a:b5:4f:30    |            | 2.2.2.2                | 323         | Single-homed<br><br></pre><h3><strong>R4: VXLAN domain (no MPLS)</strong></h3><p>Check BGP EVPN routes.</p><pre>R4(cfg)# show bgp instance evpn evpn-lan-1<br><br>BGP L2vpn EVI, local router ID is 4.4.4.4<br>Status codes: s - suppressed, d - damped, h - history, * - valid, &gt; - best, = - multipath, a - alternate-path,<br>              i - internal, r - RIB-failure, S - Stale, SL - LLGR Stale, R - Removed, L - over-limit, x - best-external<br>Origin codes: i - IGP, e - EGP, ? - incomplete<br>Next hop codes: v - Via another VRF<br>RPKI validation codes: V - valid, I - invalid, N - not-found, U - unverified<br><br>VXLAN domain:<br>*&gt;U  type:2, eth-tag:0, mac-address=e8:c5:7a:8e:3c:59 (MAC)<br>         00:00:10, i, from: Local<br>U*&gt;i  type:2, eth-tag:0, mac-address=e8:c5:7a:b5:4f:30 (MAC)<br>         00:10:39, localpref:100 i, from: 3.3.3.3<br>U*&gt;i  type:3, eth-tag:0, ipv4:3.3.3.3 (IM)<br>         01:16:25, localpref:100 i, from: 3.3.3.3<br>U*&gt;  type:3, eth-tag:0, ipv:=4.4.4.4 (IM)<br>         06:14:18,     i, from: Local<br><br>Displayed  4 out of 4 total prefixes<br><br>R4(cfg)# show evpn instance evpn-lan-1 mac-table<br>Codes: L - Local route, B - BGP route, P - Suppressed, F - E-Tree-Leaf, V - VXLAN<br>       I - Suppressed Indefinitely, s - Sticky, si - Sticky Interface,<br>       M - Only MAC-IP received, &gt; - Selected route, S - Stale route,<br>       ri - router-interface<br><br>EVPN: evpn-lan-1<br>  EVI ID : 1<br><br>  ETH TAG: 0<br>    Flags     | MAC address          | ESI                           | Nexthop                | Label/VNI   | Resolution<br>    ----------------------------------------------------------------------------------------------------------------------------<br>    L&gt;        | e8:c5:7a:8e:3c:59    |                               | ge100-0/0/1.100        |             |<br>    BV&gt;       | e8:c5:7a:b5:4f:30    |                               | 3.3.3.3                            | 12341       | Single-homed<br><br></pre><pre>R4(cfg)# show vxlan vtep destination 3.3.3.3 vni 12341<br><br>Vxlan vtep identifier: 300000<br><br>  Source:     4.4.4.4<br>  Destination: 3.3.3.3<br>  VNI:        12341<br>  Origin:     evpn evpn-lan-1<br>  Uptime:     0 days, 1:21:21<br><br>  Traffic counters: Enabled.  &lt;Traffic Counters/&gt;<br>    RX Octets   : 1778880<br>    RX Packets  : 11118<br>    RX Rate     : 0.12 Mbps<br>    TX Octets   : 1766880<br>    TX Packets  : 11043<br>    TX Rate     : 0.12 Mbps</pre><p>After enabling the counters configuration, we can verify traffic forwarding across the VXLAN fabric.</p><h3><strong>Final Thoughts</strong></h3><p>As data centers and service provider networks evolve to support more distributed, scalable architectures, the need for seamless Layer 2 connectivity across different network environments becomes increasingly critical. With EVPN MPLS dominating service provider networks and EVPN VXLAN powering data center fabrics, interconnecting these technologies is essential for unified service delivery.</p><p>DriveNets Network Operating System (DNOS) simplifies this challenge by enabling efficient EVPN MPLS-to-VXLAN stitching through a flexible, scalable interconnect node. As demonstrated in this blog post, DNOS offers robust capabilities to support end-to-end Layer 2 EVPN service across disjoint domains, thereby ensuring operational continuity, simplified network design, and seamless service deployment.</p><p><em>Disclaimer: This article demonstrates EVPN Layer 2 extension across MPLS and VXLAN. Examples shown are based on DNOS version 19.3.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b716d8e4d68c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/dn-techbites/enabling-end-to-end-layer-2-connectivity-across-mpls-vxlan-b716d8e4d68c">Enabling Seamless Layer 2 EVPN Across MPLS and VXLAN Domains with DNOS</a> was originally published in <a href="https://medium.com/dn-techbites">DriveNets TechBites</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[EVPN for Scalable and Flexible Layer 2 IP/MPLS Services with DNOS]]></title>
            <link>https://medium.com/dn-techbites/evpn-for-scalable-and-flexible-layer-2-ip-mpls-services-35adf25ac63c?source=rss----64f582cf8e37---4</link>
            <guid isPermaLink="false">https://medium.com/p/35adf25ac63c</guid>
            <dc:creator><![CDATA[Pankaj Kumar]]></dc:creator>
            <pubDate>Wed, 14 May 2025 15:21:50 GMT</pubDate>
            <atom:updated>2025-07-16T11:34:34.088Z</atom:updated>
            <content:encoded><![CDATA[<p>Layer 2 IP/MPLS services, traditional approaches often rely on L2VPN or VPLS over an MPLS infrastructure, utilizing MAC learning and forwarding mechanisms. However, with advancements in technology, EVPN (Ethernet Virtual Private networks) has emerged as the preferred solution for Layer 2 services. EVPN offers several advantages, including the decoupling of data forwarding and MAC learning through the use of MP-BGP, enabling more efficient and scalable network operations. It allows CEs (Customer Edge routers) to be multihomed to several PEs (Provider Edge routers).</p><p>EVPN adapts the foundational principles of Layer 3 VPN services by utilizing MP-BGP as the control plane to advertise MAC addresses, similar to how IP prefixes are advertised in Layer 3 VPNs. The underlying transport for EVPN can be VXLAN or MPLS (using RSVP, LDP, or SR), as well as SRv6, offering flexibility in deployment. EVPN supports various topologies, including point-to-point (P2P), point-to-multipoint (P2MP), and multipoint-to-multipoint (MP2MP). Its flexibility in terms of underlying transport enables deployment in service provider networks with MPLS as the underlay or in data centers with VXLAN as the underlay, making it a sustainable solution for modern network services.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Lm7VShtzq7Pplqls3Uzlew.png" /></figure><p>Key Highlights of EVPN:</p><ul><li>Efficient use of bandwidth and reduced flooding.</li><li>Scalable service orchestration can be used to deploy large scale virtual networks.</li><li>One service across Service provider and data center.</li><li>EVPN can work with various types of underlay transport like MPLS/VXLAN/SRv6.</li><li>EVPN can meet different type of service requirements like Eline/E-tree/Elan/Layer 3 IP/Multicast</li><li>Provides a solution for multihomed CEs — whether in an all-active (MC-LAG) or single-active (active-standby) arrangement.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jpMK4Gca09kNCkegYdLunQ.png" /></figure><p>EVPN VPWS (Virtual Private Wire Service) with DriveNets Network Operating System (DNOS)</p><p>In this section, we will explore EVPN-VPWS and EVPN-VPWS FXC (flexible cross connect) using DriveNets Network operating system.</p><h4>Configuration and Verification</h4><p>This is simple way to transport the Layer 2 Ethernet over the IP/MPLS infrastructure, we will explore it with SR-MPLS as the underlay transport technology. Here is the topology used to demonstrate the EVPN VPWS.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/943/1*TieWYmqdsOLkxdtrsf0s1g.png" /></figure><p>With EVPN VPWS you can transport the Ethernet Layer 2 customer traffic over the MPLS core infrastructure.Before going with the EVPN-VPWS configs and verification checks we have few prerequisites:</p><ul><li>IGP should be up, in this blog we are using ISIS.</li><li>SR-MPLS should be up in the core network.</li><li>BGP Should be up between PE1 and PE2 i.e PE1 should be able to send the MP-BGP routes toward PE2 and vice versa.</li></ul><h3>Prerequisites configuration and verification steps using DNOS</h3><p>1. IS-IS configuration:</p><pre>R1(cfg)# show config protocols isis<br>protocols<br>  isis<br>    instance ISIS<br>      iso-net 49.0001.0001.0001.00<br>      level LEVEL-2<br>      address-family IPV4-UNICAST<br>        segment-routing<br>          admin-state ENABLE<br>      !<br>    interface lo0<br>      address-family IPV4-UNICAST<br>        prefix-sid INDEX 1<br>      !<br>    interface ge1/0/0/11<br>      address-family IPV4-UNICAST<br>      !</pre><p>2. Verify SR-MPLS and BGP:</p><pre>Segment Routing:-<br>R1(cfg)# show config routing-segment-routing mpls<br>routing-options<br>  segment-routing mpls<br>    global-block 16000 20000<br>    local-block 1800 2800<br>  !<br>!<br>BGP:-<br>R1(cfg)# show config protocols bgp 65100<br>protocols<br>  bgp 65100<br>    neighbor 2.2.2.2<br>      remote-as 65100<br>      update-source lo0<br>      address-family L2VPN-EVPN<br>        route-reflector-client<br>        send-community community-type both<br>    !<br>  !<br>!</pre><p>3. Verify IGP/SR/BGP status:</p><pre>R1(cfg)# show isis neighbors<br>Instance isis:<br>  System Id   Interface        Level  State  Last State Change  Holdtime  SNPA<br>  ------------------------------------------------------------------------------<br>  R2          ge100-0/0/11     L2     Up     2w4d22h3m24s        21        point-to-point<br>R1(cfg)# show isis route table mpls-sr<br>Instance isis<br>ipv4 segment-routing mpls table:<br>  Level - 2<br>  Destination  Prefix         algorithm  cost  tag     priority  nh-address  interface       interface-weight  egress-label  Nexthop-srgb-base<br>  -----------------------------------------------------------------------------------------------------------------------------------------<br>  Z66          2.2.2.2/32     spf        10    Untagged  Low     12.12.12.2  ge100-0/0/11     N/A               3             16000<br>  16002        2.2.2.2/32     spf        10    Untagged  Medium  12.12.12.2  ge100-0/0/11     N/A               16003          16000<br>  16003        3.3.3.3/32     spf        20    Untagged  Medium  12.12.12.2  ge100-0/0/11     N/A               16003          16000<br>R1(cfg)# show bgp summary<br>L2vpn EVPN<br>-----------<br>  BGP router identifier 1.1.1.1, local AS number 65100<br>  BGP table node count 15<br>  Neighbor   V  AS  MsgRcvd  MsgSent  InQ  OutQ  AdjUp  Up/Down   State/PfxAccepted<br>  ------------------------------------------------------------------------------<br>  2.2.2.2    4  65100  27276    27340    0    0     5     08:02:00  5</pre><p>The essential network setup for EVPN-VPWS service is now ready. EVPN-VPWS can handle traffic two ways: Port Mode (both tagged and untagged) and VLAN Mode (tagged only). This blog post focuses on VLAN-based services. Let’s walk through the configuration and verification.</p><p>4. EVPN-VPWS Configuration &amp; verification:</p><pre>R1(cfg)# show config network-services evpn-vpws | flatten<br>network-services evpn-vpws counters service-counters disabled<br>network-services evpn-vpws instance evpn-vpws-1 protocols bgp 65100 export-l2vpn-evpn route-target 2:2<br>network-services evpn-vpws instance evpn-vpws-1 protocols bgp 65100 import-l2vpn-evpn route-target 2:2<br>network-services evpn-vpws instance evpn-vpws-1 protocols bgp 65100 route-distinguisher 1:2<br>network-services evpn-vpws instance evpn-vpws-1 vpws-service-id local 111 remote 222<br>network-services evpn-vpws instance evpn-vpws-1 counters service-counters enabled<br>network-services evpn-vpws instance evpn-vpws-1 interface ge100-0/0/0/15.3540<br>network-services evpn-vpws instance evpn-vpws-2 protocols bgp 65100 export-l2vpn-evpn route-target 20:20<br>network-services evpn-vpws instance evpn-vpws-2 protocols bgp 65100 import-l2vpn-evpn route-target 20:20<br>network-services evpn-vpws instance evpn-vpws-2 protocols bgp 65100 route-distinguisher 1:20<br>network-services evpn-vpws instance evpn-vpws-2 vpws-service-id local 11 remote 22<br>network-services evpn-vpws instance evpn-vpws-2 counters service-counters enabled<br>network-services evpn-vpws instance evpn-vpws-2 interface ge100-0/0/0/15.3543<br>interfaces ge100-0/0/0/15.3540 admin-state enabled<br>interfaces ge100-0/0/0/15.3540 l2-service enabled<br>interfaces ge100-0/0/0/15.3540 vlan-id 3540<br>interfaces ge100-0/0/0/15.3543 admin-state enabled<br>interfaces ge100-0/0/0/15.3543 l2-service enabled<br>interfaces ge100-0/0/0/15.3543 vlan-id 3543<br>R1(cfg)# show evpn-vpws<br>Flags codes: P - primary, B - backup, ND - non-DF,<br>             F - FAT-label, C - control-word, I - installed,<br>             A - all-active, S - single-active, s - stale<br><br>Instance name    | State | Time in state    | Local AC        | AC state          | Actual local homing type | Neighbors<br>-----------------+-------+------------------+-----------------+-------------------+--------------------------+---------------<br>evpn-vpws-1      | up    | 0 days, 0:09:13  | ge100-0/0/0/15.3540 | up / forwarding-all | single-homed             | 3.3.3.3(C/I)<br>evpn-vpws-2      | up    | 0 days, 0:01:26  | ge100-0/0/0/15.3543 | up / forwarding-all | single-homed             | 3.3.3.3(C/I)</pre><pre>R1(cfg)# show route table mpls-nh<br>Codes: K - kernel route, C - connected, S - static, r - RIP,<br>       O - OSPF, I - IS-IS, B - BGP, p - PIM, A - Babel, D - BFD,<br>       L - LDP, R - RSVP, M - OAM, I-SR - IS-IS Segment-Routing,<br>       O-SR - OSPF Segment-Routing, S-TE - Segment-Routing TE,<br>       EV - EVI, IKE - IKE, X - Access route,<br>       &gt; - selected route, * - FIB route, (S) - stale route<br>       o - own little route, l - partial MPLS shortcut, m - Multicast<br><br>      1 - IS-IS level-1, 2 - IS-IS level-2, su - summary route<br>      A1 - OSPF inter-area, E1 - OSPF external type 1, E2 - OSPF external type 2<br>      N1 - OSPF NSSA type 1, N2 - OSPF NSSA type 2<br><br>I-SR*&gt;  2.2.2.2/32 [107/10] via 12.12.12.2, ge100-0/0/11 label 3, 01w5d07h<br>I-SR*&gt;  3.3.3.3/32 [107/20] via 12.12.12.2, ge100-0/0/11 label 16003, 01w5d07h<br><br>R1(cfg)# show evpn-vpws detail<br>EVPN-VPWS: evpn-vpws-1<br>  EVI ID                 : 1<br>  Remote Transport       : mpls<br>  Route Distinguisher    : 1:12<br>  Admin state            : enabled<br>  Local AC Interface     : ge100-0/0/15.3540 (up / forwarding-all), Uptime: 4 days, 10:04:27<br>  Configured Homing Type : single-homed<br>  Role                   : not-received<br>  Local-ESI              : 00:00:00:00:00:00:00:00:00:00<br>  Local VPWS Service Id  : 111<br>  Remote-ESI             : 00:00:00:00:00:00:00:00:00:00<br>  Remote VPWS Service Id : 222<br>  State                  : up<br>  Uptime                 : 0 days, 0:14:39<br>  L2 MTU                 : 0<br>  MPLS Label             : 268<br>  Control Word           : enabled<br>  FAT Label              : disabled<br>  Propagate Failures     : disabled<br>  Flags codes: P - primary, B - backup, ND - non-DF,<br>               F - FAT-label, C - control-word, I - installed,<br>               A - all-active, s - single-active, S - stale<br><br>  ESI: 00:00:00:00:00:00:00:00:00:00 (Selected remote ESI)<br>  Actual Homing Type : single-homed<br>  Number of neighbors: 1<br>  +-------------+------------------+--------+--------+--------+--------+-----------------+<br>  | IP Address  | VPWS Service-Id  | Label  | L2 MTU | Flags  | Failed reason         |<br>  +-------------+------------------+--------+--------+--------+------------------------+<br>  | 3.3.3.3     | 222              | 262    | 0      | C/I    |                        |<br>  +-------------+------------------+--------+--------+--------+------------------------+<br><br>VPWS Counters<br>  RX Octets   : 71755388565572<br>  RX Packets  : 70641917712<br>  RX Rate     : 1668.96 Mbps<br>  TX Octets   : 72227491475810<br>  TX Packets  : 70622342433<br>  TX Rate     : 1676.34 Mbps</pre><h3>EVPN-VPWS-FXC: A More Scalable Approach</h3><p>If multiple Layer 2 endpoints exist on one PE router, instead of configuring multiple VPWS services, we can consolidate these endpoints into a single MPLS tunnel (MPLS label) with EVPN-VPWS-FXC. This VLAN-aware mode enables endpoint discovery via L2VPN labels and VLAN-IDs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/952/1*iKxKKAHW2UI2gkYxFygSOw.png" /></figure><p>The baseline requirements for EVPN-VPWS-FXC are identical to EVPN-VPWS, including IGP, SR, and MP-BGP. As we’ve already covered these, let’s proceed directly to the configuration and verification of this service.</p><h3>EVPN-VPWS FXC Config and Verification</h3><pre>R1(cfg)# show config network-services evpn-vpws-fxc | flatten<br><br>network-services evpn-vpws-fxc instance evpn-vpws-fxc-1 protocols bgp 65100 export-l2vpn-evpn route-target 3:3<br>network-services evpn-vpws-fxc instance evpn-vpws-fxc-1 protocols bgp 65100 import-l2vpn-evpn route-target 3:3<br>network-services evpn-vpws-fxc instance evpn-vpws-fxc-1 protocols bgp 65100 route-distinguisher 1:100<br>network-services evpn-vpws-fxc instance evpn-vpws-fxc-1 counters service-counters enabled<br>network-services evpn-vpws-fxc instance evpn-vpws-fxc-1 interface ge100-0/0/15.3541<br>network-services evpn-vpws-fxc instance evpn-vpws-fxc-1 interface ge100-0/0/15.3542   &gt;&gt; Can add multiple interfaces<br><br>interfaces ge100-0/0/15.3541 admin-state enabled<br>interfaces ge100-0/0/15.3541 Vlan-id 3541<br>interfaces ge100-0/0/15.3542 admin-state enabled<br>interfaces ge100-0/0/15.3542 Vlan-id 3542            &gt;&gt; Can also add VLAN manipulation like Push/POP/Swap function if required.<br><br>R1(cfg)# show evpn-vpws-fxc<br>Flags codes: P - primary, B - backup, ND - non-DF,<br>             F - FAT-label, C - control-word, I - installed,<br>             A - all-active, S - single-active, s - stale, M1 - Vlan Aware FXC,<br>             M2 - Default FXC, V1 - Single-VID normalization, V2 - double-VID normalization<br>+------------------+--------+--------------+-------------------------+-------------+------------------+-------------------+------------------------+<br>| Instance name    | State  | Time in State| Local Interface         | AC state    | Actual local homing type | Normalized-VID | Neighbors            |<br>+------------------+--------+--------------+-------------------------+-------------+------------------+-------------------+------------------------+<br>| evpn-vpws-fxc-1  | up     | 0 days, 0:13:27 | ge100-0/0/15.3541    | up / N/A    | single-homed      | single-tag: 3541  | 3.3.3.3(C/I/V1/M1)     |<br>| evpn-vpws-fxc-1  | up     | 0 days, 0:13:27 | ge100-0/0/15.3542    | up / N/A    | single-homed      | single-tag: 3542  | 3.3.3.3(C/I/V1/M1)     |<br>+------------------+--------+--------------+-------------------------+-------------+------------------+-------------------+------------------------+<br><br>R1(cfg)# show interfaces counters<br>+-------------------+--------------+----------+----------+-----------+-----------+--------------+--------------+<br>| Interface         | Operational  | RX[Mbps] | TX[Mbps] | RX[pkt/s] | TX[pkt/s] | RX drops[pkt] | TX drops[pkt] |<br>+-------------------+--------------+----------+----------+-----------+-----------+---------------+---------------+<br>| ge100-0/0/11.0    | up           | 0        | 0        | 0         | 0         | 0             | 0             |<br>| ge100-0/0/11.1000 | up           | 0        | 0        | 0         | 0         | 0             | 0             |<br>| ge100-0/0/1.2000  | up           | 0        | 0        | 0         | 0         | 0             | 0             |<br>| ge100-0/0/15.3540 | up           | 1633.7   | 1627.48  | 3458751944224 | 345873731119 | 1564293     | 0             |<br>| ge100-0/0/15.3541 | up           | 1633.7   | 1627.48  | 3458751944221 | 345873732080 | 1564363     | 0             |<br>| ge100-0/0/15.3542 | up           | 1633.7   | 1627.48  | 3458751944223 | 345873732239 | 1563125     | 0             |<br>| ge100-0/0/15.3543 | up           | 0        | 0        | 0         | 0         | 0             | 0             |<br>+-------------------+--------------+----------+----------+-----------+-----------+---------------+---------------+</pre><h3>Conclusion</h3><p>EVPN, with its scalability, efficiency, and flexibility, is an advance alternative to traditional L2VPN and VPLS services. It enables seamless Layer 2 connectivity across service provider and data center environments.</p><ul><li>This blog covered configuration and verification steps for both EVPN VPWS &amp; EVPN VPWS-FXC.</li></ul><p>By leveraging EVPN VPWS and EVPN VPWS-FXC, service providers and enterprises can build a robust, scalable, and efficient Layer 2 transport over IP/MPLS networks. As networks continue to evolve, EVPN’s flexibility and scalability will be increasingly essential for supporting emerging applications and services.</p><p><strong><em>Disclaimer: </em></strong>This article provides a high-level overview of EVPN and VPWS deployment with <strong>DNOS version 19.3</strong>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=35adf25ac63c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/dn-techbites/evpn-for-scalable-and-flexible-layer-2-ip-mpls-services-35adf25ac63c">EVPN for Scalable and Flexible Layer 2 IP/MPLS Services with DNOS</a> was originally published in <a href="https://medium.com/dn-techbites">DriveNets TechBites</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>