[c-nsp] display last lines of logging

Brad Gould bradley at internode.com.au
Wed May 30 11:33:35 EDT 2007


How about

rtr#sh log last <x>

where x=minutes?


Brad



Rodney Dunn wrote:
> 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/
> _______________________________________________
> 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/

-- 
Brad Gould, Network Engineer
Internode
PO Box 284, Rundle Mall 5000
Level 3, 132 Grenfell Street, Adelaide 5000
P: 08 8228 2999  F: 08 8235 6999
bradley at internode.com.au; http://www.internode.on.net/


More information about the cisco-nsp mailing list