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
-
Point your web browser to the Arista Software Download page.
-
Log in with your Arista credentials.
-
Click the
cEOSarm-lab-4.33.1-EFT3.tar.xzfile link to download.
-
Save the
cEOSarm-lab-4.33.1-EFT3.tar.xzfile to your Downloads folder. -
Open your favorite terminal emulator, and change to the
Downloadsdirectory.
cd ~/Downloads
- The download from the web browser may strip off the
.xzfile extension. Append if needed.
mv cEOSarm-lab-4.33.1-EFT3.tar cEOSarm-lab-4.33.1-EFT3.tar.xz
- Copy the file to the
imagesdirectory on theclabLinux machine.
orb push -m clab cEOSarm-lab-4.33.1-EFT3.tar.xz ~/images/
Containerlab
- Log in to the
clabLinux machine.
orb -m clab
- Change to the
imagesdirectory.
cd ~/images
- Import the compressed archive with Docker.
docker import cEOSarm-lab-4.33.1-EFT3.tar.xz arista_ceos:4.33.1-EFT3
- Verify the Arista cEOS container image is now listed.
docker images arista_ceos
Lab
- Change to the
eosdirectory.
cd ~/labs/eos
- Deploy the lab.
clab deploy
- Test SSH connectivity to the management interface of the node.
sshpass -padmin ssh clab-eos-sw1 show version
- Destroy the lab.
clab destroy -c