Cisco 3560 v2Series 24 port Simple....copy config from one switch to another

Answered Question
Aug 18th, 2011

Ok this should be simple copy the config from one switch onto notepad and copy from notepad and paste into the switch.... same model etc...

Switch is new out of the box

enable

conf t

then paste

Right???  I keep getting invlaid marker errors when I am pasting in user logins also doing small chunks as I copy and paste

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

Not sure why it goes out from config to privilege mode, go into config mode again & copy/paste from "hostname".... Else easier way as Alain suggested, backup the config on a TFTP & copy the config from TFTP back to new router's flash.

Follow this link:

http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/products_tech_note09186a008020260d.shtml#backup

Regards,

Amit

  • 1
  • 2
  • 3
  • 4
  • 5
Average Rating: 5 (1 ratings)
amaneja Thu, 08/18/2011 - 12:53

Let's look at a chunk where you are getting the invalid input & see what's wrong.

Paste the o/p that you are getting.

navigatorvictory Thu, 08/18/2011 - 13:21

Would you like to enter the initial configuration dialog? [yes/no]: no

Switch>enable

Switch#conf t

Enter configuration commands, one per line.  End with CNTL/Z.

Switch(config)#!

Switch(config)#line con 0

Switch(config-line)# login local

Switch(config-line)#line vty 0 4

Switch(config-line)# exec-timeout 60 0

Switch(config-line)# logging synchronous

Switch(config-line)# login local

Switch(config-line)# length 0

Switch(config-line)#line vty 5 15

Switch(config-line)# exec-timeout 60 0

Switch(config-line)# logging synchronous

Switch(config-line)# login local

Switch(config-line)# length 0

Switch(config-line)#!

Switch(config-line)#ntp clock-period 36028469

Switch(config)#ntp server 10.93.250.9

Switch(config)#end

Switch#

Switch#Current configuration : 15856 bytes

        ^

% Invalid input detected at '^' marker.

Switch#

Switch#version 12.2

          ^

% Invalid input detected at '^' marker.

Switch#no service pad

          ^

% Invalid input detected at '^' marker.

Switch#service timestamps debug uptime

         ^

% Invalid input detected at '^' marker.

Switch#service timestamps log uptime

         ^

% Invalid input detected at '^' marker.

Switch#service password-encryption

         ^

% Invalid input detected at '^' marker.

Switch#!

Switch#hostname FGG150-SWITCH-4

        ^

% Invalid input detected at '^' marker.

Switch#!

Switch#boot-start-marker

Translating "boot-start-marker"...domain server (255.255.255.255)

% Unknown command or computer name, or unable to find computer address

Switch#boot-end-marker

Translating "boot-end-marker"...domain server (255.255.255.255)

% Unknown command or computer name, or unable to find computer address

Switch#!

*Mar  1 00:03:06.352: %SYS-5-CONFIG_I: Configured from console by console

navigatorvictory Thu, 08/18/2011 - 13:22

notepad version

!

line con 0

login local

line vty 0 4

exec-timeout 60 0

logging synchronous

login local

length 0

line vty 5 15

exec-timeout 60 0

logging synchronous

login local

length 0

!

ntp clock-period 36028469

ntp server 10.93.250.9

end

Current configuration : 15856 bytes

version 12.2

no service pad

service timestamps debug uptime

service timestamps log uptime

service password-encryption

!

hostname FGG150-SWITCH-4

!

boot-start-marker

boot-end-marker

!

!

navigatorvictory Thu, 08/18/2011 - 13:25

I took this part out

Current configuration : 15856 bytes

version 12.2

no service pad

service timestamps debug uptime

service timestamps log uptime

service password-encryption

Then it would not error at first but when it hit hostname it again did not like something

I thought all you had to do was go to old switch and do a show run copy what you see to notepad and go

Cadet Alain Thu, 08/18/2011 - 13:40

Hi,

The router was complaining because you were entering commands in the wrong mode.

Copying running to save it on a host is ok but other way is not the right way to do it as you saw.

just do a copy ftp:// xxxx   running or copy tftp:// xxxx running, it will be less troublesome.

Regards.

Alain.

Actions

Login or Register to take actions

This Discussion

Posted August 18, 2011 at 12:08 PM
Stats:
Replies:6 Avg. Rating:5
Views:1516 Votes:0
Shares:0
Tags: No tags.

Discussions Leaderboard

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