Back to Blog
Tutorial••Updated •7 min

Prove an SRv6 Core Design Before You Build It (Cisco, Juniper, Nokia)

One prompt described an SRv6 core: a Cisco XRd PE, a Juniper vJunos PE and two Nokia SR Linux core routers. NetPilot built it on real network operating systems, checked the L3VPN over SRv6 on every router, then cut the primary core link: the VPN moved to the backup path in 0.61 seconds. About half an hour, not weeks.

S
Sarah Chen
Network Engineer
I Tested an SRv6 Core Design Before Building It (Cisco, Juniper, Nokia) · Watch on YouTube

To prove an SRv6 core design before you build it, run the design on the vendors' own network operating systems, check the locators, the VPN routes and their SIDs on every router, then cut a core link with traffic running and read the gap. This post does that from one prompt. NetPilot built a Cisco XRd PE, a Juniper vJunos PE and two Nokia SR Linux core routers, carried a customer VPN over SRv6 between the two sites, and when the primary core link was cut the VPN moved to the backup path in 0.61 seconds.

An SRv6 migration plan usually reaches the design review as a diagram, a vendor matrix and the line "both vendors support SRv6". The review needs more than that line. It needs each vendor's image qualified, the VPN working across vendors, and a link failure with a number on it.

The design

SRv6 core: a Cisco XRd PE and a Juniper vJunos PE, two Nokia SR Linux core routers, a host at each siteSRv6 core: a Cisco XRd PE and a Juniper vJunos PE, two Nokia SR Linux core routers, a host at each site. PC-A: 192.168.1.10. PE1: Cisco XRd, fcbb:bb00:1::/48. C1: Nokia SR Linux, IPv6 transit. C2: Nokia SR Linux, IPv6 transit. PE2: Juniper vJunos, fcbb:bb00:2::/48. PC-B: 192.168.2.10. PC-A connects to PE1. PE1 connects to C1, primary. C1 connects to PE2, primary. PE1 connects to C2, backup. C2 connects to PE2, backup. PE2 connects to PC-B.primaryprimarybackupbackupPC-A192.168.1.10PE1Cisco XRdfcbb:bb00:1::/48C1Nokia SR LinuxIPv6 transitC2Nokia SR LinuxIPv6 transitPE2Juniper vJunosfcbb:bb00:2::/48PC-B192.168.2.10
IS-IS level 2 with the primary links at metric 10 and the backup links at 20. One L3VPN (VRF CUST-A) over SRv6 micro-SIDs between the two PEs.
ItemValue
Cisco PEPE1, Cisco XRd 26.2.1, micro-SID locator fcbb:bb00:1::/48, VPN SID fcbb:bb00:1:e002:: (uDT4)
Juniper PEPE2, Juniper vJunos router 26.2R1.7, micro-SID locator fcbb:bb00:2::/48, VPN SID fcbb:bb00:2:e000::
CoreC1 and C2, Nokia SR Linux 25.10.1, IS-IS IPv6 transit
VPNVRF CUST-A, iBGP VPNv4 between the PE loopbacks over IPv6, AS 65000
SitesPC-A 192.168.1.10 behind PE1, PC-B 192.168.2.10 behind PE2

The prompt gave none of these numbers. The agent chose the addressing, the locators, the metrics and the BGP design.

The prompt

This is the prompt from the recording, typed as written:

Here's our SRv6 core design. Two PE routers, a Cisco XRd and a Juniper vJunos, and two Nokia SR Linux core routers between them, with each PE linked to both core routers. IS-IS underlay, SRv6 micro-SID locators, and one customer L3VPN over SRv6 between the two PEs with a Linux host at each site. Build it, show me on each router's CLI that it works, then fail the primary core link and show me the VPN traffic moves to the backup path.
The design prompt as sent in NetPilot: a Cisco XRd PE and a Juniper vJunos PE, two Nokia SR Linux core routers, IS-IS, SRv6 micro-SID locators, one L3VPN over SRv6, then fail the primary core link

Open the prompt prefilled in NetPilot and swap in your own core.

What each image could do

The first step of any mixed-vendor plan is the qualification a by-hand lab starts with: what does each image really support? The agent read each vendor's device guide, deployed the lab with containerlab and checked on the devices.

The running lab in the NetPilot lab viewer: PC-A, PE1, C1, C2, PE2 and PC-B in a diamond, with C1 marked as the Nokia core router that runs no SRv6
  • Cisco XRd and Juniper vJunos both ran SRv6 micro-SID locators, IS-IS SRv6 and the VPN over SRv6.
  • Nokia SR Linux has no SRv6 on this image, so the two core routers carry it as plain IPv6. That is all an SRv6 transit router has to do: it installs the PE locators as IS-IS routes and forwards the encapsulated packets.
  • Junos refused the first SRv6 commit, because micro-sid cannot sit next to block-length on a locator. The agent removed that line, ran commit check again and applied it.

