<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: rhira777</title>
    <description>The latest articles on DEV Community by rhira777 (@rhira777).</description>
    <link>https://dev.to/rhira777</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F857879%2F862b9613-a38c-49c9-94be-6965afb94f25.png</url>
      <title>DEV Community: rhira777</title>
      <link>https://dev.to/rhira777</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/rhira777"/>
    <language>en</language>
    <item>
      <title>How to use Enterprise SONiC on CML</title>
      <dc:creator>rhira777</dc:creator>
      <pubDate>Sun, 31 Dec 2023 14:37:31 +0000</pubDate>
      <link>https://dev.to/rhira777/how-to-use-enterprise-sonic-on-cml-20m8</link>
      <guid>https://dev.to/rhira777/how-to-use-enterprise-sonic-on-cml-20m8</guid>
      <description>&lt;h1&gt;
  
  
  Summary
&lt;/h1&gt;

&lt;p&gt;In CML (Cisco Modeling Labs), the available platforms can be defined and used by yourself in addition to the standard ones.&lt;/p&gt;

&lt;p&gt;This procedure is shown in the user guide.&lt;br&gt;
&lt;a href="https://developer.cisco.com/docs/modeling-labs/#!custom-vm-images"&gt;https://developer.cisco.com/docs/modeling-labs/#!custom-vm-images&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;On &lt;a href="https://sonic-net.github.io/SONiC/"&gt;SONiC&lt;/a&gt;, commercial distribution (Enterprise SONiC) is supplied from each vendor.&lt;/p&gt;

&lt;p&gt;Enterprise SONiC Distribution by Edgecore&lt;br&gt;
&lt;a href="https://support.edge-core.com/hc/en-us/categories/360002134713-Enterprise-SONiC-Distribution-by-Edgecore"&gt;https://support.edge-core.com/hc/en-us/categories/360002134713-Enterprise-SONiC-Distribution-by-Edgecore&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Enterprise SONiC Distribution by Dell Technologies&lt;br&gt;
&lt;a href="https://infohub.delltechnologies.com/p/enterprise-sonic-distribution-by-dell-technologies/"&gt;https://infohub.delltechnologies.com/p/enterprise-sonic-distribution-by-dell-technologies/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Enterprise SONiC has published images that can be used in virtualized environments, depending on the company that provides them.&lt;/p&gt;

&lt;p&gt;This time, I tried to set up using SONiC image for virtual machines in CML 2.2.3 environment (installed on &lt;a href="https://dev.to/rhira777/getting-128gb-esxi-host-for-my-home-lab-year-2022-948"&gt;the previously built ESXi host&lt;/a&gt;), and was able to start using it.&lt;br&gt;
The following is a record of that.&lt;/p&gt;

&lt;h1&gt;
  
  
  Detail of what I did
&lt;/h1&gt;

&lt;h3&gt;
  
  
  Get SONiC image
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;In this case, obtain from the following

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.dell.com/support/home/en-us/product-support/product/enterprise-sonic-distribution/drivers"&gt;https://www.dell.com/support/home/en-us/product-support/product/enterprise-sonic-distribution/drivers&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Download gns3 file

&lt;ul&gt;
&lt;li&gt;Select Enterprise SONiC OS 4.2.0 gns3 this time&lt;/li&gt;
&lt;li&gt;"Enterprise_SONiC_OS_4.2.0_gns3.zip"&lt;/li&gt;
&lt;li&gt;Use "Enterprise_SONiC_OS_4.2.0.img" in the zip file&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;




&lt;h3&gt;
  
  
  Define node
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Select "Node and Image Definition" from "TOOLS"&lt;/li&gt;
&lt;li&gt;Confirm that the "Node Definition" tab is selected and click the "ADD" button.&lt;/li&gt;
&lt;li&gt;Select/enter the following information in the "General" field

&lt;ul&gt;
&lt;li&gt;ID: "dellsonic"&lt;/li&gt;
&lt;li&gt;Nature: "switch"&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;li&gt;Select/enter the following information in the "User Interface" field

&lt;ul&gt;
&lt;li&gt;Prefix: "dellsonic-"&lt;/li&gt;
&lt;li&gt;Icon: "switch"&lt;/li&gt;
&lt;li&gt;Label: "Enterprise SONiC"&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--XwmfcqBC--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/nx38bktupzaoywc7b1jq.JPG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--XwmfcqBC--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/nx38bktupzaoywc7b1jq.JPG" alt="Image description" width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;ul&gt;
&lt;li&gt;Select/enter the following information in the "Linux Native Simulation" field

&lt;ul&gt;
&lt;li&gt;Domain Driver: "KVM"&lt;/li&gt;
&lt;li&gt;Simulation Driver: "server"&lt;/li&gt;
&lt;li&gt;Disk Driver: "VirtIO"&lt;/li&gt;
&lt;li&gt;Memory: "4096" in this case&lt;/li&gt;
&lt;li&gt;CPUs: "2" in this case&lt;/li&gt;
&lt;li&gt;CPU Limit: "100"&lt;/li&gt;
&lt;li&gt;Network Driver: "E1000"&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--9oY48NsN--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/w2bv9tbqvctqmg8xfjg7.JPG" alt="Image description" width="800" height="500"&gt;
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Select/enter the following information in the "Interfaces" field&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Loopback name: "Loopback0"&lt;/li&gt;
&lt;li&gt;Number of serial ports: "1"&lt;/li&gt;
&lt;li&gt;Default number of physical interfaces: "10" in this case&lt;/li&gt;
&lt;li&gt;interface 0："eth0"&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;li&gt;

&lt;p&gt;In the same field, press the "ADD INTERFACE" button until the number specified in the "Default number of physical interfaces" is displayed, and enter the following information&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;interface 1: "Eth1/1"&lt;/li&gt;
&lt;li&gt;interface 2: "Eth1/2"&lt;/li&gt;
&lt;li&gt;interface 3: "Eth1/3"&lt;/li&gt;
&lt;li&gt;interface 4: "Eth1/4"&lt;/li&gt;
&lt;li&gt;interface 5: "Eth1/5"&lt;/li&gt;
&lt;li&gt;interface 6: "Eth1/6"&lt;/li&gt;
&lt;li&gt;interface 7: "Eth1/7"&lt;/li&gt;
&lt;li&gt;interface 8: "Eth1/8"&lt;/li&gt;
&lt;li&gt;interface 8: "Eth1/9"&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--5VVKWQVF--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/gygrwvzm49kbjncmgm9o.JPG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--5VVKWQVF--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/gygrwvzm49kbjncmgm9o.JPG" alt="Image description" width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Enter the following information in the "Boot" field&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Timeout: "480" in this case&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;li&gt;

&lt;p&gt;In the same field, click the "ADD BOOT LINE button" and enter the following information&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;"sonic login"&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Click the CREATE button&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--B27OBlGa--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4c8w7whvgg6lblu9ngzc.JPG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--B27OBlGa--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4c8w7whvgg6lblu9ngzc.JPG" alt="Image description" width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Define image
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Select "Node and Image Definition" from "TOOLS"&lt;/li&gt;
&lt;li&gt;Select the "Image Definition" tab&lt;/li&gt;
&lt;li&gt;Click the "MANAGE" button&lt;/li&gt;
&lt;li&gt;Select "Choose a file" in the "Upload New Image File" field and specify the downloaded SONiC image&lt;/li&gt;
&lt;li&gt;Click the "UPLOAD IMAGE" button&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--uFfNSjCM--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5vofwxjk7k7p8xqcoebu.JPG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--uFfNSjCM--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5vofwxjk7k7p8xqcoebu.JPG" alt="Image description" width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;ul&gt;
&lt;li&gt;After confirming the display of the file specified in the "Uploaded Images" field(reloading the page may be required), press the "CREATE NEW IMAGE DEFINITION" button.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--jMZWq2J0--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/hegtjkjg6e61j0a82st0.JPG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--jMZWq2J0--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/hegtjkjg6e61j0a82st0.JPG" alt="Image description" width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Select/enter the following information in the "General" field&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;ID: "dellsonic-420"&lt;/li&gt;
&lt;li&gt;Label: "Enterprise SONiC 4.2.0"&lt;/li&gt;
&lt;li&gt;Disk Image: The uploaded SONiC image&lt;/li&gt;
&lt;li&gt;Node Definition: The defined node&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Press "CREATE IMAGE DEFINITION" button&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--agNcHLDj--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/p5qemeu9tlnoegxcy38g.JPG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--agNcHLDj--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/p5qemeu9tlnoegxcy38g.JPG" alt="Image description" width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h3&gt;
  
  
  Confirmation of operation
&lt;/h3&gt;

&lt;p&gt;I created a lab using the registered node and it was successfully started.&lt;br&gt;
It was also confirmed that communication with neighboring nodes was possible.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--7nSwXhvV--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/gkyxyczyt25pz2idaaan.JPG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--7nSwXhvV--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/gkyxyczyt25pz2idaaan.JPG" alt="Image description" width="800" height="483"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  Supplemental information and others
&lt;/h1&gt;

