cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
120432
Views
5
Helpful
16
Replies

copying config from one switch to another

vishalpatil86
Level 1
Level 1

hi,

i have 2 PoE cisco 2960 switches. Need to copy config of one switch to anither.

Kindly help on this.

2 Accepted Solutions

Accepted Solutions

fgasimzade
Level 4
Level 4

You can copy your config from one switch to TFTP server, and then from TFTP to another switch

To copy your current config issue

copy startup-config tftp:

Follow the instruction

Then you are done, login to another switch and issue

copy tftp: startup-config

Follow the instructions

When you are done here, save your config with wr mem command and then either reload the switch or:

copy startup-config running-config

View solution in original post

garapoglou
Level 3
Level 3

Hi,

There are multiple ways you can do it:

Telnet the first switch, copy the configuration on a simple text file using the show run command and paste it in the text file. Then connect to the new switch using a serial connection, go to the global configuration mode and paste the configuration to it.

Alternatively you can use a TFTP server.

Let us know if you need further information concerning the commands needed or something else. In case those two switches are planned to work together, you need to change some things, like IP addresses, hostnames etc.

Good luck,

Giorgos

View solution in original post

16 Replies 16

fgasimzade
Level 4
Level 4

You can copy your config from one switch to TFTP server, and then from TFTP to another switch

To copy your current config issue

copy startup-config tftp:

Follow the instruction

Then you are done, login to another switch and issue

copy tftp: startup-config

Follow the instructions

When you are done here, save your config with wr mem command and then either reload the switch or:

copy startup-config running-config

garapoglou
Level 3
Level 3

Hi,

There are multiple ways you can do it:

Telnet the first switch, copy the configuration on a simple text file using the show run command and paste it in the text file. Then connect to the new switch using a serial connection, go to the global configuration mode and paste the configuration to it.

Alternatively you can use a TFTP server.

Let us know if you need further information concerning the commands needed or something else. In case those two switches are planned to work together, you need to change some things, like IP addresses, hostnames etc.

Good luck,

Giorgos

Tahnk you.

You're welcome!

hi again,

i tried copying from text file to switch. But its not working.

Make sure the interface name are exactly the same like FastEthernet0/4 or FastEthernet1/0/4

If they are different on these switches, then you will have to manually edit txt file before copying it to the new switch

Hi,

What's exactly happening when you copy the configuration from the text file. Did you notice any error messages during the procedure?

Best regards,

Giorgos

no, i am getting no any error....its just not happening

Hi,

explain what you are doing exactly on  each switch and PC.

Regards.

Alain.

Don't forget to rate helpful posts.

Are you on global config mode?

Giorgos

  1. copied config of one 2960 switch in text file
  2. opened console of another 2960 switch
  3. went to global config mode
  4. pasted that previously copied config from text file

Just paste it using the mouse (right-click and paste) and not the keyboard shortcut Ctrl-V.

Giorgos

hi

dats wat i did...

Which terminal emulator did you use? HyperTerminal, Putty...?

Giorgos

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco