cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2807
Views
0
Helpful
6
Replies

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

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

View solution in original post

6 Replies 6

Amit Aneja
Level 3
Level 3

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.

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

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

!

!

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

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.

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

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