Você está na página 1de 12

Installing Arista vEOS on VMware Workstation - NYC Networkers Pagina 1 di 12

NYC Networkers
a new york city based group for IT professionals

Home Documents Python Labs Book List Google Docs List Links About Us\Contact Us f

Installing Arista vEOS on VMware Workstation Search

by William Zambrano | Feb 14, 2015 | Python, Study Tips, Switching | 3 comments

So why do I want to install an Arista vEOS? Well, this is like saying “why should I buy a fully loaded Mercedez Benz S Class '
coupe, or a Telsa S model over a Nissan Sentra (calm down, I drove a Sentra for almost 5 years!).

Archives
Features.
February 2017
At the end of the day, we usually pay more for an item because it comes with more bells & whistles, better quality, or it January 2017
could be your buying a brand name Coach glasses over the CVS brand. I’d rather eat a steak over at Smith & Wollensky November 2016
over on 49th and 3rd over Applebees anyway. Now that steak will be a helluva lot more — but the quality speaks for itself. January 2016
You get the point, right :) December 2015
November 2015
We all know there’s are other vendors out there other than Cisco. Like cars, (as you can tell, I love using the car analogies),
August 2015
each car manufacturer has its own style of making cars. Arista offers a feature that other vendors don’t, and that’s leaving
July 2015
its main OS — EOS (their version of IOS or NX-OS) and falling into the bash shell and poking around the switches inner
June 2015
guts. More interesting enough, Python scripts. March 2015

***update: the Cisco Nexus 9k now offers users to drop into the bash shell as well!*** February 2015
December 2014
[wzambrano@Arista-vEOS CliPlugin]$ pwd November 2014
/usr/lib/python2.7/site-packages/CliPlugin October 2014

http://www.nycnetworkers.com/study-tips/installing-arista-veos-vmware-workstation/ 26/05/2017
Installing Arista vEOS on VMware Workstation - NYC Networkers Pagina 2 di 12

[wzambrano@Arista-vEOS CliPlugin]$ ls September 2014


AaaCli.py EbraShowTechCli.pyc LagIntfCli.pyc PeerIntfCli.pyc
August 2014 SendCli.pyc
AaaCli.pyc EbraSnmpCli.py LagIntfMlagCli.py PfcCli.py July 2014 SessionCli.py
AaaModel.py EbraSnmpCli.pyc LagIntfMlagCli.pyc PfcCli.pyc June 2014 SessionCli.pyc
AaaModel.pyc EmailCli.py LagIntfModel.py PhyCli.py May 2014 SflowCli.py
AclCli.py EmailCli.pyc LagIntfModel.pyc PhyCli.pyc April 2014 SflowCli.pyc
March 2014
The output above is a small spinet of the Python scripts one can see and modify. You could even make your own in here!
February 2014
(im not there yet though!)
January 2014
[wzambrano@Arista-vEOS CliPlugin]$ vi MacAddr.py December 2013
# Copyright (c) 2006 Arista Networks, Inc. All rights reserved.
# Arista Networks, Inc. Confidential and Proprietary.

import CliParser, Ethernet, Arnet