&lt;p&gt;The default username/password is admin/YourPaSsWoRd.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Dell Networking SONiC: Secure Shell based login
&lt;a href="https://www.dell.com/support/kbdoc/en-us/000218783/dell-networking-sonic-ssh-based-login"&gt;https://www.dell.com/support/kbdoc/en-us/000218783/dell-networking-sonic-ssh-based-login&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  startup log
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;  Booting `SONiC-OS-4.2.0-Enterprise_Base'


Loading SONiC-OS OS kernel ...

Loading SONiC-OS OS initial ramdisk ...

[   34.656910] in-memory.sh[344]: + [[ -e /dev/pmem0 ]]
[   34.673136] in-memory.sh[344]: ++ uname -r
[   34.738057] in-memory.sh[344]: + insmod /lib/modules/5.10.0-21-amd64/kernel/drivers/block/ramdisk.ko rd_address=0x40000000 rd_size=0x4000000
[   35.233113] in-memory.sh[344]: + '[' -e /dev/ramdisk ']'
[   35.248529] in-memory.sh[344]: + [[ ! -e /proc/vmcore ]]
[   35.264929] in-memory.sh[344]: + mkfs.ext4 /dev/ramdisk
[   35.782623] in-memory.sh[344]: mke2fs 1.44.5 (15-Dec-2018)
[   35.832664] in-memory.sh[344]: Creating filesystem with 65536 1k blocks and 16384 inodes
[   35.863029] in-memory.sh[344]: Filesystem UUID: 6843eecc-8058-4005-b57d-dab7f113505f
[   35.885951] in-memory.sh[344]: Superblock backups stored on blocks:
[   35.911651] in-memory.sh[344]:       8193, 24577, 40961, 57345
[   35.932443] in-memory.sh[344]: Allocating group tables: done
[   35.955397] in-memory.sh[344]: Writing inode tables: done
[   35.983239] in-memory.sh[344]: Creating journal (4096 blocks): done
[   36.009111] in-memory.sh[344]: Writing superblocks and filesystem accounting information: done
[   36.034260] in-memory.sh[344]: + e2fsck -fy /dev/ramdisk
[   36.215813] kdump-tools[343]: Starting kdump-tools: Creating symlink /var/lib/kdump/vmlinuz.
[   36.262157] kdump-tools[343]: Creating symlink /var/lib/kdump/initrd.img.
[   36.398311] in-memory.sh[344]: e2fsck 1.44.5 (15-Dec-2018)
[   36.446069] in-memory.sh[344]: Pass 1: Checking inodes, blocks, and sizes
[   36.514393] in-memory.sh[344]: Pass 2: Checking directory structure
[   36.571572] in-memory.sh[344]: Pass 3: Checking directory connectivity
[   36.590362] in-memory.sh[344]: Pass 4: Checking reference counts
[   36.610644] in-memory.sh[344]: Pass 5: Checking group summary information
[   36.636916] in-memory.sh[344]: /dev/ramdisk: 11/16384 files (0.0% non-contiguous), 7465/65536 blocks
[   36.729179] in-memory.sh[344]: + tune2fs -O '^metadata_csum' /dev/ramdisk
[   36.748593] in-memory.sh[344]: tune2fs 1.44.5 (15-Dec-2018)
[   36.767494] in-memory.sh[344]: + mount /dev/ramdisk /var/log/ramfs
[   36.792774] in-memory.sh[344]: ++ mountpoint -q /var/log/ramfs
[   36.814500] in-memory.sh[344]: + chmod 655 /var/log/ramfs
[   36.832928] in-memory.sh[344]: + set +x
[   38.196615] rc.local[578]: + cat /proc/cmdline
[   38.224026] rc.local[578]: + xargs -n1
[   38.238218] rc.local[578]: + grep loop=
[   38.264957] rc.local[578]: + cut -d= -f 2-
[   38.660962] rc.local[578]: + dirname image-4.2.0-Enterprise_Base/fs.squashfs
[   38.688844] rc.local[578]: + LOOP_IMAGE_DIR=image-4.2.0-Enterprise_Base
[   38.726252] rc.local[578]: + echo image-4.2.0-Enterprise_Base
[   38.758279] rc.local[578]: + cut -d- -f 2-
[   38.774483] rc.local[578]: + loop_version=4.2.0-Enterprise_Base
[   38.815105] rc.local[578]: + grep build_version
[   38.834005] rc.local[578]: + sed -e s/build_version: //g;s/'//g
[   38.905527] rc.local[578]: + cat /etc/sonic/sonic_version.yml
[   39.016109] rc.local[578]: + SONIC_VERSION=4.2.0-Enterprise_Base
[   39.146697] rc.local[578]: + [ 4.2.0-Enterprise_Base !=  ]
[   39.169304] rc.local[578]: + [ 4.2.0-Enterprise_Base != 4.2.0-Enterprise_Base ]
[   39.190152] rc.local[578]: + FIRST_BOOT_FILE=/host/image-4.2.0-Enterprise_Base/platform/firsttime
[   39.214308] rc.local[578]: + SONIC_FIRST_BOOT_SCRIPT=/host/image-4.2.0-Enterprise_Base/first_boot.sh
[   39.279311] rc.local[578]: + SONIC_BRANDING_OVERRIDE=/host/image-4.2.0-Enterprise_Base/sonic_branding.yml
[   39.314123] rc.local[578]: + SONIC_BRANDING_FILE=/etc/sonic/sonic_branding.yml
[   39.367061] rc.local[578]: + RUNTIME_JOURNALD_CONF=/etc/systemd/journald.conf.d/01-journald-storage.conf
[   39.448329] rc.local[578]: + RSYSLOG_FILE=/etc/logrotate.d/rsyslog
[   39.487485] rc.local[578]: + IMEM_INFO_FILE=/etc/logrotate.d/in-memory/00-in-memory-info
[   39.510376] rc.local[578]: + IMEM_DEBUG_FILE=/etc/logrotate.d/in-memory/00-in-memory-debug
[   39.539099] rc.local[578]: + IMEM_DISK_INFO_FILE=/etc/logrotate.d/in-memory/01-disk-info
[   39.561205] rc.local[578]: + IMEM_DISK_DEBUG_FILE=/etc/logrotate.d/in-memory/01-disk-debug
[   39.588452] rc.local[578]: + IMEM_CONF_FILE=/etc/rsyslog.d/in-memory/00-in-memory.conf
[   39.608050] rc.local[578]: + APPLOG_CONF_FILE=/etc/rsyslog.d/20-sonic.conf
[   39.628947] rc.local[578]: + HISTOGRAM_FILE=/etc/logrotate.d/histogram/mem-histogram-rule
[   39.657673] rc.local[578]: + LOGCLEANUP_FILE=/usr/bin/log-cleanup.sh
[   39.699884] rc.local[578]: + SONIC_CONFIG_DIR=/host/image-4.2.0-Enterprise_Base/sonic-config
[   39.745542] rc.local[578]: + SONIC_ENV_FILE=/host/image-4.2.0-Enterprise_Base/sonic-config/sonic-environment
[   39.799352] rc.local[578]: + [ -d /host/image-4.2.0-Enterprise_Base/sonic-config -a -f /host/image-4.2.0-Enterprise_Base/sonic-config/sonic-environment ]
[   39.896294] rc.local[578]: + logger SONiC version 4.2.0-Enterprise_Base starting up...
[   39.946870] rc.local[578]: + mount -t bpf none /sys/fs/bpf/
[   39.963135] rc.local[578]: + set +x
[   39.975345] rc.local[578]: + grub_installation_needed=
[   39.990196] rc.local[578]: + [ ! -e /host/machine.conf ]
[   40.010572] rc.local[578]: + migrate_nos_configuration
[   40.028620] rc.local[578]: + rm -rf /host/migration
[   40.046210] rc.local[578]: + mkdir -p /host/migration
[   40.078869] rc.local[578]: + cat /proc/cmdline
[   40.091773] rc.local[578]: + set -- BOOT_IMAGE=/image-4.2.0-Enterprise_Base/boot/vmlinuz-5.10.0-21-amd64 root=UUID=b13fefc3-4898-498e-bf1f-180508201499 rw console=tty0 console=ttyS0,115200n8 quiet net.ifnames=0 biosdevname=0 loop=image-4.2.0-Enterprise_Base/fs.squashfs loopfstype=squashfs crashkernel=0M-2G:256M,2G-4G:256M,4G-8G:384M,8G-:448M apparmor=1 security=apparmor varlog_size=4096 usbcore.autosuspend=-1 cgroup_enable=memory swapaccount=1 cma=0 memmap=64M$1G softlockup_all_cpu_backtrace=1
[   40.278371] rc.local[578]: + [ -n  ]
[   40.347631] rc.local[578]: + . /host/machine.conf
[   40.470225] rc.local[578]: + onie_arch=x86_64
[   40.482312] rc.local[578]: + onie_bin=
[   40.496259] rc.local[578]: + onie_boot_fs_type=ext4
[   40.510051] rc.local[578]: + onie_boot_gfdisk_type=0x3000
[   40.541161] rc.local[578]: + onie_boot_gpt_uuid=7412F7D5-A156-4B13-81DC-867174929325
[   40.610572] rc.local[578]: + onie_boot_label=ONIE-BOOT
[   40.680146] rc.local[578]: + onie_boot_mnt=/mnt/onie-boot
[   40.698145] rc.local[578]: + onie_boot_reason=install
[   40.756545] rc.local[578]: + onie_build_date=2018-11-17T04:18+00:00
[   40.814912] rc.local[578]: + onie_build_machine=kvm_x86_64
[   40.936072] rc.local[578]: + onie_build_platform=x86_64-kvm_x86_64-r0
[   40.958906] rc.local[578]: + onie_config_dir=/mnt/onie-boot/onie/config
[   40.986345] rc.local[578]: + onie_config_version=1
[   41.012968] rc.local[578]: + onie_default_filename=onie-installer-x86_64-kvm_x86_64-r0
[   41.054993] rc.local[578]: + onie_default_filenames=onie-installer-x86_64-kvm_x86_64-r0
[   41.084595] rc.local[578]: + onie_dev=/dev/vda2
[   41.100605] rc.local[578]: + onie_disco_boot_reason=install
[   41.131212] rc.local[578]: + onie_disco_dns=10.0.2.3
[   41.154133] rc.local[578]: + onie_disco_interface=eth0
[   41.187801] rc.local[578]: + onie_disco_ip=10.0.2.15
[   41.250023] rc.local[578]: + onie_disco_lease=86400
[   41.333788] rc.local[578]: + onie_disco_mask=24
[   41.377991] rc.local[578]: + onie_disco_opt53=05
[   41.419109] rc.local[578]: + onie_disco_router=10.0.2.2
[   41.446504] rc.local[578]: + onie_disco_serverid=10.0.2.2
[   41.492428] rc.local[578]: + onie_disco_siaddr=10.0.2.2
[   41.649018] rc.local[578]: + onie_disco_subnet=255.255.255.0
[   41.715032] rc.local[578]: + onie_exec_url=file://dev/vdb/onie-installer.bin
[   41.758713] rc.local[578]: + onie_firmware=auto
[   41.900357] rc.local[578]: + onie_grub_image_name=shimx64.efi
[   41.933383] rc.local[578]: + onie_iana_enterprise=42623
[   41.983371] rc.local[578]: + onie_image_suffixes=.bin
[   42.006215] rc.local[578]: + onie_image_type_nos=nos
[   42.023183] rc.local[578]: + onie_image_type_update=update
[   42.098738] rc.local[578]: + onie_initrd_tmp=/
[   42.203583] rc.local[578]: + onie_installer=/var/tmp/installer
[   42.232167] rc.local[578]: + onie_kernel_version=4.9.95
[   42.249325] rc.local[578]: + onie_local_parts=
[   42.264658] rc.local[578]: + onie_machine=kvm_x86_64
[   42.326350] rc.local[578]: + onie_machine_rev=0
[   42.413097] rc.local[578]: + onie_neighs=[fe80::2-eth0],
[   42.432558] rc.local[578]: + onie_operation=os-install
[   42.448676] rc.local[578]: + onie_partition_type=gpt
[   42.462873] rc.local[578]: + onie_platform=x86_64-kvm_x86_64-r0
[   42.513297] rc.local[578]: + onie_root_dir=/mnt/onie-boot/onie
[   42.634832] rc.local[578]: + onie_secure_boot=yes
[   42.715092] rc.local[578]: + onie_server_name=onie-server
[   42.744945] rc.local[578]: + onie_skip_ethmgmt_macs=yes
[   42.763887] rc.local[578]: + onie_switch_asic=qemu
[   42.781268] rc.local[578]: + onie_uefi_arch=x64
[   42.818990] rc.local[578]: + onie_uefi_boot_loader=shimx64.efi
[   42.918507] rc.local[578]: + onie_update_attempts_dir=/mnt/onie-boot/onie/update/attempts
[   42.996999] rc.local[578]: + onie_update_dir=/mnt/onie-boot/onie/update
[   43.016292] rc.local[578]: + onie_update_log=/mnt/onie-boot/onie/update/update.log
[   43.094914] rc.local[578]: + onie_update_pending_dir=/mnt/onie-boot/onie/update/pending
[   43.129414] rc.local[578]: + onie_update_results_dir=/mnt/onie-boot/onie/update/results
[   43.203477] rc.local[578]: + onie_updater_cookie=ONIE-UPDATER-COOKIE
[   43.230578] rc.local[578]: + onie_vendor_id=42623
[   43.246749] rc.local[578]: + onie_version=master-201811170418
[   43.267024] rc.local[578]: + program_console_speed
[   43.283649] kdump-tools[343]: loaded kdump kernel.
[   43.300353] rc.local[578]: + cat /proc/cmdline
[   43.325960] rc.local[578]: + grep -Eo console=ttyS[0-9]+,[0-9]+
[   43.347377] rc.local[578]: + cut -d , -f2
[   43.364099] rc.local[578]: + speed=115200
[   43.376920] rc.local[578]: + [ -z 115200 ]
[   43.404188] rc.local[578]: + CONSOLE_SPEED=115200
[   43.425112] rc.local[578]: + sed -i s|\-\-keep\-baud .* %I| 115200 %I|g /lib/systemd/system/serial-getty@.service
[   43.456972] rc.local[578]: + systemctl daemon-reload
[   43.472915] rc.local[578]: + [ -f /host/image-4.2.0-Enterprise_Base/platform/firsttime ]
[   43.498849] rc.local[578]: + [ -f /var/log/fsck.log.gz ]
[   43.516777] rc.local[578]: + gunzip -d -c /var/log/fsck.log.gz
[   43.535652] rc.local[578]: + logger -t FSCK
[   43.550609] rc.local[578]: + rm -f /var/log/fsck.log.gz
[   43.573821] rc.local[578]: + [ -n x86_64-kvm_x86_64-r0 ]
[   43.619912] rc.local[578]: + mkdir -p /mnt/onie-boot
[   43.637075] rc.local[578]: + mount LABEL=ONIE-BOOT /mnt/onie-boot
[   43.661882] rc.local[578]: + [ -f /mnt/onie-boot/onie/update/update.log ]
[   43.689742] rc.local[578]: + /usr/bin/python3 /usr/local/bin/fwpkg_tables_init.py
[   43.713299] rc.local[578]: + cp /mnt/onie-boot/onie/update/update.log /var/log/onie-update.log
[   43.739411] rc.local[578]: + set +x
[   43.753270] rc.local[578]: + /usr/bin/python3 /usr/local/bin/image_tables_init.py
[   43.802658] rc.local[578]: + exit 0


Debian GNU/Linux 10 sonic ttyS0

sonic login:
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>homelab</category>
      <category>cisco</category>
      <category>cml</category>
      <category>sonic</category>
    </item>
    <item>
      <title>[SONiC Virtual Switch] EVPN-VXLANv4 / BGP unnumbered</title>
      <dc:creator>rhira777</dc:creator>
      <pubDate>Mon, 15 Aug 2022 20:25:00 +0000</pubDate>
      <link>https://dev.to/rhira777/sonic-vs-evpn-vxlanv4-w-bgp-unnumbered-2pa7</link>
      <guid>https://dev.to/rhira777/sonic-vs-evpn-vxlanv4-w-bgp-unnumbered-2pa7</guid>
      <description>&lt;h1&gt;
  
  
  Summary
&lt;/h1&gt;

&lt;p&gt;I tried BGP unnumbered and the combination with EVPN-VXLAN in the &lt;a href="https://dev.to/rhira777/how-to-use-sonic-on-cml-4j2m"&gt;SONiC on CML environment that we had previously built&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;In this case, the virtual switch version of SONiC.202205 was configured with a minimum of communication checks in mind, and were able to achieve IPv4 forwarding using BGP unnumbered and L2 forwarding using EVPN-VXLAN.&lt;/p&gt;

&lt;p&gt;The following is a record of that.&lt;/p&gt;

&lt;p&gt;The main information that I was referring to is as follows:&lt;/p&gt;

&lt;p&gt;[Edgecore SONiC] BGP Unnumbered&lt;br&gt;
&lt;a href="https://support.edge-core.com/hc/en-us/articles/900002377366--Edgecore-SONiC-BGP-Unnumbered" rel="noopener noreferrer"&gt;https://support.edge-core.com/hc/en-us/articles/900002377366--Edgecore-SONiC-BGP-Unnumbered&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;[Edgecore SONiC] EVPN L2 VxLAN&lt;br&gt;
&lt;a href="https://support.edge-core.com/hc/en-us/articles/900002720523--Edgecore-SONiC-EVPN-L2-VxLAN" rel="noopener noreferrer"&gt;https://support.edge-core.com/hc/en-us/articles/900002720523--Edgecore-SONiC-EVPN-L2-VxLAN&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;[Edgecore SONiC] VLAN &amp;amp; Inter-VLAN Routing&lt;br&gt;
&lt;a href="https://support.edge-core.com/hc/en-us/articles/900000210426-VLAN-Inter-VLAN-Routing" rel="noopener noreferrer"&gt;https://support.edge-core.com/hc/en-us/articles/900000210426-VLAN-Inter-VLAN-Routing&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;SONiC USER MANUAL&lt;br&gt;
&lt;a href="https://github.com/sonic-net/SONiC/blob/master/doc/SONiC-User-Manual.md" rel="noopener noreferrer"&gt;https://github.com/sonic-net/SONiC/blob/master/doc/SONiC-User-Manual.md&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;SONiC Command Line Interface Guide&lt;br&gt;
&lt;a href="https://github.com/sonic-net/sonic-utilities/blob/master/doc/Command-Reference.md" rel="noopener noreferrer"&gt;https://github.com/sonic-net/sonic-utilities/blob/master/doc/Command-Reference.md&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Vxlan SONiC&lt;br&gt;
&lt;a href="https://github.com/sonic-net/SONiC/blob/master/doc/vxlan/Vxlan_hld.md" rel="noopener noreferrer"&gt;https://github.com/sonic-net/SONiC/blob/master/doc/vxlan/Vxlan_hld.md&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  Detail of what I did
&lt;/h1&gt;

&lt;h3&gt;
  
  
  Network diagram(Topology)
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fcnhm8towao3skucbyq6d.JPG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fcnhm8towao3skucbyq6d.JPG" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Network information
&lt;/h3&gt;

&lt;h4&gt;
  
  
  
&lt;/h4&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;node&lt;/th&gt;
&lt;th&gt;hostname&lt;/th&gt;
&lt;th&gt;Loopback0&lt;/th&gt;
&lt;th&gt;ASN&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;sonicvsvm-0&lt;/td&gt;
&lt;td&gt;R001&lt;/td&gt;
&lt;td&gt;10.0.0.1/32&lt;/td&gt;
&lt;td&gt;65001&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;sonicvsvm-1&lt;/td&gt;
&lt;td&gt;R002&lt;/td&gt;
&lt;td&gt;10.0.0.2/32&lt;/td&gt;
&lt;td&gt;65001&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;sonicvsvm-2&lt;/td&gt;
&lt;td&gt;R011&lt;/td&gt;
&lt;td&gt;10.0.0.11/32&lt;/td&gt;
&lt;td&gt;65000&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;sonicvsvm-3&lt;/td&gt;
&lt;td&gt;R012&lt;/td&gt;
&lt;td&gt;10.0.0.12/32&lt;/td&gt;
&lt;td&gt;65000&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;sonicvsvm-4&lt;/td&gt;
&lt;td&gt;R013&lt;/td&gt;
&lt;td&gt;10.0.0.13/32&lt;/td&gt;
&lt;td&gt;65000&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;sonicvsvm-5&lt;/td&gt;
&lt;td&gt;R014&lt;/td&gt;
&lt;td&gt;10.0.0.14/32&lt;/td&gt;
&lt;td&gt;65000&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;sonicvsvm-6&lt;/td&gt;
&lt;td&gt;R101&lt;/td&gt;
&lt;td&gt;10.0.0.101/32&lt;/td&gt;
&lt;td&gt;65001&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;sonicvsvm-7&lt;/td&gt;
&lt;td&gt;R102&lt;/td&gt;
&lt;td&gt;10.0.0.102/32&lt;/td&gt;
&lt;td&gt;65001&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h4&gt;
  
  
  
&lt;/h4&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;node&lt;/th&gt;
&lt;th&gt;hostname&lt;/th&gt;
&lt;th&gt;VLAN&lt;/th&gt;
&lt;th&gt;VNI&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;sonicvsvm-6&lt;/td&gt;
&lt;td&gt;R101&lt;/td&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;td&gt;5002&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;sonicvsvm-7&lt;/td&gt;
&lt;td&gt;R102&lt;/td&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;td&gt;5002&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;node&lt;/th&gt;
&lt;th&gt;interface&lt;/th&gt;
&lt;th&gt;MAC address&lt;/th&gt;
&lt;th&gt;VLAN&lt;/th&gt;
&lt;th&gt;IP address&lt;/th&gt;
&lt;th&gt;VRF&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;csr1000v-0&lt;/td&gt;
&lt;td&gt;Gi2&lt;/td&gt;
&lt;td&gt;0000.0000.0101&lt;/td&gt;
&lt;td&gt;untag&lt;/td&gt;
&lt;td&gt;192.168.2.101&lt;/td&gt;
&lt;td&gt;101-2&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;Gi3&lt;/td&gt;
&lt;td&gt;0000.0000.0102&lt;/td&gt;
&lt;td&gt;untag&lt;/td&gt;
&lt;td&gt;192.168.2.102&lt;/td&gt;
&lt;td&gt;102-2&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h3&gt;
  
  
  SONiC OS configuration (Excerpts)
&lt;/h3&gt;

&lt;h4&gt;
  
  
  
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;save and reload (execute as appropriate)&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;node&lt;/th&gt;
&lt;th&gt;command&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;sonicvsvm-0~7&lt;/td&gt;
&lt;td&gt;sudo config save -y&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;sudo config reload -fy&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h3&gt;
  
  
  
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;transit link: IPv6 link-local&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;node&lt;/th&gt;
&lt;th&gt;command&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;sonicvsvm-0~5&lt;/td&gt;
&lt;td&gt;sudo config ipv6 enable link-local&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;sonicvsvm-6/7&lt;/td&gt;
&lt;td&gt;sudo config interface ipv6 enable use-link-local-only Ethernet0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;sudo config interface ipv6 enable use-link-local-only Ethernet4&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;ul&gt;
&lt;li&gt;loopback: IPv4&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;node&lt;/th&gt;
&lt;th&gt;command&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;sonicvsvm-0&lt;/td&gt;
&lt;td&gt;sudo config interface ip add Loopback0 10.0.0.1/32&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;sonicvsvm-1&lt;/td&gt;
&lt;td&gt;sudo config interface ip add Loopback0 10.0.0.2/32&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;sonicvsvm-2&lt;/td&gt;
&lt;td&gt;sudo config interface ip add Loopback0 10.0.0.11/32&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;sonicvsvm-3&lt;/td&gt;
&lt;td&gt;sudo config interface ip add Loopback0 10.0.0.12/32&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;sonicvsvm-4&lt;/td&gt;
&lt;td&gt;sudo config interface ip add Loopback0 10.0.0.13/32&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;sonicvsvm-5&lt;/td&gt;
&lt;td&gt;sudo config interface ip add Loopback0 10.0.0.14/32&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;sonicvsvm-6&lt;/td&gt;
&lt;td&gt;sudo config interface ip add Loopback0 10.0.0.101/32&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;sudo config interface ip add Loopback0 10.255.0.101/32 secondary&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;sonicvsvm-7&lt;/td&gt;
&lt;td&gt;sudo config interface ip add Loopback0 10.0.0.102/32&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;sudo config interface ip add Loopback0 10.255.0.102/32 secondary&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h4&gt;
  
  
  
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;VLAN&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;node&lt;/th&gt;
&lt;th&gt;command&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;sonicvsvm-6/7&lt;/td&gt;
&lt;td&gt;sudo config vlan add 2&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;sudo config vlan member add -u 2 Ethernet8&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;ul&gt;
&lt;li&gt;VXLAN (EVPN compatible)&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;node&lt;/th&gt;
&lt;th&gt;command&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;sonicvsvm-6&lt;/td&gt;
&lt;td&gt;sudo config vxlan add VXLAN 10.255.0.101&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;sonicvsvm-7&lt;/td&gt;
&lt;td&gt;sudo config vxlan add VXLAN 10.255.0.102&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;sonicvsvm-6/7&lt;/td&gt;
&lt;td&gt;sudo config vxlan evpn_nvo add NVO VXLAN&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;sudo config vxlan map add VXLAN 2 5002&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h3&gt;
  
  
  FRRouting configuration (Excerpts)
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;sonicvsvm-0/1
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;no router bgp 65100
router bgp 65001
 no bgp ebgp-requires-policy
 no bgp default ipv4-unicast
 neighbor SERVICE peer-group
 neighbor SERVICE remote-as internal
 neighbor SERVICE update-source Loopback0
 neighbor TRANSPORT peer-group
 neighbor TRANSPORT remote-as external
 neighbor TRANSPORT capability extended-nexthop
 neighbor Ethernet0 interface peer-group TRANSPORT
 neighbor Ethernet4 interface peer-group TRANSPORT
 neighbor Ethernet8 interface peer-group TRANSPORT
 neighbor Ethernet12 interface peer-group TRANSPORT
 bgp listen range 10.0.0.0/8 peer-group SERVICE
 address-family ipv4 unicast
  redistribute connected
  neighbor TRANSPORT activate
  neighbor TRANSPORT allowas-in
 exit-address-family
 address-family l2vpn evpn
  neighbor SERVICE activate
  neighbor SERVICE route-reflector-client
 exit-address-family
exit

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;sonicvsvm-2/3/4/5
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;no router bgp 65100
router bgp 65000
 no bgp ebgp-requires-policy
 no bgp default ipv4-unicast
 neighbor TRANSPORT peer-group
 neighbor TRANSPORT remote-as external
 neighbor TRANSPORT capability extended-nexthop
 neighbor Ethernet0 interface peer-group TRANSPORT
 neighbor Ethernet4 interface peer-group TRANSPORT
 neighbor Ethernet8 interface peer-group TRANSPORT
 address-family ipv4 unicast
  redistribute connected
  neighbor TRANSPORT activate
  neighbor TRANSPORT allowas-in
 exit-address-family
exit

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;sonicvsvm-6/7
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;no router bgp 65100
router bgp 65001
 no bgp ebgp-requires-policy
 no bgp default ipv4-unicast
 neighbor SERVICE peer-group
 neighbor SERVICE remote-as internal
 neighbor SERVICE update-source Loopback0
 neighbor TRANSPORT peer-group
 neighbor TRANSPORT remote-as external
 neighbor TRANSPORT capability extended-nexthop
 neighbor 10.0.0.1 peer-group SERVICE
 neighbor 10.0.0.2 peer-group SERVICE
 neighbor Ethernet0 interface peer-group TRANSPORT
 neighbor Ethernet4 interface peer-group TRANSPORT
 address-family ipv4 unicast
  redistribute connected
  neighbor TRANSPORT activate
  neighbor TRANSPORT allowas-in
 exit-address-family
 address-family l2vpn evpn
  neighbor SERVICE activate
  advertise-all-vni
 exit-address-family
exit

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Confirmation of operation
&lt;/h3&gt;

&lt;h4&gt;
  
  
  
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;csr1000v-0
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;HOST#ping vrf 101-2 192.168.2.102 source 192.168.2.101 repeat 3
Type escape sequence to abort.
Sending 3, 100-byte ICMP Echos to 192.168.2.102, timeout is 2 seconds:
Packet sent with a source address of 192.168.2.101
.!!
Success rate is 66 percent (2/3), round-trip min/avg/max = 5/5/6 ms
HOST#
HOST#!#ping:ok
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;csr1000v-0 ~ sonicvsvm-7&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fu07szbcyalc4nf3kxaqi.JPG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fu07szbcyalc4nf3kxaqi.JPG" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;sonicvsvm-5 ~ sonicvsvm-7&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5ma0u0sve7wlw66bei7i.JPG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5ma0u0sve7wlw66bei7i.JPG" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  Supplemental information and others
&lt;/h1&gt;

&lt;h3&gt;
  
  
  Status of IPv4 FIB
&lt;/h3&gt;

&lt;p&gt;In the preparation process, IPv4 routes exchanged by BGP were being imported, but IPv4 communication for those routes was failing. In this case, the entries displayed in "show ip route" were not displayed in "ip route show".&lt;br&gt;
This problem was resolved by reloading once.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;before reloading
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;admin@R101:~$ show ip route
Codes: K - kernel route, C - connected, S - static, R - RIP,
       O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
       T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
       f - OpenFabric,
       &amp;gt; - selected route, * - FIB route, q - queued, r - rejected, b - backup
       t - trapped, o - offload failure

B&amp;gt;r 10.0.0.1/32 [20/0] via fe80::5054:ff:fe1c:514a, Ethernet0, weight 1, 00:04:19
  r                    via fe80::5054:ff:fe1d:5a36, Ethernet4, weight 1, 00:04:19
B&amp;gt;r 10.0.0.2/32 [20/0] via fe80::5054:ff:fe1c:514a, Ethernet0, weight 1, 00:04:19
  r                    via fe80::5054:ff:fe1d:5a36, Ethernet4, weight 1, 00:04:19
B&amp;gt;r 10.0.0.11/32 [20/0] via fe80::5054:ff:fe1c:514a, Ethernet0, weight 1, 00:05:53
B&amp;gt;r 10.0.0.12/32 [20/0] via fe80::5054:ff:fe1d:5a36, Ethernet4, weight 1, 00:05:53
B&amp;gt;r 10.0.0.13/32 [20/0] via fe80::5054:ff:fe1c:514a, Ethernet0, weight 1, 00:04:19
  r                     via fe80::5054:ff:fe1d:5a36, Ethernet4, weight 1, 00:04:19
B&amp;gt;r 10.0.0.14/32 [20/0] via fe80::5054:ff:fe1c:514a, Ethernet0, weight 1, 00:04:19
  r                     via fe80::5054:ff:fe1d:5a36, Ethernet4, weight 1, 00:04:19
C&amp;gt;* 10.0.0.101/32 is directly connected, Loopback0, 10:02:07
B&amp;gt;r 10.0.0.102/32 [20/0] via fe80::5054:ff:fe1c:514a, Ethernet0, weight 1, 00:04:19
  r                      via fe80::5054:ff:fe1d:5a36, Ethernet4, weight 1, 00:04:19

admin@R101:~$
admin@R101:~$ ip route show
240.127.1.0/24 dev docker0 proto kernel scope link src 240.127.1.1 linkdown
admin@R101:~$
admin@R101:~$ ping 10.0.0.102 -I 10.0.0.101 -c 3
PING 10.0.0.102 (10.0.0.102) from 10.0.0.101 : 56(84) bytes of data.

--- 10.0.0.102 ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2027ms

admin@R101:~$
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;after reloading
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;admin@R101:~$ show ip route
Codes: K - kernel route, C - connected, S - static, R - RIP,
       O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
       T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
       f - OpenFabric,
       &amp;gt; - selected route, * - FIB route, q - queued, r - rejected, b - backup
       t - trapped, o - offload failure

B&amp;gt;* 10.0.0.1/32 [20/0] via fe80::5054:ff:fe1c:514a, Ethernet0, weight 1, 00:01:30
  *                    via fe80::5054:ff:fe1d:5a36, Ethernet4, weight 1, 00:01:30
B&amp;gt;* 10.0.0.2/32 [20/0] via fe80::5054:ff:fe1c:514a, Ethernet0, weight 1, 00:01:30
  *                    via fe80::5054:ff:fe1d:5a36, Ethernet4, weight 1, 00:01:30
B&amp;gt;* 10.0.0.11/32 [20/0] via fe80::5054:ff:fe1c:514a, Ethernet0, weight 1, 00:01:30
B&amp;gt;* 10.0.0.12/32 [20/0] via fe80::5054:ff:fe1d:5a36, Ethernet4, weight 1, 00:01:30
B&amp;gt;* 10.0.0.13/32 [20/0] via fe80::5054:ff:fe1c:514a, Ethernet0, weight 1, 00:01:25
  *                     via fe80::5054:ff:fe1d:5a36, Ethernet4, weight 1, 00:01:25
B&amp;gt;* 10.0.0.14/32 [20/0] via fe80::5054:ff:fe1c:514a, Ethernet0, weight 1, 00:01:17
  *                     via fe80::5054:ff:fe1d:5a36, Ethernet4, weight 1, 00:01:17
C&amp;gt;* 10.0.0.101/32 is directly connected, Loopback0, 00:06:34
B&amp;gt;* 10.0.0.102/32 [20/0] via fe80::5054:ff:fe1c:514a, Ethernet0, weight 1, 00:01:25
  *                      via fe80::5054:ff:fe1d:5a36, Ethernet4, weight 1, 00:01:25

admin@R101:~$
admin@R101:~$ ip route show
10.0.0.1 nhid 226 proto bgp src 10.0.0.101 metric 20
        nexthop via inet6 fe80::5054:ff:fe1c:514a dev Ethernet0 weight 1
        nexthop via inet6 fe80::5054:ff:fe1d:5a36 dev Ethernet4 weight 1
10.0.0.2 nhid 226 proto bgp src 10.0.0.101 metric 20
        nexthop via inet6 fe80::5054:ff:fe1c:514a dev Ethernet0 weight 1
        nexthop via inet6 fe80::5054:ff:fe1d:5a36 dev Ethernet4 weight 1
10.0.0.11 nhid 227 via inet6 fe80::5054:ff:fe1c:514a dev Ethernet0 proto bgp src 10.0.0.101 metric 20
10.0.0.12 nhid 228 via inet6 fe80::5054:ff:fe1d:5a36 dev Ethernet4 proto bgp src 10.0.0.101 metric 20
10.0.0.13 nhid 226 proto bgp src 10.0.0.101 metric 20
        nexthop via inet6 fe80::5054:ff:fe1c:514a dev Ethernet0 weight 1
        nexthop via inet6 fe80::5054:ff:fe1d:5a36 dev Ethernet4 weight 1
10.0.0.14 nhid 226 proto bgp src 10.0.0.101 metric 20
        nexthop via inet6 fe80::5054:ff:fe1c:514a dev Ethernet0 weight 1
        nexthop via inet6 fe80::5054:ff:fe1d:5a36 dev Ethernet4 weight 1
10.0.0.102 nhid 226 proto bgp src 10.0.0.101 metric 20
        nexthop via inet6 fe80::5054:ff:fe1c:514a dev Ethernet0 weight 1
        nexthop via inet6 fe80::5054:ff:fe1d:5a36 dev Ethernet4 weight 1
240.127.1.0/24 dev docker0 proto kernel scope link src 240.127.1.1 linkdown
admin@R101:~$
admin@R101:~$ ping 10.0.0.102 -I 10.0.0.101 -c 3
PING 10.0.0.102 (10.0.0.102) from 10.0.0.101 : 56(84) bytes of data.
64 bytes from 10.0.0.102: icmp_seq=1 ttl=61 time=3.81 ms
64 bytes from 10.0.0.102: icmp_seq=2 ttl=61 time=3.29 ms
64 bytes from 10.0.0.102: icmp_seq=3 ttl=61 time=3.05 ms

--- 10.0.0.102 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 3.045/3.381/3.806/0.316 ms
admin@R101:~$
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Status of bridge table
&lt;/h3&gt;

&lt;p&gt;After successful L2 communication, the EVPN Route Type 2 routes exchanged by BGP were imported, but their entries were not displayed in output such as "show mac".&lt;br&gt;
In this environment, it is possible that this is a display problem or that unicast communication also success as BUM forwarding. It may be possible to proceed to isolate this point, for example, by adding NVEs.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;sonicvsvm-6
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;admin@R101:~$ #ping:ok
admin@R101:~$
admin@R101:~$ show mac
  No.    Vlan  MacAddress         Port       Type
-----  ------  -----------------  ---------  -------
    1       2  00:00:00:00:01:01  Ethernet8  Dynamic
Total number of entries 1
admin@R101:~$
admin@R101:~$ vtysh

Hello, this is FRRouting (version 8.2.2).
Copyright 1996-2005 Kunihiro Ishiguro, et al.

R101#
R101# show bgp l2vpn evpn
BGP table version is 9, local router ID is 10.0.0.101
Status codes: s suppressed, d damped, h history, * valid, &amp;gt; best, i - internal
Origin codes: i - IGP, e - EGP, ? - incomplete
EVPN type-1 prefix: [1]:[EthTag]:[ESI]:[IPlen]:[VTEP-IP]
EVPN type-2 prefix: [2]:[EthTag]:[MAClen]:[MAC]:[IPlen]:[IP]
EVPN type-3 prefix: [3]:[EthTag]:[IPlen]:[OrigIP]
EVPN type-4 prefix: [4]:[ESI]:[IPlen]:[OrigIP]
EVPN type-5 prefix: [5]:[EthTag]:[IPlen]:[IP]

   Network          Next Hop            Metric LocPrf Weight Path
Route Distinguisher: 10.0.0.101:1
*&amp;gt; [2]:[0]:[48]:[00:00:00:00:01:01]
                    10.255.0.101                       32768 i
                    ET:8 RT:65001:5002
*&amp;gt; [3]:[0]:[32]:[10.255.0.101]
                    10.255.0.101                       32768 i
                    ET:8 RT:65001:5002
Route Distinguisher: 10.0.0.102:1
* i[2]:[0]:[48]:[00:00:00:00:01:02]
                    10.255.0.102             0    100      0 i
                    RT:65001:5002 ET:8
*&amp;gt;i                 10.255.0.102             0    100      0 i
                    RT:65001:5002 ET:8
* i[3]:[0]:[32]:[10.255.0.102]
                    10.255.0.102             0    100      0 i
                    RT:65001:5002 ET:8
*&amp;gt;i                 10.255.0.102             0    100      0 i
                    RT:65001:5002 ET:8

Displayed 4 out of 6 total prefixes
R101#
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>sonic</category>
      <category>bgp</category>
      <category>vxlan</category>
      <category>evpn</category>
    </item>
    <item>
      <title>How to use SONiC on CML</title>
      <dc:creator>rhira777</dc:creator>
      <pubDate>Sat, 13 Aug 2022 17:58:12 +0000</pubDate>
      <link>https://dev.to/rhira777/how-to-use-sonic-on-cml-4j2m</link>
      <guid>https://dev.to/rhira777/how-to-use-sonic-on-cml-4j2m</guid>
      <description>&lt;h1&gt;
  
  
  Summary
&lt;/h1&gt;

&lt;p&gt;In CML (Cisco Modeling Labs), the available platforms can be defined and used by yourself in addition to the standard ones.&lt;/p&gt;

&lt;p&gt;This procedure is shown in the user guide.&lt;br&gt;
&lt;a href="https://developer.cisco.com/docs/modeling-labs/#!custom-vm-images" rel="noopener noreferrer"&gt;https://developer.cisco.com/docs/modeling-labs/#!custom-vm-images&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://sonic-net.github.io/SONiC/" rel="noopener noreferrer"&gt;SONiC&lt;/a&gt; is also available for virtual machines and containers.&lt;/p&gt;

&lt;p&gt;SONiC on virtual machine for Windows&lt;br&gt;
&lt;a href="https://github.com/sonic-net/SONiC/wiki/SONiC-on-virtual-machine-for-Windows" rel="noopener noreferrer"&gt;https://github.com/sonic-net/SONiC/wiki/SONiC-on-virtual-machine-for-Windows&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;HOWTO Use Virtual Switch (VM)&lt;br&gt;
&lt;a href="https://github.com/sonic-net/sonic-buildimage/blob/master/platform/vs/README.vsvm.md" rel="noopener noreferrer"&gt;https://github.com/sonic-net/sonic-buildimage/blob/master/platform/vs/README.vsvm.md&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;HOWTO Use Virtual Switch (Docker)&lt;br&gt;
&lt;a href="https://github.com/sonic-net/sonic-buildimage/blob/master/platform/vs/README.vsdocker.md" rel="noopener noreferrer"&gt;https://github.com/sonic-net/sonic-buildimage/blob/master/platform/vs/README.vsdocker.md&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This time, I tried to set up using SONiC image for virtual machines in CML 2.2.3 environment (installed on &lt;a href="https://dev.to/rhira777/getting-128gb-esxi-host-for-my-home-lab-year-2022-948"&gt;the previously built ESXi host&lt;/a&gt;), and was able to start using it.&lt;br&gt;
The following is a record of that.&lt;/p&gt;

&lt;h1&gt;
  
  
  Detail of what I did
&lt;/h1&gt;

&lt;h3&gt;
  
  
  Get SONiC image
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;In this case, obtain from the following

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://sonic.software/" rel="noopener noreferrer"&gt;https://sonic.software/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Download the virtual switch image file

&lt;ul&gt;
&lt;li&gt;Select the one from Branch 202205 this time&lt;/li&gt;
&lt;li&gt;"sonic-vs.img.gz".&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;/ul&gt;

&lt;/li&gt;

&lt;/ul&gt;




&lt;h3&gt;
  
  
  Define node
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Select "Node and Image Definition" from "TOOLS"&lt;/li&gt;
&lt;li&gt;Confirm that the "Node Definition" tab is selected and click the "ADD" button.&lt;/li&gt;
&lt;li&gt;Select/enter the following information in the "General" field

&lt;ul&gt;
&lt;li&gt;ID: "sonicvsvm"&lt;/li&gt;
&lt;li&gt;Nature: "switch"&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;li&gt;Select/enter the following information in the "User Interface" field

&lt;ul&gt;
&lt;li&gt;Prefix: "sonicvsvm-"&lt;/li&gt;
&lt;li&gt;Icon: "switch"&lt;/li&gt;
&lt;li&gt;Label: "SONiC Virtual Switch (VM)"
&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ff5u142d5x5rmdx7l2ixb.JPG" alt="Image description"&gt;
&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;/ul&gt;




&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Select/enter the following information in the "Linux Native Simulation" field&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Domain Driver: "KVM"&lt;/li&gt;
&lt;li&gt;Simulation Driver: "server"&lt;/li&gt;
&lt;li&gt;Disk Driver: "VirtIO"&lt;/li&gt;
&lt;li&gt;Memory: "2048" in this case&lt;/li&gt;
&lt;li&gt;CPUs: "2" in this case&lt;/li&gt;
&lt;li&gt;CPU Limit: "100"&lt;/li&gt;
&lt;li&gt;Network Driver: "E1000"
&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F65wyv3ud90ahrhjsagrz.JPG" alt="Image description"&gt;
---&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;li&gt;

&lt;p&gt;Select/enter the following information in the "Interfaces" field&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Loopback name: "Loopback0"&lt;/li&gt;
&lt;li&gt;Number of serial ports: "1"&lt;/li&gt;
&lt;li&gt;Default number of physical interfaces: "9" in this case&lt;/li&gt;
&lt;li&gt;interface 0："eth0"&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;li&gt;

&lt;p&gt;In the same field, press the "ADD INTERFACE" button until the number specified in the "Default number of physical interfaces" is displayed, and enter the following information&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;interface 1: "Ethernet0"&lt;/li&gt;
&lt;li&gt;interface 2: "Ethernet4"&lt;/li&gt;
&lt;li&gt;interface 3: "Ethernet8"&lt;/li&gt;
&lt;li&gt;interface 4: "Ethernet12"&lt;/li&gt;
&lt;li&gt;interface 5: "Ethernet16"&lt;/li&gt;
&lt;li&gt;interface 6: "Ethernet20"&lt;/li&gt;
&lt;li&gt;interface 7: "Ethernet24"&lt;/li&gt;
&lt;li&gt;interface 8: "Ethernet28"
&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffluxlnqa2cd3e8q7z86u.JPG" alt="Image description"&gt;
&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;/ul&gt;




&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Enter the following information in the "Boot" field&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Timeout: "480" in this case&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;li&gt;

&lt;p&gt;In the same field, click the "ADD BOOT LINE button" and enter the following information&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;"sonic login"&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;li&gt;&lt;p&gt;Click the CREATE button&lt;br&gt;&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsxc8o4zc78gxnjuwqe4j.JPG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsxc8o4zc78gxnjuwqe4j.JPG" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;

&lt;/ul&gt;

&lt;h3&gt;
  
  
  Define image
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Select "Node and Image Definition" from "TOOLS"&lt;/li&gt;
&lt;li&gt;Select the "Image Definition" tab&lt;/li&gt;
&lt;li&gt;Click the "MANAGE" button&lt;/li&gt;
&lt;li&gt;Select "Choose a file" in the "Upload New Image File" field and specify the downloaded SONiC image&lt;/li&gt;
&lt;li&gt;Click the "UPLOAD IMAGE" button
&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Futo4brjz5ko9eurhxhyu.JPG" alt="Image description"&gt;
&lt;/li&gt;
&lt;/ul&gt;




&lt;ul&gt;
&lt;li&gt;After confirming the display of the file specified in the "Uploaded Images" field, press the "CREATE NEW IMAGE DEFINITION" button.
&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9kxya27ls7lcvzq52flx.JPG" alt="Image description"&gt;
&lt;/li&gt;
&lt;/ul&gt;




&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Select/enter the following information in the "General" field&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;ID: "sonicvsvm-202205"&lt;/li&gt;
&lt;li&gt;Label: "SONiC Virtual Switch (VM) 202205"&lt;/li&gt;
&lt;li&gt;Disk Image: The uploaded SONiC image&lt;/li&gt;
&lt;li&gt;Node Definition: The defined node&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;li&gt;&lt;p&gt;Press "CREATE IMAGE DEFINITION" button&lt;br&gt;&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F06oovfv9b4h0icgiq2zt.JPG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F06oovfv9b4h0icgiq2zt.JPG" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;

&lt;/ul&gt;




&lt;h3&gt;
  
  
  Confirmation of operation
&lt;/h3&gt;

&lt;p&gt;I created a lab using the registered node and it was successfully started.&lt;br&gt;
It was also confirmed that communication with neighboring nodes was possible.&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsf9v7zbp6xgmstk718mf.JPG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsf9v7zbp6xgmstk718mf.JPG" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  Supplemental information and others
&lt;/h1&gt;

&lt;p&gt;The default username/password is admin/YourPaSsWoRd.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;SONiC USER MANUAL
&lt;a href="https://github.com/sonic-net/SONiC/blob/master/doc/SONiC-User-Manual.md" rel="noopener noreferrer"&gt;https://github.com/sonic-net/SONiC/blob/master/doc/SONiC-User-Manual.md&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  startup log
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;  Booting `SONiC-OS-202205.133812-e8fe21b3a'