The VPN, checked on every router

These were typed by hand afterwards in the lab viewer's terminals. On the Cisco PE, the SRv6 SIDs, including the one that belongs to the customer VPN:

Cisco XRd PE1 terminal: show segment-routing srv6 sid lists uN fcbb:bb00:1::, uA fcbb:bb00:1:e000:: and uDT4 fcbb:bb00:1:e002:: for VRF CUST-A, the uDT4 line marked

On the Juniper PE, site A's route arrives carrying that Cisco SID:

Juniper vJunos PE2 terminal: show route table CUST-A.inet.0 with 192.168.1.0/24 from 2001:db8:ffff::1 via an SRv6 tunnel, SRv6 SID fcbb:bb00:1:e002:: marked

On the Nokia core, the Cisco locator is an ordinary IS-IS route, and the image lists no SRv6 feature:

Nokia SR Linux C2 terminal: the IPv6 route table entry for fcbb:bb00:1::/48 owned by isis_mgr, marked as a plain IPv6 route Nokia SR Linux C2 terminal: info from state system features piped to grep -c -i srv6 prints 0, marked

And the host at site A reached site B, 5 of 5. Its traceroute shows three hops: the core is hidden inside SRv6.

Then the test a design review asks for. With a ping running five times a second between the sites, the agent shut the primary link from the Cisco PE to C1, on both ends (an XRd admin shut does not drop the far side's carrier).

The VPN moved to the backup path through C2 in 0.61 seconds, with 2 of 167 pings lost, and it kept the same SRv6 SIDs:

NetPilot's result card: VPN ping before the drill 10/10 each way, failover gap 0.61 s, 2 of 167 probes lost, traffic moved to C2 after the PE1 to C1 cut with the same SRv6 SIDs Cisco XRd PE1 terminal after the cut: show route ipv6 fcbb:bb00:2::/48 via GigabitEthernet0/0/0/1, the link to C2, marked as the backup path

In a second, off-camera step the agent redeployed the lab from its saved startup files with no hand fixes: every check passed again and the primary path came back on C1. Those are the files in the public lab.

What it would take by hand

The same proof by hand starts with qualifying an image for each vendor and finding a host to run them, then the cabling, three configuration languages, the SRv6 and VPN settings each vendor needs to talk to the other, a failure test and a stopwatch. That is weeks of an engineer's time, or a consultant's statement of work, for one design. Here it was one prompt and about half an hour, and the evidence is each router's own output.

What a lab does not prove

Virtual routers prove that the design works: the control plane, the SIDs, the VPN routes and the functional forwarding on each vendor's software. They do not prove throughput, table scale or the convergence time on your hardware. Those stay with the vendor's hardware test, and the lab tells you which design to send there.

Run your own core

Copy-paste ready: the prompt is in the lab library as the SRv6 core design check, with variations to try next, and the topology and startup files from this run are the public lab. Nokia SR Linux is built in. The Cisco XRd and Juniper vJunos nodes run your own images, uploaded once to your lab VM, as the supported devices page describes.

For how SRv6 compares with SR-MPLS on one vendor, see the segment routing lab, and for the MPLS version of a two-vendor VPN, the MPLS L3VPN lab. For provider teams, network labs for ISPs covers the wider set of designs, and network change and design validation covers the same workflow for your own topology.

FAQ

Can Cisco IOS XR and Juniper interoperate for an SRv6 L3VPN?

Yes. In the run on this page a Cisco XRd PE and a Juniper vJunos PE carried one customer VRF over SRv6 micro-SIDs, each PE learning the other's VPN route with its SRv6 service SID, and the hosts at the two sites answered 10 of 10 pings each way. The Juniper side carried extended-nexthop, rfc8950-compliant, preserve-nexthop-hierarchy and srv6-chain-merge for the VPNv4 routes over the IPv6 session.

Does Nokia SR Linux support SRv6 in containerlab?

Not on the SR Linux 25.10.1 image used here: it lists no SRv6 feature, and the segment routing configuration has no SRv6 path. It still works as an SRv6 transit router, because transit only needs IPv6 routing. The two SR Linux core routers installed the PE locators as plain IS-IS routes and forwarded the encapsulated traffic.

How do I test an MPLS to SRv6 migration design without hardware?

Build the target design on the vendors' own network operating systems in a lab, check the locators, the VPN routes and their SIDs on each router, then fail links with traffic running and read the gap. In the run on this page NetPilot built the core from one prompt and measured a 0.61 second outage when the primary core link was cut.

What does a virtual SRv6 lab not prove?

Throughput, scale and hardware failover timing. Virtual routers prove that the design works: the control plane, the SIDs, the VPN routes and the functional forwarding on each vendor's software. Line rate, table scale and the convergence time on your platform's hardware still belong to the vendor's hardware test.

What network lab do you want to build?

NetPilot takes you from one prompt to a runnable network lab with CLI access.

Running this for a team? See NetPilot for teams