Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 
Community Member

Importing configuration from main to backup switch.


I need help, i backuped the configuration of me main switch to .txt file be "Dowloand\Backup Configuration" and i have problem with importing this file to new switch. Can someone write me what should i do if i want to import this file? The switch is Cisco SG300-28.


Best reagrds 

Cisco Employee

The easiest method is to copy

The easiest method is to copy the contents of the text file back into the Global Config mode of your switch.  I've copied the instructions with the required commands below.  More can be found at the link at the bottom including ways to setup a TFTP server to backup and restore configurations.



  1. Connect to the switch/router that needs the configuration.

  2. Open the config.txt file.

  3. Highlight the entire contents of the config.txt file.

    You can do this by dragging the cursor from before the first character to after the last character in the file while holding down the left mouse button. Alternatively, if you use Notepad, you can choose Edit > Select All from the menu.

  4. Copy the selected text to the Windows clipboard.

    You can either choose Edit > Copy from the text editor menu, or hold down the CTRL key and simultaneously press the Ckey in order to perform the copy.

  5. Switch to the HyperTerminal window, and issue the configure terminal command at the Router# prompt. Then press Enter.

  6. Paste the configuration file into the router by selecting Edit > Paste to Host on the HyperTerminal menu.

  7. After the configuration has finished pasting and the router brings you back to the configuration prompt, issue the copy running-config startup-config command in order to write the configuration into memory.

  8. Issue the exit command in order to return to the Router# prompt.




Cisco Employee

Hello Iwegorzewski,first of

Hello Iwegorzewski,

first of all I would check the following things:

1. firmware and boot code of the switches are the same when the configuration is downloaded

2. both switches are set to the same layer 3 or layer 2 mode

3. try with tftp and http

4. pay attention to the error when testing



CreatePlease to create content