Comware

 View Only
  • 1.  HPE 5900 Router(5900AF-48XG-4QSFP+)

    Posted Feb 23, 2021 02:40 PM

    What is the fastest way to configure an HPE 5900 Router(assuming original went bad and you have a backup of the config) when you have an identical spare unit? Thanks



  • 2.  RE: HPE 5900 Router(5900AF-48XG-4QSFP+)

    Posted Feb 23, 2021 02:57 PM

    Hi! if the spare unit is identical to the one you want to replace (same SKU) copying the configuration file you have saved (as backup) into the defaulted spare unit (maybe ensuring the same level of Comware software to do a real like-for-like exchange) should be enough to have it running exactly how it run on the gone one. 



  • 3.  RE: HPE 5900 Router(5900AF-48XG-4QSFP+)

    Posted Feb 23, 2021 03:13 PM

    Thanks, I'll give it a try. Just trying to minimize downtime in our campuses if something goes wrong with one of this units.  So far this units have been working non-stop for about 6 years.  Thanks for the quick response.



  • 4.  RE: HPE 5900 Router(5900AF-48XG-4QSFP+)

    Posted Feb 23, 2021 03:27 PM

    Hi @Canaveth !

    Old 5900:

    <Old_5900> save safely force
    <Old_5900> backup startup-configuration to <tftp-server> 5900-backup.cfg


    New 5900:

    Step 1: If new switch at factory defaults, skip to Step 2. Otherwise if any non-default configuration exists, first reset the config and reboot:

    <New_5900> reset saved-configuration
    <New_5900> reboot
    # BE CAREFUL AND DO NOT SAVE CURRENT CONFIG BEFORE THE REBOOT! Pay attention to what device asks you 

     

    Step 2: Restore the configuration from TFTP server :

    <New_5900> restore startup-configuration from <tftp-server> 5900-backup.cfg


    Step 3a: Either reboot the switch to load the new config (recommended), OR:
    Step 3b: Replace running-configuration with the downloaded file:

    <New_5900> configuration replace file 5900-backup.cfg


    Hope this helps!

     

     



  • 5.  RE: HPE 5900 Router(5900AF-48XG-4QSFP+)

    Posted Feb 23, 2021 03:34 PM

    Thanks Ivan, What about if the two units are not exactly the same?

    This are the two units that we have:

    5900AF-48XG-4QSFP+ (Working Unit)

    FF 5940 48SFP+    (Spare)

     

    Really appreciate the help.



  • 6.  RE: HPE 5900 Router(5900AF-48XG-4QSFP+)

    Posted Feb 23, 2021 03:50 PM

    I am afraid in this case it won't work. 'backup startup-configuration' and 'restore startup-configuration' commands will work only with identical units. 5900 and 5940 are too different devices - different chipset, different ports, different software and hardware feature sets etc etc. Even if technically such configuration transfer will work (which I highly doubt, but never tried that, so who knows...), it may bring many problems and instability to the new unit. I definitely wouldn't go this way. Unfortunately, manual reconfiguration is the only way in case of 5900 --> 5940 migration.

     



  • 7.  RE: HPE 5900 Router(5900AF-48XG-4QSFP+)

    Posted Feb 23, 2021 04:16 PM

    Thanks for all the info Ivan.



  • 8.  RE: HPE 5900 Router(5900AF-48XG-4QSFP+)

    Posted Mar 10, 2021 09:36 AM

    probably get the current configuration of the 5900, create a template or script for the 5940  (regularly update it if there are any configuration changes) and save it. In case the production switch have any issue, you can just copy and paste the script to your 5940, that should minimize your downtime.



  • 9.  RE: HPE 5900 Router(5900AF-48XG-4QSFP+)

    Posted Feb 01, 2025 06:21 AM

    I have an issue with my 2 units - i want to reset them to manufactures default settings. 
    both 5940 

    running from system-view
    command reset saved-configuration backup 
    does not allow. 

    Is there a certain login profile I need to be using to perform this ...

    Thanks