Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

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

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

1 ACCEPTED SOLUTION

Accepted Solutions
Bronze

Cisco 3560 v2Series 24 port Simple....copy config from one switc

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

6 REPLIES
Bronze

Cisco 3560 v2Series 24 port Simple....copy config from one switc

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.

New Member

Re: Cisco 3560 v2Series 24 port Simple....copy config from one s

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

New Member

Re: Cisco 3560 v2Series 24 port Simple....copy config from one s

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

!

!

New Member

Re: Cisco 3560 v2Series 24 port Simple....copy config from one s

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

Purple

Cisco 3560 v2Series 24 port Simple....copy config from one switc

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.

Don't forget to rate helpful posts.
Bronze

Cisco 3560 v2Series 24 port Simple....copy config from one switc

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

2044
Views
0
Helpful
6
Replies
CreatePlease to create content