Remotely administering switches is very handy until you input a command and hit enter and then…nothing. You’ve done something to drop the connection that you had held so dear.
Usually the only thing to do in that situation is to get up and walk to the switch and either fix the problem or restart it and let the saved configuration come back.
But there is a better way. Set a reboot timeout before you make any changes and unless you cancel it, the switch will reboot after a certain amount of time.
To do this, you use the command
reload in 5
You can write the running config by using
wr mem to make sure that you have a
saved configuration that you are happy with.
show reload will tell you how long
is left on the reload that you set before. If you need more time, just issue the
command again. To cancel it, use