[c-nsp] display last lines of logging
Frank Bulk
frnkblk at iname.com
Sat May 26 13:20:57 EDT 2007
While we're making a list, include 'cut' and the ability to execute commands
based on the output.
Frank
-----Original Message-----
From: cisco-nsp-bounces at puck.nether.net
[mailto:cisco-nsp-bounces at puck.nether.net] On Behalf Of Rolf Mendelsohn
Sent: Friday, May 25, 2007 4:02 PM
To: cisco-nsp at puck.nether.net
Subject: Re: [c-nsp] display last lines of logging
Hi Guys,
What about porting/compiling? grep to IOS, surely it would be relatively
easy / complete way of getting all the little features which people want in
terms of output.
Aside from that most people know how to use grep.
Also good would be less running-config.
cheers
/rolf
On Friday 25 May 2007 18:27:28 Rodney Dunn wrote:
> On Thu, May 24, 2007 at 12:07:50PM -0300, Murilo Antonio Pugliese wrote:
> > Rodney.
> >
> > May I issue all at any platform, despite the router utilization, without
> > run any risk?
>
> Yes. That's one of the benefits of the event trace stuff.
> It's just displaying what's already saved.
>
> > I mean, without generate any unavailability due this command (despite
> > its keywords).
> >
> >
> > -----Original Message-----
> > From: cisco-nsp-bounces at puck.nether.net
> > [mailto:cisco-nsp-bounces at puck.nether.net] On Behalf Of Rodney Dunn
> > Sent: Thursday, May 24, 2007 11:48 AM
> > To: Tassos Chatzithomaoglou
> > Cc: cisco-nsp
> > Subject: Re: [c-nsp] display last lines of logging
> >
> > Good suggestion. Let me see if I can convince development to code it.
> >
> > We have some of those things with the event log infrastructure already.
> >
> > UUT_#sh monitor event-trace ssm ?
> > all Show all the traces in current buffer
> > back Show trace from this far back in the past
> > clock Show trace from a specific clock time/date
> > from-boot Show trace from this many seconds after booting
> > latest Show latest trace events since last display
> > parameters Paramters of the trace
> >
> > On Thu, May 24, 2007 at 05:26:01PM +0300, Tassos Chatzithomaoglou wrote:
> > > I was wondering....
> > >
> > > Is there a way to display the x last lines of the log of a router
> >
> > (through the cli) ?
> >
> > > Like the CatOS "sh logging buffer -x" is doing.
> > >
> > >
> > > --
> > > Tassos
_______________________________________________
cisco-nsp mailing list cisco-nsp at puck.nether.net
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/
More information about the cisco-nsp
mailing list