Loading SONiC-OS OS kernel ...

Loading SONiC-OS OS initial ramdisk ...

tune2fs 1.46.2 (28-Feb-2021)
Setting reserved blocks percentage to 0% (0 blocks)
Setting reserved blocks count to 0
[    5.274055] rc.local[357]: + cat /etc/sonic/sonic_version.yml
[    5.286346] rc.local[358]: + grep build_version
[    5.308838] rc.local[372]: + sed -e s/build_version: //g;s/'//g
[    5.346575] rc.local[354]: + SONIC_VERSION=202205.133812-e8fe21b3a
[    5.374217] rc.local[354]: + FIRST_BOOT_FILE=/host/image-202205.133812-e8fe21b3a/platform/firsttime
[    5.406043] rc.local[354]: + SONIC_CONFIG_DIR=/host/image-202205.133812-e8fe21b3a/sonic-config
[    5.414535] rc.local[354]: + SONIC_ENV_FILE=/host/image-202205.133812-e8fe21b3a/sonic-config/sonic-environment
[    5.442671] rc.local[354]: + [ -d /host/image-202205.133812-e8fe21b3a/sonic-config -a -f /host/image-202205.133812-e8fe21b3a/sonic-config/sonic-environment ]
[    5.479881] rc.local[354]: + logger SONiC version 202205.133812-e8fe21b3a starting up...
[    5.551047] rc.local[354]: + grub_installation_needed=
[    5.579501] rc.local[354]: + [ ! -e /host/machine.conf ]
[    5.606349] rc.local[354]: + . /host/machine.conf
[    5.634855] rc.local[354]: + onie_arch=x86_64
[    5.641530] rc.local[354]: + onie_bin=
[    5.655218] rc.local[354]: + onie_boot_reason=install
[    5.664985] rc.local[354]: + onie_build_date=2018-11-17T04:18+00:00
[    5.672286] rc.local[354]: + onie_build_machine=kvm_x86_64
[    5.682261] rc.local[354]: + onie_build_platform=x86_64-kvm_x86_64-r0
[    5.699784] rc.local[354]: + onie_config_version=1
[    5.709808] rc.local[354]: + onie_dev=/dev/vda2
[    5.718218] rc.local[354]: + onie_disco_boot_reason=install
[    5.724046] rc.local[354]: + onie_disco_dns=10.0.2.3
[    5.739660] rc.local[354]: + onie_disco_interface=eth0
[    5.746767] rc.local[354]: + onie_disco_ip=10.0.2.15
[    5.752000] rc.local[354]: + onie_disco_lease=86400
[    5.762114] rc.local[354]: + onie_disco_mask=24
[    5.763791] rc.local[354]: + onie_disco_opt53=05
[    5.775585] rc.local[354]: + onie_disco_router=10.0.2.2
[    5.787520] rc.local[354]: + onie_disco_serverid=10.0.2.2
[    5.795402] rc.local[354]: + onie_disco_siaddr=10.0.2.2
[    5.797178] rc.local[354]: + onie_disco_subnet=255.255.255.0
[    5.803935] rc.local[354]: + onie_exec_url=file://dev/vdb/onie-installer.bin
[    5.817521] rc.local[354]: + onie_firmware=auto
[    5.823414] rc.local[354]: + onie_grub_image_name=shimx64.efi
[    5.827010] rc.local[354]: + onie_initrd_tmp=/
[    5.828773] rc.local[354]: + onie_installer=/var/tmp/installer
[    5.839240] rc.local[354]: + onie_kernel_version=4.9.95
[    5.842667] rc.local[354]: + onie_local_parts=
[    5.846107] rc.local[354]: + onie_machine=kvm_x86_64
[    5.851656] rc.local[354]: + onie_machine_rev=0
[    5.866354] rc.local[354]: + onie_neighs=[fe80::2-eth0],
[    5.870137] rc.local[354]: + onie_partition_type=gpt
[    5.873605] rc.local[354]: + onie_platform=x86_64-kvm_x86_64-r0
[    5.883782] rc.local[354]: + onie_root_dir=/mnt/onie-boot/onie
[    5.891640] rc.local[354]: + onie_secure_boot=yes
[    5.895686] rc.local[354]: + onie_skip_ethmgmt_macs=yes
[    5.900815] rc.local[354]: + onie_switch_asic=qemu
[    5.910116] rc.local[354]: + onie_uefi_arch=x64
[    5.914736] rc.local[354]: + onie_uefi_boot_loader=shimx64.efi
[    5.918640] rc.local[354]: + onie_vendor_id=42623
[    5.929991] rc.local[354]: + onie_version=master-201811170418
[    5.935779] rc.local[354]: + program_console_speed
[    5.961289] rc.local[381]: + cat /proc/cmdline
[    5.967825] rc.local[382]: + grep -Eo console=ttyS[0-9]+,[0-9]+
[    5.969963] kdump-tools[348]: Starting kdump-tools:
[    5.983970] rc.local[391]: + cut -d , -f2
[    5.989988] kdump-tools[385]: no crashkernel= parameter in the kernel cmdline ...
[    5.994164] kdump-tools[431]:  failed!
[    6.015307] rc.local[354]: + speed=115200
[    6.016722] rc.local[354]: + [ -z 115200 ]
[    6.022641] rc.local[354]: + CONSOLE_SPEED=115200
[    6.034225] rc.local[395]: + grep keep-baud
[    6.038480] rc.local[394]: + grep agetty /lib/systemd/system/serial-getty@.service
[    6.043188] rc.local[395]: ExecStart=-/sbin/agetty -o '-p -- \\u' --keep-baud 115200,57600,38400,9600 %I $TERM
[    6.052015] rc.local[354]: + [ 0 = 0 ]
[    6.053117] rc.local[354]: + sed -i s|\-\-keep\-baud .* %I| 115200 %I|g /lib/systemd/system/serial-getty@.service
[    6.059409] rc.local[354]: + systemctl daemon-reload
[    6.065592] rc.local[354]: + [ -f /host/image-202205.133812-e8fe21b3a/platform/firsttime ]
[    6.074332] rc.local[354]: + echo First boot detected. Performing first boot tasks...
[    6.078155] rc.local[354]: First boot detected. Performing first boot tasks...
[    6.081148] rc.local[354]: + [ -n  ]
[    6.086179] rc.local[354]: + [ -n x86_64-kvm_x86_64-r0 ]
[    6.088825] rc.local[354]: + platform=x86_64-kvm_x86_64-r0
[    6.090372] rc.local[354]: + [ -d /host/old_config ]
[    6.094434] rc.local[354]: + [ -f /host/minigraph.xml ]
[    6.096638] rc.local[354]: + [ -n  ]
[    6.101041] rc.local[354]: + touch /tmp/pending_config_initialization
[    6.102851] rc.local[354]: + touch /tmp/notify_firstboot_to_platform
[    6.108945] rc.local[354]: + [ ! -d /host/reboot-cause/platform ]
[    6.114369] rc.local[354]: + mkdir -p /host/reboot-cause/platform
[    6.116093] rc.local[354]: + [ -d /host/image-202205.133812-e8fe21b3a/platform/x86_64-kvm_x86_64-r0 ]
[    6.121007] rc.local[354]: + sync
[    6.126091] rc.local[354]: + [ -n x86_64-kvm_x86_64-r0 ]
[    6.135691] rc.local[354]: + [ -n  ]
[    6.138201] rc.local[354]: + mkdir -p /var/platform
[    6.143169] rc.local[354]: + [ -f /etc/default/kdump-tools ]
[    6.147718] rc.local[354]: + sed -i -e s/__PLATFORM__/x86_64-kvm_x86_64-r0/g /etc/default/kdump-tools
[    6.152807] rc.local[354]: + firsttime_exit
[    6.155310] rc.local[354]: + rm -rf /host/image-202205.133812-e8fe21b3a/platform/firsttime
[    6.165820] rc.local[354]: + exit 0


