BGP L3VPN over IS-IS SR-MPLS lab pack
A ready containerlab lab for the free OcNOS-SP VM: three OcNOS routers and two customer sites, with the configs, a guide and a check script.
Three OcNOS routers and two customer sites. PE1 and PE2 share the VRF CUST over BGP; P1 only switches labels.
Tested with the OcNOS-SP VM 7.0.0: BGP L3VPN over IS-IS SR-MPLS between two PE routers and a P router.
The OcNOS-SP VM is a lab image for learning the CLI and control-plane configuration. Its data plane is limited, and it does not show hardware features, scale or performance.
See the OcNOS Feature Matrix for production feature support by platform and edition.
What you build
- IS-IS level 2 in the core, with a prefix SID on each loopback: the labels are 16001, 16002 and 16003.
- A BGP L3VPN between PE1 and PE2, with one customer site behind each.
- A P router with no customer routes, so the two sites reach each other only over labelled paths.
What is in the pack
- A containerlab topology,
sr-mpls.clab.yml, with three OcNOS nodes and two Linux hosts. - The OcNOS configuration for each router.
- A check script,
verify.sh, that pings between the two sites. - A README with the steps, the commands to look at and the expected results.
What you need
- A Linux host with KVM, Docker and containerlab.
- About 16 GB of free memory. Each OcNOS node uses 2 vCPUs and 4 GB of RAM.
- The free OcNOS-SP VM image for KVM. The VM includes a 365-day license and is licensed for non-production evaluation only.
How it works
- Build the OcNOS container image from the VM image with vrnetlab.
- Start the lab with
containerlab deploy -t sr-mpls.clab.yml. - Paste each router's config and commit.
- Run
verify.shand look at the label tables on each router.
Lab pack: common questions
Can I test every OcNOS feature on the free VM?
What exactly was tested?
What do I need to run the lab?
Need a guided demo?
Book a technical walkthrough with an OcNOS network architect. Bring your topology and we'll run it live.