Hone

Lessons · Network switches · being able to go back

The old switch is the rollback

A configured switch on a bench is a five-minute recovery; an erased one is a rebuild. It goes when the replacement has held for a week.

Hone is a place to practise programming. This is one of its lessons, written out in full and free to read without an account.

What it is for

The fastest way back from a swap that went wrong is the box that was working an hour ago. Wiping it on the night, or sending it back the same day, throws that away for no gain.

How to think about it

Leave it configured and saved, so it boots as itself if it goes back in. Then wipe it properly -- both files -- once the new one has proved itself.

Worked example

enable
In, on the box that is going out.
configure terminal
One last thing before it comes out of the rack.
hostname IDF3-OLD
Renamed, so nobody confuses the two if both end up powered on.
end
Out.
write memory
Saved, so it boots as itself if it has to go back in.

Your turn

Make the old switch boot as itself if it goes back in the rack.

write 

The trap

Erasing it on the night. It is the only rollback you have until the replacement has run for a while.

Practise being able to go back on HoneA question on it now, a coding challenge where there is one, and it is remembered for review. Free, no email needed.