Debian GNU/Linux 11 sonic ttyS0

sonic login: admin

Password: 
Linux sonic 5.10.0-12-2-amd64 #1 SMP Debian 5.10.103-1 (2022-03-07) x86_64
You are on
  ____   ___  _   _ _  ____
 / ___| / _ \| \ | (_)/ ___|
 \___ \| | | |  \| | | |
  ___) | |_| | |\  | | |___
 |____/ \___/|_| \_|_|\____|

-- Software for Open Networking in the Cloud --

Unauthorized access and/or use are prohibited.
All access and/or use are subject to monitoring.

Help:    http://azure.github.io/SONiC/

admin@sonic:~$ 

admin@sonic:~$ show lldp table

Capability codes: (R) Router, (B) Bridge, (O) Other
LocalPort    RemoteDevice    RemotePortID    Capability    RemotePortDescr
-----------  --------------  --------------  ------------  -----------------
Ethernet0    sonic           fortyGigE0/0    BR            Ethernet0
--------------------------------------------------
Total entries displayed:  1
admin@sonic:~$ 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>homelab</category>
      <category>cisco</category>
      <category>cml</category>
      <category>sonic</category>
    </item>
    <item>
      <title>How to use Arista vEOS on CML</title>
      <dc:creator>rhira777</dc:creator>
      <pubDate>Sat, 13 Aug 2022 17:57:48 +0000</pubDate>
      <link>https://dev.to/rhira777/how-to-use-arista-veos-on-cml-50a2</link>
      <guid>https://dev.to/rhira777/how-to-use-arista-veos-on-cml-50a2</guid>
      <description>&lt;h1&gt;
  
  
  Summary