`
#-------------------------------------------------------------------------------
# Rule for matching MAC addresses. The value of this rule is the MAC address
Categories
# string as typed by the administrator.
#------------------------------------------------------------------------------- Arista

macAddr = CliParser.PatternRule( Ethernet.macAddrPattern, name='macAddr', Bugs

helpname='H.H.H', helpdesc='MAC address' ) Cisco Live


Cloud/Automation

def compareMacs( lhs, rhs ): Data Center

'''Convert Mac address strings to Arnet.EthAddrs for comparison. Mac address GNS3

strings can be in the form of either (mixed, or homogenous) XX.XX.XX or Linux

X:X:X:X:X:X''' Load Balancers

if lhs == None or rhs == None: Management

return False Meetup

mac1 = Arnet.EthAddr( lhs ) Multicast

mac2 = Arnet.EthAddr( rhs ) Python

return mac1 == mac2 Real World


Routing

http://www.nycnetworkers.com/study-tips/installing-arista-veos-vmware-workstation/ 26/05/2017
Installing Arista vEOS on VMware Workstation - NYC Networkers Pagina 3 di 12

This is a brief script — just one example of the many python scripts that you could mess with! SDN
Security
OK enough of the intro, let’s jump into the config.
Self Improvement

First, you’ll need two files (unlike IOS in GNS3, where we just need a .bin file) a boot iso file and the vmdk file. You can go Study Tips

to Arista’s website and sign up with an account and download these files. As of this writing, I downloaded the latest… Switching
UCS
Aboot-veos-2.0.8.iso Uncategorized
vEOS-lab-4.14.5F.vmdk Upgrade
VMware
Note you can also look on Arista’s page for instructions on how to install the vEOS here
Voice
https://eos.arista.com/veos-running-eos-in-a-vm/ Website Changes
YouTube Videos
Great, now lets fire up Workstation and create a New virtual Machine. On this screen, pick I will install the OS later.

http://www.nycnetworkers.com/study-tips/installing-arista-veos-vmware-workstation/ 26/05/2017
Installing Arista vEOS on VMware Workstation - NYC Networkers Pagina 4 di 12

Hit Next until we get the Guest OS Screen — here select Fedora 64-bit. In the virtual machine name, choose whatever
you’d like (default is Fedora 64-bit X, you can name it vEOS or the like).

Under processsor here, I just left it at the defaults, hit Next and you can leave it at 1GB of RAM, but Arita’s documentation
wants 2 GB. Since its just a lab, 1 GB shouldnt hurt.

http://www.nycnetworkers.com/study-tips/installing-arista-veos-vmware-workstation/ 26/05/2017
Installing Arista vEOS on VMware Workstation - NYC Networkers Pagina 5 di 12

Click next to get to the Network Connection. Here is a personal preference on how you’d like to access your gear. Since I
just wanted to access it via my own personal network, I selected bridged networking. You could also set it up as host-only,
or NAT, its up to you how you’d like to access it.

http://www.nycnetworkers.com/study-tips/installing-arista-veos-vmware-workstation/ 26/05/2017
Installing Arista vEOS on VMware Workstation - NYC Networkers Pagina 6 di 12

Next, we’ll for the control type, you can select the default LSI Logic and then we need to pick IDE disk type (will not work
with SATA as per the documentation).

http://www.nycnetworkers.com/study-tips/installing-arista-veos-vmware-workstation/ 26/05/2017
Installing Arista vEOS on VMware Workstation - NYC Networkers Pagina 7 di 12

Next on the Select a Disk, this where we’ll finally use one of our two files. Here, pick “use an existing virtual disk” and pick
the .vmdk file. You might get a message staying to Convert or Keep the Existing format. I found  that it wouldn’t work for
me until I clicked Convert.

Finally, once we get to the “Ready to Create” page, click Customized Hardware.

http://www.nycnetworkers.com/study-tips/installing-arista-veos-vmware-workstation/ 26/05/2017
Installing Arista vEOS on VMware Workstation - NYC Networkers Pagina 8 di 12

Here, all we need to do next is go to the CD/DVD drive and use the last file we had (the .iso) and make sure the Connect at
Power On is selected. Optionally you can remove other things here like printer or sound card.

Thats it! Hit Power on and when you see “booting flash:/file_name.swi” we’re clear. The default credentials here are
“admin” with blank password (just hit enter). Setup an IP address on the mgmt1 interface so you can SSH to the box
instead of being confined to the console window (you’ll need to setup a username XXX secret XXX priv 15 account).

Finally to get into the good stuff, once logged hit, simply type #bash from the privileged level. Linux users rejoice! CD to
the python path to start looking at the python scripts via /usr/lib/python2.7/site-packages/CliPlugin Type “exit” to exit
out of bash and go back to the EOS.

http://www.nycnetworkers.com/study-tips/installing-arista-veos-vmware-workstation/ 26/05/2017
Installing Arista vEOS on VMware Workstation - NYC Networkers Pagina 9 di 12

William Zambrano
NYC networkers is run by William Zambrano, a passionate network engineer who has been in
the IT industry for eight years who posts up blog articles, YouTube videos, and holds
meetup.com events in the NYC area. He lives in Queens, New York and has consulted in
various different companies in the NY area. Previously William worked as a Cisco Certified
Systems Instructor (CCSI) but now currently works for Arista Networks serving as a Systems
Engineer. William can be reached by email at willzambrano@gmail.com

More Posts - Website

3 Comments
amb1s1@gmail.com on February 25, 2015 at 11:54 PM
Reply
The link to download the files is:
https://www.arista.com/en/support/software-download

http://www.nycnetworkers.com/study-tips/installing-arista-veos-vmware-workstation/ 26/05/2017
Installing Arista vEOS on VMware Workstation - NYC Networkers Pagina 10 di 12

Rakesh Chandela on January 5, 2016 at 2:27 AM


Reply
Thanks William,

It’s really help me a lot… Hats off to you!!!

Thanks
Rakesh Chandela

Raz Mack on February 9, 2017 at 10:35 AM


Reply
Thanks William very good guide.

Submit a Comment
Your email address will not be published. Required fields are marked *

Name *

Email *

Website

5× = fifteen

http://www.nycnetworkers.com/study-tips/installing-arista-veos-vmware-workstation/ 26/05/2017
Installing Arista vEOS on VMware Workstation - NYC Networkers Pagina 11 di 12

Comment 

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b>
<blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Submit Comment
Confirm you are NOT a spammer

Recent Posts Recent Comments What is NYC Networkers?


Cisco Cert Update – Feb 2017 Bryan on Cisco Nexus 5500 This is a group dedicated to
Unknown state L3 Not Ready IT professionals who are
Copying from a SFTP Server
interested in meeting with others
How to Upgrade a Cisco Nexus
Goodbye! to meet, learn, exchange ideas,
5500 | Serhii Maistrenko on
Arista EOS – CLI Cheat Sheet

http://www.nycnetworkers.com/study-tips/installing-arista-veos-vmware-workstation/ 26/05/2017
Installing Arista vEOS on VMware Workstation - NYC Networkers Pagina 12 di 12

How to Upgrade a Cisco Nexus and network in the NY tri-state


5500 area.

Raz Mack on Installing Arista


vEOS on VMware Workstation

Sebastien GELLY on How to


monitor Cisco ASA VPN Tunnel
state via SNMP

Alex on Synology DS Video –


Unknown Error

http://www.nycnetworkers.com/study-tips/installing-arista-veos-vmware-workstation/ 26/05/2017

Você também pode gostar