Posted on June 12, 2017 1:53 pm
 |  Asked by Sabeer Ahamed
Print Friendly, PDF & Email
Posted by Tamas Plugor
Answered on June 12, 2017 2:33 pm

Hi Sabeer,

If you are on a linux/mac machine the easiest way would be to use secure copy


scp  <filename> username@<IP or hostname>://mnt/flash/

scp  EOS-4.18.2F.swi admin@


If you are on a windows machine, you could use WinSCP, which is a nice free tool you can find online that lets you transfer files from between your devices using scp, sftp,ftp or webdav. The easiest way would be to use SCP, however in order for it to work you have to make sure that the username you are using has privileged access to the switch and enters in ‘enable’ mode by default and when setting up the session, in the advanced option in Environment-SCP/Shell you have to make sure the Shell is bash. By default you’ll see the ‘Default’ keyword or ‘/bin/bash’ and you can just type ‘bash’ and click ok and Login. After this you can choose the file you need to upload to the switch from the left side of the commander window and you can simply use the drag and drop feature and drop it to the switch on the right side.

Alternatively, you could do the copy from the switch’s CLI or bash shell from your machine to the switch e.g.

From the CLI

copy via FTP:

#copy ftp:/user:password@ flash:/EOS-4.18.2F.swi

copy via SCP

#copy scp://user:password@ flash:/EOS-4.18.2F.swi

copy via HTTP

#copy flash:/EOS-4.18.2F.swi


From bash mode it would be similar to my first example.



Hope this helps.



Post your Answer

You must be logged in to post an answer.