a new york city based group for IT professionals

Finally — copying from a USB slot!!

Studying for the ACE-A exam now, and one of the nifty things with an Arista switch is the ability to (FINALLY) copy to and from the USB slot!!

All Arista switches come with a USB slot and there is no need to format the drive in FAT. FAT32 worked just fine for me (will need to test if NFTS works). This made it super easy and fast to upgrade my switch to the latest code. All I did was drag and drop the .swi file onto the USB slot and then plug it into the switch. Best of all, unlike other switch vendors, the Arista EOS (their switch OS) runs almost just like the Cisco IOS, making it once again super easy for any network veteran to pick up.

Here’s a quick run down of the commands I used, the two that stick out are dir usb1:, you can view the contents of the USB slot, and of course, the ability now to copy TO/FROM the USB slot. Granted, usually the switches are in a datacenter somewhere, but at least this a way to for remote hands to copy/paste config or upgrade code without needing to spin up a TFTP server and get l3 connectivity.


7010T-B#dir
Directory of flash:/

-rwx 366454059 Aug 14 2014 EOS-4.14.1.swi
-rwx 26 Aug 14 2014 boot-config
drwx 4096 Jan 1 18:35 debug
drwx 4096 Jan 1 18:32 persist
drwx 4096 Aug 14 2014 schedule
-rwx 1535 Jan 1 18:41 startup-config
-rwx 0 Jan 1 18:34 zerotouch-config

3492257792 bytes total (2754994176 bytes free)
7010T-B#dir ?
all-filesystems List files on all filesystems
extension: Directory or file name
file: Directory or file name
flash: Directory or file name
system: Directory or file name
usb1: Directory or file name
/all List all files, including hidden files
/recursive List files recursively
<cr>

7010T-B#dir usb1:
Directory of usb1:/

-rwx 1061452 Mar 9 2015 ACEWKSHP_Lab Guide_FINAL_v1.0.pdf
-rwx 4194304 Nov 10 2014 Aboot-veos-2.0.8.iso
-rwx 906808 Nov 14 2014 Arista Test Drive LABS-SHORT.pdf
-rwx 24535304 Nov 14 2014 Arista Test Drive.pdf
-rwx 363900018 Dec 24 2015 EOS-4.14.9M.swi
drwx 4096 Jul 9 2015 FOUND.000
drwx 4096 May 7 2015 Packer Distribution
-rwx 222349312 Dec 29 2015 SilverPeak-7.3.2.iso
drwx 4096 May 7 2015 System Volume Information
drwx 4096 May 7 2015 packer-veos-master
drwx 4096 May 7 2015 packer-ztpserver-master
-rwx 702545920 Nov 10 2014 ubuntu-12.04.5-server-i386.iso
-rwx 209967773 Nov 10 2014 vEOS-4.14.2F.swi

8162869248 bytes total (4655919104 bytes free)
7010T-B#copy usb1:EOS-4.14.9M.swi flash:
Copy completed successfully.
7010T-B#dir flash:
Directory of flash:/

-rwx 366454059 Aug 14 2014 EOS-4.14.1.swi
-rwx 363900018 Jan 1 18:58 EOS-4.14.9M.swi
-rwx 26 Aug 14 2014 boot-config
drwx 4096 Jan 1 18:35 debug
drwx 4096 Jan 1 18:32 persist
drwx 4096 Aug 14 2014 schedule
-rwx 1535 Jan 1 18:41 startup-config
-rwx 0 Jan 1 18:34 zerotouch-config

3492257792 bytes total (2391093248 bytes free)

Finally to upgrade the switch, same way we would do on a Cisco box.


7010T-B(config)#boot system flash:EOS-4.14.9M.swi
7010T-B#show boot ?
> Redirect output to URL
>> Append redirected output to URL
| Output modifiers



7010T-B#show boot
Software image: flash:/EOS-4.14.9M.swi
Console speed: (not set)
Aboot password (encrypted): (not set)
Memory test iterations: (not set)

Save the config and reload the box and we're good!

 

William Zambrano

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

Submit a Comment

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


2 + = six

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>