Which memory does "logging bufferred" write to

Answered Question
Jun 25th, 2009

I have never really understood this so I wanted to publish the question this morning.

Which memory on a router/switch does the "logging buffered". I would guess that it is the main memory displayed in the line:

Cisco 3845 (revision 1.0) with 484351K/39936K bytes of memory.

Is this correct?


I have this problem too.
0 votes
Correct Answer by Collin Clark about 7 years 3 months ago

Typically, logging messages are stored in a router's memory buffer; when the buffer is full, older messages are overwritten by new messages.


Hope that helps.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (2 ratings)
Edison Ortiz Thu, 06/25/2009 - 07:34

The logging buffered command makes use of the router's memory and per your output you have a router with 512MB DRAM.

If you type the command logging buffered without any argument, the buffer size will be 4096 and it can be verified with the 'show log' command.

You can also specify any size you want and it all depends on how much memory other services are consuming. It's not wise to create the buffer too big.

(config)#logging buffered ?

<4096-2147483647> Logging buffer size

(config)#logging buffered 8192

#sh log

Log Buffer (8192 bytes):




Kevin Melton Thu, 06/25/2009 - 07:59

That is why I was asking. Currently we have the command logging buffer 64000...

this is kinda large but should this not be OK since we have 512 MG or RAM??

thx Edision


This Discussion