• Skip to main content
  • Skip to header right navigation
  • Skip to site footer

Roger Perkin

Network Automation Architect

  • Network Automation
    • Network Automation Courses
    • What is NetDevOps?
    • Workflow Orchestration
    • Ansible Automation Platform
    • Ansible Workshop
    • What is Network Automation?
    • Network Automation Tools
    • ContainerLab
    • Ansible Training
      • What is Ansible?
      • Ansible Tutorial for Beginners
      • Ansible Network Automation
      • Ansible Inventory Example
    • Python Network Automation
      • Nornir
      • Python Network Automation Course
      • Python for Network Engineers
      • Python VENV / Virtual Environment Tutorial
      • Python Tutorial for Beginners
      • pyATS
    • Network Source of Truth
      • NetBox
      • Infrahub
    • NetDevops
    • DevOps Tutorial
      • Git Training
      • Terraform Training
      • Linux Training
      • Kubernetes Training
      • Devops Training Course
      • Azure Devops Training
    • Terraform
    • GIT
      • Git Commands
      • What is GitHub?
    • Docker Training
    • Confluence
    • Microsoft Azure
  • Cisco
    • ISE
    • SD WAN Training
    • Password Recovery
    • Software-Upgrade-Guides
    • BGP
    • Data Center
    • WIRELESS
  • CCIE
  • Blog
  • About
    • My Red Special Guitar
  • Contact

Juniper Virtual Switch

Home » Network Automation » ContainerLab

Juniper Virtual Switch setup using vJunos

In this post I am going to spin up a Juniper Virtual Switch in Containerlab using the vJunos Switch image which is available to download for free from:
https://www.juniper.net/us/en/dm/vjunos-labs.html

https://support.juniper.net/support/downloads/?p=vjunos

Direct Download link for vJunos-switch-24.4R1.9.qcow2

Once I have the image running I will then build a topology with 4 virtual switches connected to each other.

Free Virtual Junos OS Download for Labs 

Juniper provides the image for free for the purpose of Labs and testing. The virtual switch is not intended for production use.

Once you have downloaded the qcow image to use it in ContainerLab we need to convert it to a containerised image.

This is a qcow image which will not natively run in Containerlab so you have to convert it.

It is built using vrnetlab project and essentially is a Qemu VM packaged in a docker container format.

Head over to https://github.com/hellt/vrnetlab

Next clone this repo to your machine

git clone https://github.com/hellt/vrnetlab.git

cd into the directory of your chosen vendor, in my case vjunosswitch

I also need to SCP the image which I have downloaded on my Mac to my Containerlab Server. This may vary for you but you just need to get the vJunos switch image into the vjunosswitch folder.

The command for me looks like this

SCP vJunos-switch-24.2R1.9.qcow2 [email protected]:/home/roger/vrnetlab/vjunosswitch

Now I have the vJunos switch qcow image in the correct folder

Juniper Virtual Switch Interfaces

Juniper Virtual Switch FAQ

What is the difference between a physical switch and a virtual switch?

A physical switch is a standard network switch in a metal box that you rack in your data centre or wiring closet to provide network connectivity to servers or users. A virtual switch is a software image that you can run in a lab to simulate the physical switch for the purpose of testing automations etc. A virtual switch can also be part of a cloud network providing connectivity between servers.

Category: ContainerLab
ansible course for network engineers
Get Access to my Ansible Course NOW
Previous Post:Ansible Questions
Next Post:Ansible Roles

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Sidebar

Hi I'm Roger Perkin,
Based in the UK working as a Network Automation Architect, CCIE #50038
About Roger | Twitter | Linkedin

python course for network engineers

Topics

Network Automation
Ansible
Python for Network Automation
CCIE
Cisco ISE
F5 Certification
BGP
OSPF
Network Automation Conferences
auvik promo banner
Pluralsight Trial

Git for Network Engineers

Ansible vs Nornir

Start learning today with my Network Automation Courses

Master Ansible, Python, Git, Nornir, Jenkins and more..


Buy me a coffeeBuy me a coffee

ansible network automation course

Have you seen my YouTube Channel?

YouTube Subscribe

Let’s get started

Take a look at my premium courses on Ansible, Nornir & Git or buy them all with the Network Automation Bundle!

Network Automation Courses

Navigation

Python VENV Tutorial
Python for Network Engineers

Network Automation
Network Automation Courses
Network Discovery Tools
Network Automation Conferences
Ansible Training
What is Ansible?
Devops Tutorial
Network Source of Truth
DevOps Glossary
Network Monitoring Software

Contact

Contact

Get in touch with me here

[email protected]

  • Twitter
  • LinkedIn
  • YouTube
Buy me a coffeeBuy me a coffee

Copyright © 2025 · Roger Perkin · All Rights Reserved · Privacy Policy – Terms