I have a Catalyst 4006 switch in production and a spare switch of same model. I have to quickly copy the configuration from production switch to spare switch (both L2 and L3 configurations) How do I do that? Appreciate your response.
You can try with the following Mainline Back up and Restore Configuration Files,
Hope this helps!
So it's the same model with exactly the same linecards in the same slots ?
If so yes you can cut and paste but i wouldn't try pasting it all at once as this can overload the switch. Just do it about 30 lines or so at a time, it's still going to be pretty quick to do.
A lot depends on whether you have the same modules in the spare switch.
If you do and it is exactly the same then the easiset thing to do is either -
1) copy the config off the live switch and paste it back into the spare switch
2) if you have a tftp server handy then copy the live switch config(s) to the tftp server and then configure an IP address/default-gateway on the 4006 and tftp the config from the tftp server.
Note, if the modules are not exactly the same then you will need to sort out the L2 config by hand.