08-18-2011 12:08 PM - edited 03-07-2019 01:46 AM
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
Solved! Go to Solution.
08-18-2011 01:47 PM
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:
Regards,
Amit
08-18-2011 12:53 PM
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.
08-18-2011 01:21 PM
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
08-18-2011 01:22 PM
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
!
!
08-18-2011 01:25 PM
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
08-18-2011 01:40 PM
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.
08-18-2011 01:47 PM
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:
Regards,
Amit
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide