Cisco recently made the Cisco IOL images publicly available via their Cisco Modeling Labs (CML) subscription. This post provides the steps of how to add them to GNS3 on macOS.

Prerequisites

Steps

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

  2. Click the Download icon for Cisco Modeling Labs reference platform ISO file (February 2024).

  3. Log in with your Cisco.com credentials when prompted.

  4. Save the refplat-20240225-fcs-iso.zip file to your Downloads folder.

  5. Open your favorite terminal emulator.

  6. Change to the Downloads directory.

cd ~/Downloads
  1. Create the cml27-refplat directory.
mkdir -p cml27-refplat
  1. Uncompress the refplat-20240225-fcs-iso.zip file into the cml27-refplatdirectory.
unzip refplat-20240225-fcs-iso.zip -d cml27-refplat
  1. Attach the refplat-20240225-fcs.iso file.
open cml27-refplat/refplat-20240225-fcs.iso
  1. Create the IOU directory.
mkdir -p ~/GNS3/images/IOU
  1. Copy the IOL L2 image to the IOU directory.
cp /Volumes/REFPLAT/virl-base-images/ioll2-xe-17-12-01/x86_64_crb_linux_l2-adventerprisek9-ms ~/GNS3/images/IOU
  1. Copy the IOL image to the IOU directory.
cp /Volumes/REFPLAT/virl-base-images/iol-xe-17-12-01/x86_64_crb_linux-adventerprisek9-ms ~/GNS3/images/IOU
  1. Detach the REFPLAT image file from Finder.
Detach REFPLAT iso
  1. Open the GNS3 client application.

  2. Click the Settings button.

  3. Select IOU Devices on the left side menu.

IOU Devices
  1. Click the New button.

  2. Enter IOL XE L2 for the Name value.

  3. Select L2 image for Type.

  4. Click the Browse… button.

  5. Navigate to and select the x86_64_crb_linux_l2-adventerprisek9-ms file.

    • Click the Show Options button.
    • Use All file (*) in the file extension drop-down menu.
Browse to IOL L2
  1. Click the Open button.

  2. Click the Finish button after the upload completes.

  3. Click the Edit button.

  4. Enter SW{0} for the Default name format value.

  5. Enter :/symbols/affinity/square/blue/switch_multilayer.svg for the Symbol value.

  6. Click the OK button.

  7. Click the Apply button to save the template configuration.

  8. Click the New button.

  9. Enter IOL XE for the Name value.

  10. Select L3 image for Type.

  11. Click the Browse… button.

  12. Navigate to and select the x86_64_crb_linux-adventerprisek9-ms file.

    • Click the Show Options button.
    • Use All file (*) in the file extension drop-down menu.
  13. Click the Open button.

  14. Click the Finish button after the upload completes.

  15. Click the Edit button.

  16. Enter R{0} for the Default name format value.

  17. Enter :/symbols/affinity/circle/blue/router2.svg for the Symbol value.

  18. Click the OK button.

IOU device templates
  1. Click the OK button to save and close the Preferences window.