Re: Kill/Stop/Restart a Router Process?

From: Eric Osborne (eosborne@cisco.com)
Date: Thu Nov 29 2001 - 20:15:04 EST


On Thu, Nov 29, 2001 at 06:24:10PM -0500, Jared Mauch wrote:
> Good question.
>
> Cisco does not provide the ability to do
> something like:
>
> Router#restart snmp ?
> Possible completions:
> <[Enter]> Execute this command
> gracefully Gracefully restart the daemon
> immediately Immediately restart (SIGKILL) the daemon
> soft Soft reset (SIGHUP) the daemon
>
> You need to reload.
>
> It would be nice if they did provide such a facility.

It's tricky, because processes aren't as self-contained and
independent as they are on your favorite Unix-type platforms.

One thing that often works is

- remove the bits of config enabling your specific process (snmp, in
this case) from the config, thereby stopping the process
- DO NOT WRITE THE CONFIG
- exit from config mode, do 'conf mem'

should be good to go. Back before 'clear ip ospf process' that's how
one would thwap OSPF; same method works for other stuff.

eric





This archive was generated by hypermail 2b29 : Sun Aug 04 2002 - 04:13:25 EDT