From: Jay Hennigan (jay@xxxxxxxx)
Date: Thu May 31 2001 - 22:18:35 GMT-3
On Thu, 31 May 2001, Jeff K. wrote:
> Everyday I strive to learn at least one thing. Today's lesson was to be
> really sure that shutting down the Ethernet interface on your
> internet-connected terminal server is what you want to do when you are
> telnetted in from work. I have no idea what I was thinking -- would be great
> if there was an 'Oh crap' key on the keyboard for stuff like this. Oh well..
.
> At least it happened late in the day. Good time for a break I suppose. :-)
Actually there is one. But you need to use it before you screw up.
>From privileged exec mode:
"reload in <minutes>"
So make it like an hour. "reload in 60". You'll see a warning at five
minutes beforehand.
If you "commit suicide" by shutting down your connected interface or
otherwise breaking things, you won't be able to save your (mistaken)
last command. So go have a beer.
When the clock runs out, the router reboots to its last saved config.
"reload cancel" aborts the scheduled reboot.
I've always used this in the real world when configuring a remote router,
typically setting the timer to 20 minutes or so. If I screw up, things
are at least back to the way they were beforehand relatively quickly.
Where this is really helpful is on frame-relay circuits where telco is
changing the number of timeslots. Say you've got a 128K circuit you're
bumping to a T-1, and it's miles away. Get the telco on line, and ready
to make their change. Set the router to reload in 20 minutes. Then
change the timeslots on the service-module to 24. The instant you do
that' you're locked out. When telco changes their end you telnet back in,
cancel the reload, and write to memory.
If telco screws up, tell them to put it back the way it was, wait a few
minutes, and all is happy.
-- Jay Hennigan - Network Administration - jay@west.net NetLojix Communications, Inc. NASDAQ: NETX - http://www.netlojix.com/ WestNet: Connecting you to the planet. 805 884-6323 **Please read:http://www.groupstudy.com/list/posting.html
This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:30:58 GMT-3