Arista has recently released a cEOS ARM64-based container image. This post will guide you through the process of downloading and importing the container image for Containerlab on macOS.

Prerequisite

macOS

  1. Point your web browser to the Arista Software Download page.

  2. Log in with your Arista credentials.

  3. Click the cEOSarm-lab-4.33.1-EFT3.tar.xz file link to download.

Download cEOS file
  1. Save the cEOSarm-lab-4.33.1-EFT3.tar.xz file to your Downloads folder.

  2. Open your favorite terminal emulator, and change to the Downloads directory.

cd ~/Downloads
  1. The download from the web browser may strip off the .xz file extension. Append if needed.
mv cEOSarm-lab-4.33.1-EFT3.tar cEOSarm-lab-4.33.1-EFT3.tar.xz
  1. Copy the file to the images directory on the clab Linux machine.
orb push -m clab cEOSarm-lab-4.33.1-EFT3.tar.xz ~/images/

Containerlab

  1. Log in to the clab Linux machine.
orb -m clab
  1. Change to the images directory.
cd ~/images
  1. Import the compressed archive with Docker.
docker import cEOSarm-lab-4.33.1-EFT3.tar.xz arista_ceos:4.33.1-EFT3
  1. Verify the Arista cEOS container image is now listed.
docker images arista_ceos

Lab

  1. Change to the eos directory.
cd ~/labs/eos
  1. Deploy the lab.
clab deploy
  1. Test SSH connectivity to the management interface of the node.
sshpass -padmin ssh clab-eos-sw1 show version
  1. Destroy the lab.
clab destroy -c