&lt;/h1&gt;

&lt;p&gt;In CML (Cisco Modeling Labs), the available platforms can be defined and used by yourself in addition to the standard ones.&lt;/p&gt;

&lt;p&gt;This procedure is shown in the user guide.&lt;br&gt;
&lt;a href="https://developer.cisco.com/docs/modeling-labs/#!custom-vm-images"&gt;https://developer.cisco.com/docs/modeling-labs/#!custom-vm-images&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Arista EOS also offers vEOS/cEOS available for virtual machines and containers.&lt;br&gt;
At the time of this writing, the software is available for download by anyone with user registration, and examples of its use in various network simulators are introduced.&lt;/p&gt;

&lt;p&gt;Setting up EVE-NG, CloudVision Portal and vEOS&lt;br&gt;
&lt;a href="https://aristanetworks.force.com/AristaCommunity/s/article/setting-up-eve-ng-cloudvision-portal-and-veos"&gt;https://aristanetworks.force.com/AristaCommunity/s/article/setting-up-eve-ng-cloudvision-portal-and-veos&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;vEOS/cEOS GNS3 Labs&lt;br&gt;
&lt;a href="https://aristanetworks.force.com/AristaCommunity/s/article/veos-ceos-gns3-labs"&gt;https://aristanetworks.force.com/AristaCommunity/s/article/veos-ceos-gns3-labs&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Running vEOS in GNS3 1.5&lt;br&gt;
&lt;a href="https://aristanetworks.force.com/AristaCommunity/s/article/running-veos-in-gns3-1-5"&gt;https://aristanetworks.force.com/AristaCommunity/s/article/running-veos-in-gns3-1-5&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;We can also see examples of attempts to use the system in CML.&lt;/p&gt;

