- Community Home
- >
- Networking
- >
- Switching and Routing
- >
- LAN Routing
- >
- HPE 5900 Router(5900AF-48XG-4QSFP+)
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-23-2021 11:40 AM - last edited on тАО03-02-2021 08:51 PM by Parvez_Admin
тАО02-23-2021 11:40 AM - last edited on тАО03-02-2021 08:51 PM by Parvez_Admin
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
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-23-2021 11:57 AM
тАО02-23-2021 11:57 AM
Re: HP 5900 Router(5900AF-48XG-4QSFP+)
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.
I'm not an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-23-2021 12:12 PM
тАО02-23-2021 12:12 PM
Re: HP 5900 Router(5900AF-48XG-4QSFP+)
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-23-2021 12:26 PM
тАО02-23-2021 12:26 PM
Re: HP 5900 Router(5900AF-48XG-4QSFP+)
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-23-2021 12:33 PM
тАО02-23-2021 12:33 PM
Re: HP 5900 Router(5900AF-48XG-4QSFP+)
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-23-2021 12:49 PM
тАО02-23-2021 12:49 PM
SolutionI 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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-23-2021 01:16 PM
тАО02-23-2021 01:16 PM
Re: HP 5900 Router(5900AF-48XG-4QSFP+)
Thanks for all the info Ivan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2021 06:36 AM
тАО03-10-2021 06:36 AM
Re: HP 5900 Router(5900AF-48XG-4QSFP+)
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.