From: Erick B. (erickbe@xxxxxxxxx)
Date: Sat Aug 19 2000 - 20:21:09 GMT-3
Possibly using a debug list pointing to a ACL, and the
ACL be time based. This needs a newer version of IOS.
I haven't tried this myself yet.
--- Brian Hescock <bhescock@cisco.com> wrote:
> Damien,
> Unless something has changed, scheduler only
> allows you to allocate cpu
> time by process-time, interrupt-time, and also set
> scheduler interval. To
> the best of my knowledge, it doesn't allow you to
> "schedule" turning
> debugs off after a certain amount of time. I justed
> checked a router
> running 12.1(2)T and didn't see any options for
> doing this with
> scheduler. Did I miss something?
>
> Brian
>
> On Wed, 9 Aug 2000, damien wrote:
>
> > Use the scheduler to turn on debug for a certain
> period.......
> > ----- Original Message -----
> > From: "Brian Hescock" <bhescock@cisco.com>
> > To: "cpchang" <cpchang@altavista.net>
> > Cc: <ccielab@groupstudy.com>
> > Sent: Wednesday, August 09, 2000 2:15 PM
> > Subject: Re: Does there any command turn off debug
> in a schedule time?
> >
> >
> > > Perry,
> > > I've recently heard of one or two specific
> debug commands that give you
> > > this functionality but it's only for those
> specific debug commands, it
> > > won't turn off all debugs after that time period
> (I don't know which
> > > specific debugs they are). As a workaround you
> can minimize the impact
> > > of the debugs by:
> > >
> > > - term no mon
> > > - no logging console (config mode)
> > > - logging buffered 5000 (config mode)
> > >
> > > Do a "show log" to see your debug output.
> > >
> > > You could also do a timed reload of the box to
> kill the debugs... say
> > > after 20 seconds... just kidding ;-) Have a
> good one,
> > >
> > > Brian
> > >
> > > On Wed, 9 Aug 2000, cpchang wrote:
> > >
> > > > Guys:
> > > > We all know when debug something in router, it
> may cause
> > > > the router output so many messages and use
> many CPU resource too.
> > > > So, I am just wondering is there any command
> that can turn OFF the
> > > > debug command in a schedule timing, for
> example 20 seconds later,
> > > > then turn off the debug itself. That would be
> very helpful.
This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 08:24:28 GMT-3