Config back up and restore


Userlevel 2
Hi Could someone please help me with swithc back and restore. I did tftp uplaod of config file and named it new.cfg I then did :tftp get" on to another switch: X670V-48t.2 # ls -rw-r--r-- 1 admin admin 64370 May 14 16:40 new.cfg -rw-r--r-- 1 admin admin 64370 May 14 16:50 primary.cfg -rw-r--r-- 1 root root 187901 May 14 16:59 secondary.cfg drwxr-xr-x 2 root root 0 May 14 17:02 vmt Can someone please tell me why the command "use config new" will not work. I also made a copy of the config called primary.cfg. Put that on the switch too and over wrote the existing primary.cfg. When I reboot (saying no to save config) I just get setup wizard. Thanks Simon

13 replies

Userlevel 7
Take a look at the following link to see if it helps.
http://gtacknowledge.extremenetworks.com/articles/How_To/How-to-copy-a-configuration-to-a-new-switch
Userlevel 2
Hi Doug

Thanks for the response. I will give this a try, but are we saying that a basic TFTP of a config file does not work. We are working on a a large roll out of switches with hundreds of VLANs and lines of MSTP config. This really doesn't seem like an efficient and accurate way to backup and restore config files.
Regards

Simon
Userlevel 7
Hello Simon,

If something is not working with the commands provided I would suggest you contact the GTAC so we can assist you further.

http://gtacknowledge.extremenetworks.com/articles/How_To/How-to-contact-Extreme-Networks-Global-Technical-Assistance-Center-GTAC

On a side note, are you familiar with our Inventory Manager software that is part of NetSight? Check out the Inventory Manager section in the datasheet:
http://learn.extremenetworks.com/rs/extreme/images/NetSight-DS.pdf

It's a software tool that can do uploads/downloads across multiple switches with ease.

- Doug
Userlevel 2
Hi Doug i feel this is a little more simple than that. I thought one of the many experts on here could give me some guidance with config restoration.
Userlevel 1
This is interesting this never worked for me either I ended up copy & paste.

Any help would be great.

Thanks
Userlevel 4
Look at this once
=14182278#reply_14182278]https://community.extremenetworks.com/extreme/topics/restore_from_backup-10oqux?utm_source=notificat...
Userlevel 4
Hey Simon,

Did you upload the configuration via the upload configuration command or tftp put?

If tftp put you essentially have uploaded the configuration as a xml file. If you used the upload config command you are uploading as ASCII.

XML format you can tftp put the .cfg file to a switch and run the "use configuration " command.

However, if you uploaded the configuration as a ASCII format you would need to save this as a .xsf file and download to the switch. Once in the memory "ls" you should see the file with .xsf extension. At that point you must run the command "load script " Then save the configuration.

Let me know if you have any questions.
Userlevel 2
Hi Everyone

Thanks for the input.

Joe - That has done the trick, many thanks

Simon
@Doug Hyde , why do i have to Remove any existing configuration that may conflict with the new configurationremove old file() before pushing..... is there any better way..i do not want to remove , i dont need old file,just want use new file without factory resetting and removing all old config.thanks
Userlevel 4
Hey Ravi,

If I am understanding correctly, you have a configuration file but you would like to use a different configuration file. Is that correct?

If so, there is no need to remove the old .cfg files. Once you upload the new configuration file to the switch you can tell the switch to use the specified configuration file by running the command "use configuration ". You will then be prompted with the following:

"The selected configuration will take effect after the next switch reboot."

Once you issue the reboot command the switch will come up with the new configuration.

Please let me know if I'm misunderstanding your issue!
yes...you got me right...but in which format i should push file? .cfg file needs xml format!!
Userlevel 4
Ravi,

If you have a configuration that you would like to use from another switch the configuration can be uploaded using the "tftp" put" command. This will ensure the configuration retains the XML format allowing the file to remain with a .cfg file extension. Once the configuration has been uploaded it can then be transferred to the new switches using the "tftp get" command. Once the file has been transferred the "use configuration " command can be used as Joe previously mentioned.

-Andrew
hmm....i asked you some question on different forum 🙂 :)
thanks for reply

Reply