Connecting NXOS VIRL instance to Arista vEoS

In this blog, I will cover the steps that I did to connect Cisco NXOS VIRL switch instance to Arista vEoS switch instance. We can connect any Cisco switch simulated in VIRL, I just picked the NXOS switch type. CML/VIRL supports majority of Cisco switches as VM as well as few external switches from Juniper, Vyatta. External virtual or physical switches can be connected to Cisco switches running inside VIRL using VM Networking magic. I just think it is cool to connect Virtual devices, try out real-time network configurations and see how the device responds.


  • Install CML/VIRL using the procedure here.
  • Install vEoS using the procedure here.
  • I used VMPlayer to run VIRL and vEoS. Connecting across Virtualbox and VMWare player is little painful.

Following is the network I created:


  • On vEos1 and vEos2, I have 3 network adapters in separate custom networks as mentioned in the picture as VMNET*. Arista chooses the first interface as mgmt, other interfaces get numbered as eth*.
  • Ubuntu instance is more for management purpose. For this test, its not really needed.
  • On VIRL simulator, I have first interface mapped to NAT(for external connectivity), second interface mapped to VMNET11(this is used for flat network) which matches with vEoS eth2 interface.
  • It is needed to keep the VMNET* number same between vEoS and nxosv and between vEoS instances to simulate the physical connectivity.
  • Using VM Maestro, I created a NXOSv 7.2 switch connected to flat network and using private simulation network for management. By default, ethernet 2/1 interface is chosen to connect to the flat network.


  •  On Arista device, set hostname. lldp is enabled by default on all interfaces.
  • On nxos switch, I enabled interface 2/1, enabled lldp feature, enabled lldp transmit/receive on ethernet e2/1. Following are relevant outputs on the nxos and Arista switch.

nxos switch:

nxosv1# show version
Cisco Nexus Operating System (NX-OS) Software
NX-OSv is a demo version of the Nexus Operating System Software
  loader:    version N/A
  kickstart: version 7.2(0)D1(1) [build 7.2(0)ZD(0.120)]
  system:    version 7.2(0)D1(1) [build 7.2(0)ZD(0.120)]
  kickstart image file is: bootflash:///titanium-d1-kickstart.7.2.0.ZD.0.120.bin
  kickstart compile time:  3/8/2015 1:00:00 [03/08/2015 11:04:12]
  system image file is:    bootflash:///titanium-d1.7.2.0.ZD.0.120.bin
  system compile time:     3/8/2015 1:00:00 [03/08/2015 15:34:48]
nxosv1# show lldp neighbors
Capability codes:
(R) Router, (B) Bridge, (T) Telephone, (C) DOCSIS Cable Device
(W) WLAN Access Point, (P) Repeater, (S) Station, (O) Other
Device ID Local Intf Hold-time Capability Port ID
veos01 Eth2/1 120 B Ethernet2
Total entries displayed: 1

 Arista switch:


As we can see above from lldp neighbors, Arista switch vEoS1 sees both nxos switch and vEoS2 and nxos switch sees vEoS1.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s