&lt;p&gt;Using Arista with CML&lt;br&gt;
&lt;a href="https://www.youtube.com/watch?v=Bg8aHL48n5g&amp;amp;t=2s"&gt;https://www.youtube.com/watch?v=Bg8aHL48n5g&amp;amp;t=2s&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Importing Arista Devices into Cisco CML&lt;br&gt;
&lt;a href="https://www.youtube.com/watch?v=LfivGQa03sM&amp;amp;t=1166s"&gt;https://www.youtube.com/watch?v=LfivGQa03sM&amp;amp;t=1166s&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This time, I tried to set up EOS 4.28.1F in CML 2.2.3 environment (installed on &lt;a href="https://dev.to/rhira777/getting-128gb-esxi-host-for-my-home-lab-year-2022-948"&gt;the previously built ESXi host&lt;/a&gt;), and was able to start using it.&lt;br&gt;
The following is a record of that.&lt;/p&gt;

&lt;h1&gt;
  
  
  Detail of what I did
&lt;/h1&gt;

&lt;h3&gt;
  
  
  Get vEOS
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Obtain from Arista's website

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.arista.com/en/support/software-download"&gt;https://www.arista.com/en/support/software-download&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Download vmdk vEOS file

&lt;ul&gt;
&lt;li&gt;Select the non-64-bit one this time&lt;/li&gt;
&lt;li&gt;"vEOS-lab-XXXX.vmdk"&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;




