Switches, Hubs, and Modems
1825805 Members
3555 Online
109687 Solutions
New Discussion

Tftp server on procurve switch?

 
SOLVED
Go to solution
RicN
Valued Contributor

Tftp server on procurve switch?


I have noticed that you can disable a tftp-server service with the command "no tftp server", but what is the reason for the server to be started by default?

What can it be used for? Can I download something from the tftp server? Os image or configuration files?
7 REPLIES 7
Matt Hobbs
Honored Contributor

Re: Tftp server on procurve switch?

Yep, it can be handy when copying the running flash image from one switch to another... copy tftp flash flash pri|sec

RicN
Valued Contributor

Re: Tftp server on procurve switch?


Thank you for your reply!

So I can download the os image, but not the running/startup configuration?

(Since the lack of authentication in tftp that would not be nice.)

Anyway, would it be recommended to turn the tftp server off if I do not intend to use it?
Steven Piercy_1
Occasional Advisor

Re: Tftp server on procurve switch?

try the following (from 9300 manual):

USING THE CLI
To initiate transfers of configuration files to or from a TFTP server using the CLI, enter one of the following
commands:

copy startup-config tftp
- Use this command to upload a copy of the startup configuration file from the Routing Switch to a TFTP server.

copy running-config tftp
- Use this command to upload a copy of the running configuration file from the Routing Switch to a TFTP server.

copy tftp startup-config
- Use this command to download a copy of the startup configuration file from a TFTP server to a Routing Switch.
RicN
Valued Contributor

Re: Tftp server on procurve switch?


Thank you Steven for your reply.

I do think the command you have mentioned however is for the tftp client on the Procurve switches, and I was looking for some information (and potential danger) with the built-in tftp server.
Matt Hobbs
Honored Contributor
Solution

Re: Tftp server on procurve switch?

By default the TFTP is 'secured' in that you cannot copy startup/running-config from it. You can un-secure it by setting a particular SNMP OID (this is how I believe PCM+ copies over the configurations when using TFTP). Once it has copied it over, it secures it again.
RicN
Valued Contributor

Re: Tftp server on procurve switch?


Thanks Matt!
John_RMIT
New Member

Re: Tftp server on procurve switch?

If I wanted to use a 3rd party tool to back up the switches, how can I set this OID so that I can back the switches up?

 

Otherwise, I end up with an 'access violation'

 

Cheers,