Boot L2 switch to different config

Answered Question
Jul 16th, 2010

Hi,

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.

Thanks

I have this problem too.
0 votes
Correct Answer by Leo Laohoo about 6 years 6 months ago

Sure.

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.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Correct Answer
Leo Laohoo Sat, 07/17/2010 - 00:00

Sure.

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.

Actions

This Discussion