&lt;h3&gt;
  
  
  Define node
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Select "Node and Image Definition" from "TOOLS"&lt;/li&gt;
&lt;li&gt;Confirm that the "Node Definition" tab is selected and click the "ADD" button.&lt;/li&gt;
&lt;li&gt;Select/enter the following information in the "General" field

&lt;ul&gt;
&lt;li&gt;ID: "veos"&lt;/li&gt;
&lt;li&gt;Nature: "switch"&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;li&gt;Select/enter the following information in the "User Interface" field

&lt;ul&gt;
&lt;li&gt;Prefix: "veos-"&lt;/li&gt;
&lt;li&gt;Icon: "switch"&lt;/li&gt;
&lt;li&gt;Label: "Arista vEOS"&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--RHifAFS9--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/u240f116iyvkclflpxii.JPG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--RHifAFS9--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/u240f116iyvkclflpxii.JPG" alt="Image description" width="880" height="550"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;ul&gt;
&lt;li&gt;Select/enter the following information in the "Linux Native Simulation" field

&lt;ul&gt;
&lt;li&gt;Domain Driver: "KVM"&lt;/li&gt;
&lt;li&gt;Simulation Driver: "server"&lt;/li&gt;
&lt;li&gt;Disk Driver: "IDE"&lt;/li&gt;
&lt;li&gt;Memory: "2048" in this case&lt;/li&gt;
&lt;li&gt;CPUs: "2" in this case&lt;/li&gt;
&lt;li&gt;CPU Limit: "100"&lt;/li&gt;
&lt;li&gt;Network Driver: "E1000"
&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--5sqFIIAN--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1uvqphlu9u436ab9x9gh.JPG" alt="Image description" width="880" height="550"&gt;
&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;/ul&gt;




&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Select/enter the following information in the "Interfaces" field&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Loopback name: "Loopback0"&lt;/li&gt;
&lt;li&gt;Number of serial ports: "1"&lt;/li&gt;
&lt;li&gt;Default number of physical interfaces: "9" in this case&lt;/li&gt;
&lt;li&gt;interface 0："Management1"&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;li&gt;

&lt;p&gt;In the same field, press the "ADD INTERFACE" button and enter the following information&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;interface 1: "Ethernet1"&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;li&gt;&lt;p&gt;In the same field, press the "INCREMENT LAST INTERFACE" button until the number specified in the "Default number of physical interfaces" is displayed.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--WLPUAcM_--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/lp69obj28jesaa9y1ikh.JPG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--WLPUAcM_--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/lp69obj28jesaa9y1ikh.JPG" alt="Image description" width="880" height="550"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Enter the following information in the "Boot" field&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Timeout: "480" in this case&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;li&gt;

&lt;p&gt;In the same field, click the "ADD BOOT LINE button" and enter the following information&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;"localhost login"&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Click the CREATE button&lt;br&gt;&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--73hTcSN6--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/8jtsxl0dxd9x1d233wg2.JPG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--73hTcSN6--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/8jtsxl0dxd9x1d233wg2.JPG" alt="Image description" width="880" height="550"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Define image
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Select "Node and Image Definition" from "TOOLS"&lt;/li&gt;
&lt;li&gt;Select the "Image Definition" tab&lt;/li&gt;
&lt;li&gt;Click the "MANAGE" button&lt;/li&gt;
&lt;li&gt;Select "Choose a file" in the "Upload New Image File" field and specify the downloaded vEOS file&lt;/li&gt;
&lt;li&gt;Click the "UPLOAD IMAGE" button
&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--R48bZ6J8--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/88fvwdcpv7zvne72b05p.JPG" alt="Image description" width="880" height="550"&gt;
&lt;/li&gt;
&lt;/ul&gt;




&lt;ul&gt;
&lt;li&gt;After confirming the display of the file specified in the "Uploaded Images" field, press the "CREATE NEW IMAGE DEFINITION" button.
&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--sJrlPTGB--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/n25k9osmr9gmrcnd2d1q.JPG" alt="Image description" width="880" height="550"&gt;
&lt;/li&gt;
&lt;/ul&gt;




&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Select/enter the following information in the "General" field&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;ID: "veos-4-28-1f"&lt;/li&gt;
&lt;li&gt;Label: "Arista vEOS 4.28.1F"&lt;/li&gt;
&lt;li&gt;Disk Image: The uploaded vEOS file&lt;/li&gt;
&lt;li&gt;Node Definition: The defined node&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Press "CREATE IMAGE DEFINITION" button&lt;br&gt;&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--hH8VRPJo--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/oejumhrxqvwqzxxom956.JPG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--hH8VRPJo--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/oejumhrxqvwqzxxom956.JPG" alt="Image description" width="880" height="550"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;




&lt;h3&gt;
  
  
  Confirmation of operation
&lt;/h3&gt;

&lt;p&gt;I created a lab using the registered node and it was successfully started.&lt;br&gt;
It was also confirmed that communication with neighboring nodes was possible.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Nc0Jf_dV--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xshwxgpi2pdr86tyhxmt.JPG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Nc0Jf_dV--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xshwxgpi2pdr86tyhxmt.JPG" alt="Image description" width="880" height="520"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  Supplemental information and others
&lt;/h1&gt;

&lt;p&gt;The Aboot file was not used in this work.&lt;br&gt;
Also, the conversion to qcow2 was not performed.&lt;/p&gt;

</description>
      <category>homelab</category>
      <category>cisco</category>
      <category>cml</category>
      <category>arista</category>
    </item>
    <item>
      <title>Getting external connectivity within CML on ESXi environment</title>
      <dc:creator>rhira777</dc:creator>
      <pubDate>Fri, 12 Aug 2022 15:01:32 +0000</pubDate>
      <link>https://dev.to/rhira777/getting-external-connectivity-within-cml-on-esxi-environment-8k5</link>
      <guid>https://dev.to/rhira777/getting-external-connectivity-within-cml-on-esxi-environment-8k5</guid>
      <description>&lt;h1&gt;
  
  
  Background and result
&lt;/h1&gt;

&lt;p&gt;In CML (Cisco Modeling Labs), when accessing each node in the lab from the outside via SSH, etc., a node called the External Connector is deployed and connected to the management interface of each node.&lt;/p&gt;

&lt;p&gt;This procedure is shown in the user guide.&lt;br&gt;
&lt;a href="https://developer.cisco.com/docs/modeling-labs/#!bridge-mode"&gt;https://developer.cisco.com/docs/modeling-labs/#!bridge-mode&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In my ESXi environment, the following work was required as a preliminary step.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Accept promiscuous mode in ESXi
&lt;a href="https://developer.cisco.com/docs/modeling-labs/#deploying-the-ova-on-esxi-server"&gt;https://developer.cisco.com/docs/modeling-labs/#deploying-the-ova-on-esxi-server&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;In addition, the following task was also required for CML 2.4.0.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Edit the bridge interface in CML
&lt;a href="https://developer.cisco.com/docs/modeling-labs/#!configuring-the-management-ip-address"&gt;https://developer.cisco.com/docs/modeling-labs/#!configuring-the-management-ip-address&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;




&lt;h1&gt;
  
  
  What I did
&lt;/h1&gt;

&lt;h3&gt;
  
  
  Accept promiscuous mode
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Check settings of port groups assigned to VMs in CML&lt;/li&gt;
&lt;li&gt;If it is inherited from a vSwitch, check the related vSwitch settings

&lt;ul&gt;
&lt;li&gt;Change promiscuous mode to accept and save&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;/ul&gt;




&lt;h3&gt;
  
  
  Edit the bridge interface
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Login to CML's Web console&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;https://{CML's IP address}:9090/&lt;/li&gt;
&lt;li&gt;username : "sysadmin"&lt;/li&gt;
&lt;li&gt;password : string specified during installation&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;li&gt;

&lt;p&gt;Press bridge0 after selecting Networking from the menu&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;At this time, check the interface on which the management IP address is set&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;li&gt;

&lt;p&gt;Press "+" on the port and select the interface you just checked&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;in this case "ens160"&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Confirm that bridge0 is assigned an IP address for management&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;The required step was the above.&lt;/p&gt;




&lt;h1&gt;
  
  
  Supplemental information and others
&lt;/h1&gt;

&lt;p&gt;If the hypervisor is nested, then promiscuous mode must be accepted for all vNICs/vSwitches that the communication passes through.&lt;/p&gt;

</description>
      <category>vmware</category>
      <category>esxi</category>
      <category>cisco</category>
      <category>cml</category>
    </item>
    <item>
      <title>Getting 128GB ESXi host for my home lab [Year 2022]</title>
      <dc:creator>rhira777</dc:creator>
      <pubDate>Sun, 31 Jul 2022 04:50:21 +0000</pubDate>
      <link>https://dev.to/rhira777/getting-128gb-esxi-host-for-my-home-lab-year-2022-948</link>
      <guid>https://dev.to/rhira777/getting-128gb-esxi-host-for-my-home-lab-year-2022-948</guid>
      <description>&lt;h1&gt;
  
  
  Background
&lt;/h1&gt;

&lt;p&gt;&lt;strong&gt;I want to deploy a large number of virtual routers.&lt;/strong&gt;&lt;br&gt;
-&amp;gt; &lt;strong&gt;I want to prepare 128GB ESXi host as inexpensive as possible.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Virtual appliances for commercial networking products tend to require a lot of memory. For this reason, memory size becomes a resource bottleneck when testing a network of many nodes in a virtualized environment.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;This is a trend for commercial software; using FRRouting with Docker and other methods will result in resource consumption that will scale.&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;I thought there were numerous options for 64GB, but this time I wanted a 128GB machine. Search showed that barebone is a useful option...so I tried it with current hardware, while gratefully following the information of our predecessors who have put it into practice.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.ivobeerens.nl/2019/06/04/using-the-shuttle-sh370r8-as-home-lab-server-with-vmware-esxi/"&gt;Using the new Shuttle SH370R8 as home lab server with VMware ESXi&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The following is a record of that.&lt;/p&gt;




&lt;h1&gt;
  
  
  Preparing hardware
&lt;/h1&gt;

&lt;p&gt;I prepared the following hardware:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Barebone：&lt;a href="https://www.amazon.com/dp/B09NRXP82Y/"&gt;SH570R6&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;CPU：&lt;a href="https://www.amazon.com/dp/B08X6QHYDL/"&gt;Corei7-11700&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Memory：&lt;a href="https://www.amazon.com/dp/B07ZLD6Q1G/"&gt;32GB&lt;/a&gt; * 4&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;SSD：&lt;a href="https://www.amazon.com/dp/B08695D3VW/"&gt;512GB&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;USB memory：16GB&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The power cable was the one included with the SH570R6.&lt;br&gt;
The LAN cable was used from home.&lt;br&gt;
During the ESXi installation process, I also used a display, an HDMI cable for its connection, and a USB-connected keyboard.&lt;/p&gt;

&lt;p&gt;SSD of 1 or 2TB would also be a good option.&lt;/p&gt;




&lt;h1&gt;
  
  
  Preparing software and license
&lt;/h1&gt;

&lt;p&gt;I prepared VMware vSphere and the license due to assuming to use and test it.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;License：&lt;a href="https://www.vmug.com/membership/vmug-advantage-membership/"&gt;VMUG Advantage&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The software could be downloaded along with the license.&lt;br&gt;
At the time of this trial, VMUG Advantage Membership subscriptions to be available were the following:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Uik8SgH3--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/dz7kx3xqvrrz76nywxhq.JPG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Uik8SgH3--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/dz7kx3xqvrrz76nywxhq.JPG" alt="Image description" width="880" height="864"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h1&gt;
  
  
  Installing hardware
&lt;/h1&gt;

&lt;p&gt;I could finish to install hardware according to &lt;a href="https://download.shuttle.com/MiniPC&amp;amp;AIO/cube/SH570R8/Manual/SH570R6_QUICKGUIDE.PDF"&gt;SH570R6 Series Quick Guide&lt;/a&gt;.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;No physical force was required for any of the tasks.&lt;/li&gt;
&lt;li&gt;During the process, the work was stopped for a while in the following places.

&lt;ul&gt;
&lt;li&gt;At "B. CPU and ICE Module Installation", "Unfasten the ICE fan thumbscrews on the back of the chassis" that was not included in the diagram.&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;/ul&gt;




&lt;h1&gt;
  
  
  Installing software
&lt;/h1&gt;

&lt;p&gt;I created the USB installation media with using &lt;a href="https://rufus.ie/"&gt;Rufus&lt;/a&gt;.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;I confirmed to be selected USB memory as the device and specified an iso file starting with "VMware-VMvisor-Installer-".&lt;/li&gt;
&lt;li&gt;I used ESXi 6.7 on this time.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;After that, I connected "Installation media(to USB)" "Power cable(to AC power)" "UTP cable(to LAN)" "Display (to HDMI)" "Keyboard(to USB)" to the barebone, and powered it on.&lt;/p&gt;

&lt;p&gt;After confirming BIOS booting, I entered BIOS setup view by entering F2 key. I specified USB as first order on Boot option in the "Boot" tab. After saving and exit from setup view, I could confirm ESXi booting.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;When I proceeded to start ESXi as it was, the installation process stopped with "Initialiizing IOV" displayed.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;When the following output in the lower right corner of the screen, I entered "o" key with pushing shift key.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Shift + O: Edit boot options &lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Then, following the output string, I typed "noIOMMU" after a single space and pressed Enter. ESXi booting proceeded and the installation wizard was displayed.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://communities.vmware.com/t5/ESXi-Discussions/i7-4770K-Haswell-core-ESXi5-1-hang-on-quot-initializing-IOV-quot/td-p/2169193"&gt;i7-4770K Haswell core - ESXi5.1 hang on "initializing IOV"&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;From then on, I confirmed the ESXi installation was complete by following the instructions to enter the information.&lt;/p&gt;




&lt;h1&gt;
  
  
  Result
&lt;/h1&gt;

&lt;p&gt;It worked fine.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--iJPuqdfQ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zpmk3xxw5ahflqfsi19e.JPG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--iJPuqdfQ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zpmk3xxw5ahflqfsi19e.JPG" alt="Image description" width="863" height="484"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--2AX_eght--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/cmdg84txzyzuzcxl4jyr.JPG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--2AX_eght--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/cmdg84txzyzuzcxl4jyr.JPG" alt="Image description" width="880" height="426"&gt;&lt;/a&gt;&lt;br&gt;
The license has been successfully installed ,too.&lt;/p&gt;




&lt;h1&gt;
  
  
  What I noticed
&lt;/h1&gt;

&lt;p&gt;It seemed that only one LAN port was recognized by ESXi, whereas two existed. Regarding this, there was actually a phenomenon that ESXi could not connect to the network when the right LAN port was first connected, and this was resolved by replacing it with the left port.&lt;/p&gt;

&lt;p&gt;Upon further investigation, it seems that the two LAN ports are of different types. If the second port is used in this environment, it is possible that an additional driver will be required.&lt;/p&gt;

</description>
      <category>vmware</category>
      <category>esxi</category>
      <category>vmug</category>
      <category>homelab</category>
    </item>
  </channel>
</rss>
