Aruba & ProVision-based
1748032 Members
4955 Online
108757 Solutions
New Discussion юеВ

Re: Procurve config backup

 
SOLVED
Go to solution
Darren Etheridge_2
Super Advisor

Procurve config backup

is there a CLI command on the Procurve 5406zl switches that I can backup the switch configuration?

Darren
4 REPLIES 4
Jeff Carrell
Honored Contributor
Solution

Re: Procurve config backup

Copy a saved config or running config to a tftp server:

Switch# copy tftp

example from running to file:

Switch# copy run tftp 10.1.1.10 config1.cfg

hth...Jeff

PS:
Get this CLI ref guide, it shows how to configure HP ProVision, HP Comware5 and Cisco switches for lots of different functions, in a side-by-side comparison, so if you know one CLI, you see how to do it in a different CLI:

http://www.itclatam.com/pdf/HP-Networking-and-Cisco-CLI-Reference-Guide_June_10_WW_Eng_ltr.pdf

More than you may need, but good, concise bits of info.

Mohammed Faiz
Honored Contributor

Re: Procurve config backup

You can also backup the config remotely with SSH and SCP enabled on the switch ("ip ssh" and "ip ssh filetransfer"), using:

(for example)

pscp -scp -l USERNAME -pw PASSWORD -2 192.168.100.1:cfg/running-config c:\switch.cfg
Roman Priesol
Occasional Advisor

Re: Procurve config backup

..or you can use automated backup solution http://www.shrubbery.net/rancid/ with configuration versioning (it's not only cisco...).

I like turtles!
nileshkahar
Visitor

Re: Procurve config backup

I am trying to configure rancid for hp 2530-8g switch, it works fine when there is no login configured on switch. But as soon as I set password for manager, rancid starts fail to login to switch. It looks like prompt issues with HP switch. 

Can somebody please help here.
=================.cloginrc=================
add user 172.30.240.5 manager
add password 172.30.240.5 manager
add method 172.30.240.5 ssh

=================router.db================
172.30.240.5;hp;up;

Rancid version is 3.7.