Restore Cisco Config file to a different Switch (Same model) Error Message “invalid input detected”
Problem:
restoring the switch config back to the same switch (or a different switch but same model) getting the following error:
BE53F687 895F9838 903D0EB1 CCAAE21A 9E469F58 822D81C7 71F60E02 8AA59F35
^
% Invalid input detected at ‘^’ marker.
25470847 E9CB8EA1 F41B5A59 3F68A7F2 23F23464 B889278F 1B981AA9 1C7EFD62
^
% Invalid input detected at ‘^’ marker.
F40E531C B06188A8 C32365FE C06786E8 0792BE2B 69DA5FFA 1D43E317 DD97DC84 F3
^
% Invalid input detected at ‘^’ marker.
quit
^
% Invalid input detected at ‘^’ marker.
8235 bytes copied in 85.270 secs (97 bytes/sec)
Solutions:
need to generate a new crypto key after restoring the switch
conf t
crypto key generate rsa modulus 2048