copying config from one switch to another

Answered Question
Jun 10th, 2011

hi,

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

Kindly help on this.

I have this problem too.
0 votes
Correct Answer by garapoglou about 2 years 10 months ago

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

Correct Answer by fgasimzade about 2 years 10 months ago

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

  • 1
  • 2
  • 3
  • 4
  • 5
Average Rating: 0 (2 ratings)
Correct Answer
fgasimzade Fri, 06/10/2011 - 03:15

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

Correct Answer
garapoglou Fri, 06/10/2011 - 03:17

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

fgasimzade Tue, 06/14/2011 - 04:16

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

garapoglou Tue, 06/14/2011 - 04:23

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

Cadet Alain Tue, 06/14/2011 - 06:00

Hi,

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

Regards.

Alain.

vishalpatil86 Tue, 06/14/2011 - 06:14
  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
garapoglou Tue, 06/14/2011 - 06:30

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

Giorgos

garapoglou Tue, 06/14/2011 - 22:59

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

Giorgos

garapoglou Wed, 06/15/2011 - 02:00

It should work 100% this way.

I would try it on another PC if I were you.

Giorgos

Actions

Login or Register to take actions

This Discussion

Posted June 10, 2011 at 3:05 AM
Stats:
Replies:16 Avg. Rating:
Views:5181 Votes:0
Shares:0
Tags: No tags.

Discussions Leaderboard

Rank Username Points
1 15,007
2 8,150
3 7,730
4 7,083
5 6,742
Rank Username Points
165
82
70
69
55