I have a layer 2 switch that I want to erase the startup config, and boot from a new config, different vlan ip, password, etc. I need to do this remotely, and via telnet, with no console access. Is there an easy way to do this with tftp, or modifying the boot parameters? Please advise.
Compile the new configuration into a .txt file and put it in the directory of your TFTP. Use the command "copy tftp:///.txt run".
When envoked from the switch, the file will copy to the running config of the switch. If you like it then save it. If you don't, make sure you have a command to reload the switch after "x" amount of minutes (command: reload in "x").
Hope this helps. Please don't forget to rate useful posts. Thanks.