Start a Conversation

This post is more than 5 years old

Solved!

Go to Solution

1014840

June 24th, 2013 01:00

How to save configuration files from Switch to tftp Server

Hi there!
i want to copy running config/startup config from the switch 8164 to TFTP server.

On the workstation, i'm using Cisco TFTP which works fine for copying files beetwen cisco devices,

but i don't know what is the right commad from dell switches.
It says that need path to tftp folder, but i've tried and failed with this syntax:

copy start tftp:/192.168.1.14/c:/backup.txt

let me know.
Regards! 

5 Practitioner

 • 

274.2K Posts

July 9th, 2013 07:00

The image file should be .stk.

console#copy image tftp://192.168.1.14/image1.stk

5 Practitioner

 • 

274.2K Posts

July 9th, 2013 07:00

You should have not issues saving as a .txt

copy startup-config tftp://192.168.1.14/startup.txt

copy running-config tftp://192.168.1.14/running.txt

5 Practitioner

 • 

274.2K Posts

June 24th, 2013 14:00

Files can be uploaded from the Dell PowerConnect switch to the TFTP server. Both running and startup configuration can be backed up to TFTP server using the copy running-config and copy startup-config commands.

copy startup-config tftp://192.168.1.14/startup.bak

copy running-config tftp://192.168.1.14/running.bak

The above examples would copy the existing startup-configuration and running-configuration files to a TFTP server with the IP address 192.168.1.14. The files would be saved on the TFTP server with the filenames “startup.bak” and “running.bak” in whatever directory the TFTP server has designated as the TFTP root.

On the 8100 switches we may also need to specify {active | backup} at the end of the command.

75 Posts

July 9th, 2013 02:00

Hi Daniel!

What about if i save the file of running/startup config with .txt extension?

Is there any problem?

What about the image file?

how to save it? with what extension?

Regards!

75 Posts

July 9th, 2013 07:00

Ok, thank you!

What about the image file? what extension to use for it?

Regards!

75 Posts

July 10th, 2013 12:00

Ok, thank you!

And how to see the name of the image on the switch.

5 Practitioner

 • 

274.2K Posts

July 10th, 2013 13:00

The images should just be labeled image1 and image2. You can check by running

#show version

And also check the directory

#show dir

75 Posts

July 10th, 2013 14:00

For switched PC5524, i've seen this on the user guide book:

Table 8-76. File Upload CLI Commands

CLI Command Description

copy source-url destination-url Copies any file from a source to a

destination.

console# copy image tftp://10.6.6.64/uploaded.ros

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Copy: 4234656 bytes copied in 00:00:33 [hh:mm:ss]

01-Jan-2000 07:30:42 %COPY-W-TRAP:

The copy operation was completed successfully

WHY THE EXTENSION IS .ROS?

5 Practitioner

 • 

274.2K Posts

July 11th, 2013 06:00

Different model switches have different file types. If you download the firmware for the specific switch you will see the different file types.

55xx=.ROS

28xx=.ROS

62xx=.STK

70xx=.STK

81xx=.STK

1 Message

March 28th, 2017 11:00

Good afternoon.
I would like to run a script that would copy my run-config to a TFTP server.
I need to do is set this up so it can run unattended via Cron or another process available in Dell Switches.
Are any process to run that copy command once a day?

Thanks in advance.
Mauricio L. Gerez

5 Practitioner

 • 

274.2K Posts

April 5th, 2017 12:00

The newer N-series switches offer some Python scripting, the issue is with the scheduling. The switch is able to set the script to run on a select few triggers, such as on boot. But I have not seen anything that would let you schedule a specific time. 

http://dell.to/1Okfwha

I was able to successfully use a VBScript to open putty, initiate an SSH connection, log into a switch and then run any command you want.

http://bit.ly/2nEHwVK

The same results can be achieved on a Linux box using expect.

http://bit.ly/2nEQfHn

hope this helps.

5 Practitioner

 • 

274.2K Posts

May 3rd, 2017 11:00

Someone from the SpiceWorks community just posted up this PowerShell script that may be useful.

http://bit.ly/2qsFa1u

No Events found!

Top