Switches, Hubs, and Modems
cancel
Showing results for 
Search instead for 
Did you mean: 

Procurve 2626 tftp command-line

Rizal-DE
Occasional Contributor

Procurve 2626 tftp command-line

Hi,

I have a Procurve 2626 running H.10.83. I'm trying to get it to upload a backup of it's running-config and restore it to the running-config.

I use the command
# copy tftp command-line 192.168.1.102 sw_conf unix

to grab the config file from my linux tftp server. It prompts me to download the file and run the commands, I hit 'y', and see the commands run.

However, the state of the running-config is not changed.

What am I missing here.
5 REPLIES
Rizal-DE
Occasional Contributor

Re: Procurve 2626 tftp command-line

Actually,

The it seems the file had crlf characters in it which caused errors on upload. HOwever, I have a different issue.

It seems that uploading commands are limited to access lists.

"Command files are limited to access-list commands"

Is it possible to upload commands to the running config? e.g to change vlans, iface names, etc...

Thanks,
Mohammed Faiz
Honored Contributor

Re: Procurve 2626 tftp command-line

Hi,

It depends on what you're trying to achieve. If you just want an easy method of uploading fixed config changes without rebooting the switch then you should take a look at using procurve manager plus.
Gerhard Roets
Esteemed Contributor

Re: Procurve 2626 tftp command-line

Hi Rizal

You might want to try the following for the 2610

Backup
copy startup tftp 192.168.1.102 sw_conf unix

restore
copy tftp startup 192.168.1.102 sw_conf unix


HTH
Gerhard
Gerhard Roets
Esteemed Contributor

Re: Procurve 2626 tftp command-line

I meant to say 2626 in the above post oops
Pieter 't Hart
Honored Contributor

Re: Procurve 2626 tftp command-line

look at this link
https://my.procurve.com/knowledgebase/knowledgemanagement.aspx?wp=showarticle&id=907

>>> However, the state of the running-config is not changed. <<<
with the command in the above document, the saved-config is copied to the startup-config file. A reload will be needed.
You may be asked to save the running-config:
!!! do not save the running-config, as this will overwritte tftp-copied file !!!

with your command >>>copy tftp command-line 192.168.1.102 sw_conf unix <<<
the tftp-copied file may be copied to flash but named named "command-line", not the startup-config!

NB! when trying the same copy to the running-config, it will NOT replace, but be merged with the current running-config.
Possibly this is what you found about access-lists?