Wired Intelligent Edge

 View Only
  • 1.  Procurve config backup

    Posted Jun 09, 2011 02:04 PM
    is there a CLI command on the Procurve 5406zl switches that I can backup the switch configuration?

    Darren


  • 2.  RE: Procurve config backup

    Posted Jun 09, 2011 09:43 PM

    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.



  • 3.  RE: Procurve config backup

    Posted Jun 10, 2011 06:24 AM
    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


  • 4.  RE: Procurve config backup

    Posted Jul 07, 2011 04:14 AM

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



  • 5.  RE: Procurve config backup

    Posted Jan 06, 2018 06:03 AM

    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.